Enum Class CertificateSupplierModule.Mode

java.lang.Object
java.lang.Enum<CertificateSupplierModule.Mode>
google.registry.networking.module.CertificateSupplierModule.Mode
All Implemented Interfaces:
Serializable, Comparable<CertificateSupplierModule.Mode>, Constable
Enclosing class:
CertificateSupplierModule

public static enum CertificateSupplierModule.Mode extends Enum<CertificateSupplierModule.Mode>
  • Enum Constant Details

    • PEM_FILE

      public static final CertificateSupplierModule.Mode PEM_FILE
      The certificate chain and the private key are stored in a single PEM file.

      Both certificates and private key are Base64 encoded and the single PEM file is generated by concatenating each ASCII-armored block. The private key can appear anywhere in the list but the certificates must appear in order, i. e. the next certificate's subject is the previous certificates's issuer.

      See Also:
    • P12_FILE

      public static final CertificateSupplierModule.Mode P12_FILE
    • SELF_SIGNED

      public static final CertificateSupplierModule.Mode SELF_SIGNED
      A single certificate/private key pair is generated in place and self signed. Used in tests.
  • Method Details

    • values

      public static CertificateSupplierModule.Mode[] 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 CertificateSupplierModule.Mode 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