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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe certificate chain and the private key are stored in a single PEM file.A single certificate/private key pair is generated in place and self signed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CertificateSupplierModule.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
-
SELF_SIGNED
A single certificate/private key pair is generated in place and self signed. Used in tests.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-