Enum Class OcspResponderService.SigningMode
java.lang.Object
java.lang.Enum<OcspResponderService.SigningMode>
zeroecho.pki.server.OcspResponderService.SigningMode
- All Implemented Interfaces:
Serializable, Comparable<OcspResponderService.SigningMode>, Constable
- Enclosing class:
OcspResponderService
Exact signing authority.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUses an issuer-authorized delegated responder certificate and key.Uses the issuer certificate and key directly. -
Method Summary
Modifier and TypeMethodDescriptionintcode()Returns the stable persistence code.fromCode(int code) Resolves an exact stable code.Returns the enum constant of this class with the specified name.static OcspResponderService.SigningMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISSUER_SIGNED
Uses the issuer certificate and key directly. -
DELEGATED_RESPONDER
Uses an issuer-authorized delegated responder certificate and key.
-
-
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
-
code
public int code()Returns the stable persistence code.- Returns:
- encoded value
-
fromCode
Resolves an exact stable code.- Parameters:
code- persisted signing-mode code- Returns:
- corresponding signing mode
-