Enum Class EPeppolServiceDomain

java.lang.Object
java.lang.Enum<EPeppolServiceDomain>
com.helger.peppol.servicedomain.EPeppolServiceDomain
All Implemented Interfaces:
com.helger.base.id.IHasID<String>, IPeppolServiceDomain, Serializable, Comparable<EPeppolServiceDomain>, Constable

public enum EPeppolServiceDomain extends Enum<EPeppolServiceDomain> implements IPeppolServiceDomain
This enum lists all the Peppol Service Domains. The additional information are primarily around the required certificates.
Since:
9.6.0
Author:
Philip Helger
  • Enum Constant Details

    • POST_AWARD

      public static final EPeppolServiceDomain POST_AWARD
      Managed by PoAC
    • PRE_AWARD

      public static final EPeppolServiceDomain PRE_AWARD
      Managed by PrAC
    • ENHANCED_B2B

      public static final EPeppolServiceDomain ENHANCED_B2B
      Enhanced B2B for Peppol-GENA bridge. On May 13th, 2025 it was publicly announced, that eB2B will share the Post Award certificates.
  • Method Details

    • values

      public static EPeppolServiceDomain[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EPeppolServiceDomain valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getID

      @Nonempty public @NonNull @Nonempty String getID()
      Specified by:
      getID in interface com.helger.base.id.IHasID<String>
    • getTestAPChecker

      public @Nullable com.helger.security.certificate.TrustedCAChecker getTestAPChecker()
      Specified by:
      getTestAPChecker in interface IPeppolServiceDomain
    • getProdAPChecker

      public @Nullable com.helger.security.certificate.TrustedCAChecker getProdAPChecker()
      Specified by:
      getProdAPChecker in interface IPeppolServiceDomain
    • getTestSMPChecker

      public @Nullable com.helger.security.certificate.TrustedCAChecker getTestSMPChecker()
      Specified by:
      getTestSMPChecker in interface IPeppolServiceDomain
    • getProdSMPChecker

      public @Nullable com.helger.security.certificate.TrustedCAChecker getProdSMPChecker()
      Specified by:
      getProdSMPChecker in interface IPeppolServiceDomain
    • getFromIDOrNull

      public static @Nullable EPeppolServiceDomain getFromIDOrNull(@Nullable String sID)