Enum Class OperationSecurityDescriptors.ApprovalCategory
java.lang.Object
java.lang.Enum<OperationSecurityDescriptors.ApprovalCategory>
zeroecho.pki.server.OperationSecurityDescriptors.ApprovalCategory
- All Implemented Interfaces:
Serializable, Comparable<OperationSecurityDescriptors.ApprovalCategory>, Constable
- Enclosing class:
OperationSecurityDescriptors
public static enum OperationSecurityDescriptors.ApprovalCategory
extends Enum<OperationSecurityDescriptors.ApprovalCategory>
Approval treatment for one operation.
HIGH_RISK is the realm-wide dual-control category for
administratively high-risk operations (for example authority creation and
grant-conditioned revocation). ISSUANCE_SINGLE and
ISSUANCE_THRESHOLD are selected dynamically per end-entity issuance
from the resolved certificate profile's
IssuanceApprovalRequirement: they are never
attached statically to a descriptor, because whether issuance needs approval
depends on the profile, not the operation identity.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRealm-wide high-risk dual control applies.Profile-selected single approval applies.Profile-selected threshold approval applies.No approval workflow is required. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No approval workflow is required. -
HIGH_RISK
Realm-wide high-risk dual control applies. -
ISSUANCE_SINGLE
Profile-selected single approval applies. -
ISSUANCE_THRESHOLD
Profile-selected threshold approval applies.
-
-
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
-