Package org.forgerock.opendj.security
Enum Class X509CertificateBuilder.KeyUsage
java.lang.Object
java.lang.Enum<X509CertificateBuilder.KeyUsage>
org.forgerock.opendj.security.X509CertificateBuilder.KeyUsage
- All Implemented Interfaces:
Serializable
,Comparable<X509CertificateBuilder.KeyUsage>
,java.lang.constant.Constable
- Enclosing class:
- X509CertificateBuilder
An enumeration of key usages. The items are written in the same order as they should appear in the bitstring.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionVerify signatures on certificate revocation lists.Direct enciphering of raw user data without the use of an intermediate symmetric cipher.Indicates that the key may be used only for deciphering data while performing key agreement.Verify digital signatures other than signatures on certificates and certificate revocation lists.Indicates that the key may be used only for enciphering data while performing key agreement.Perform key agreement.Verify signatures on public key certificates.Encipher private or secret keys, i.e., for key transport.Verify digital signatures other than signatures on certificates and certificate revocation lists, used to provide a non-repudiation service that protects against the signing entity falsely denying some action. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static X509CertificateBuilder.KeyUsage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIGITAL_SIGNATURE
Verify digital signatures other than signatures on certificates and certificate revocation lists. -
NON_REPUDIATION
Verify digital signatures other than signatures on certificates and certificate revocation lists, used to provide a non-repudiation service that protects against the signing entity falsely denying some action. -
KEY_ENCIPHERMENT
Encipher private or secret keys, i.e., for key transport. -
DATA_ENCIPHERMENT
Direct enciphering of raw user data without the use of an intermediate symmetric cipher. -
KEY_AGREEMENT
Perform key agreement. -
KEY_CERT_SIGN
Verify signatures on public key certificates. -
CRL_SIGN
Verify signatures on certificate revocation lists. -
ENCIPHER_ONLY
Indicates that the key may be used only for enciphering data while performing key agreement. Must be used in conjunction withKEY_AGREEMENT
. -
DECIPHER_ONLY
Indicates that the key may be used only for deciphering data while performing key agreement. Must be used in conjunction withKEY_AGREEMENT
.
-
-
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
-