Enum Class Permission.ResourceType
- All Implemented Interfaces:
Serializable, Comparable<Permission.ResourceType>, Constable
- Enclosing class:
Permission
Security resource types, distinct from PKI authority ownership.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACME account.ACME directory configuration.Approval request.Audit data.Logical certificate authority.Backup archive.Break-glass authorization.Delegated disclosure capability.Issued certificate.CMP endpoint configuration.Disclosure configuration or result.Enrollment profile configuration.Durable protocol enrollment transaction and independent approval.EST endpoint configuration.Permission grant.Authority issuer generation.OCSP responder configuration.Security or issuance policy.Security principal.Certificate profile.Publication operation or target.Security realm.Public repository alias.Certificate request.Restore operation.Revocation state.Role definition.SCEP endpoint configuration.Server configuration.Generated status object.Status-generation schedule configuration.X.509 representation binding. -
Method Summary
Modifier and TypeMethodDescriptionintcode()Returns the stable persistence code.static Permission.ResourceTypefromCode(int code) Resolves a stable persistence code.static Permission.ResourceTypeReturns the enum constant of this class with the specified name.static Permission.ResourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REALM
Security realm. -
SERVER_CONFIGURATION
Server configuration. -
PRINCIPAL
Security principal. -
ROLE
Role definition. -
GRANT
Permission grant. -
AUTHORITY
Logical certificate authority. -
ISSUER
Authority issuer generation. -
PROFILE
Certificate profile. -
POLICY
Security or issuance policy. -
X509_BINDING
X.509 representation binding. -
REQUEST
Certificate request. -
CERTIFICATE
Issued certificate. -
REVOCATION
Revocation state. -
STATUS_OBJECT
Generated status object. -
PUBLICATION
Publication operation or target. -
AUDIT
Audit data. -
BACKUP
Backup archive. -
RESTORE
Restore operation. -
DISCLOSURE
Disclosure configuration or result. -
CAPABILITY
Delegated disclosure capability. -
APPROVAL
Approval request. -
BREAK_GLASS
Break-glass authorization. -
REPOSITORY_ALIAS
Public repository alias. -
ACME_DIRECTORY
ACME directory configuration. -
ACME_ACCOUNT
ACME account. -
OCSP_RESPONDER
OCSP responder configuration. -
EST_ENDPOINT
EST endpoint configuration. -
SCEP_ENDPOINT
SCEP endpoint configuration. -
CMP_ENDPOINT
CMP endpoint configuration. -
ENROLLMENT_PROFILE
Enrollment profile configuration. -
STATUS_SCHEDULE
Status-generation schedule configuration. -
ENROLLMENT_REQUEST
Durable protocol enrollment transaction and independent approval.
-
-
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:
- stable code
-
fromCode
Resolves a stable persistence code.- Parameters:
code- persisted resource-type code- Returns:
- corresponding resource type
-