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

public static enum X509CertificateBuilder.KeyUsage extends Enum<X509CertificateBuilder.KeyUsage>
An enumeration of key usages. The items are written in the same order as they should appear in the bitstring.
  • Enum Constant Details

    • DIGITAL_SIGNATURE

      public static final X509CertificateBuilder.KeyUsage DIGITAL_SIGNATURE
      Verify digital signatures other than signatures on certificates and certificate revocation lists.
    • NON_REPUDIATION

      public static final X509CertificateBuilder.KeyUsage 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

      public static final X509CertificateBuilder.KeyUsage KEY_ENCIPHERMENT
      Encipher private or secret keys, i.e., for key transport.
    • DATA_ENCIPHERMENT

      public static final X509CertificateBuilder.KeyUsage DATA_ENCIPHERMENT
      Direct enciphering of raw user data without the use of an intermediate symmetric cipher.
    • KEY_AGREEMENT

      public static final X509CertificateBuilder.KeyUsage KEY_AGREEMENT
      Perform key agreement.
    • KEY_CERT_SIGN

      public static final X509CertificateBuilder.KeyUsage KEY_CERT_SIGN
      Verify signatures on public key certificates.
    • CRL_SIGN

      public static final X509CertificateBuilder.KeyUsage CRL_SIGN
      Verify signatures on certificate revocation lists.
    • ENCIPHER_ONLY

      public static final X509CertificateBuilder.KeyUsage ENCIPHER_ONLY
      Indicates that the key may be used only for enciphering data while performing key agreement. Must be used in conjunction with KEY_AGREEMENT.
    • DECIPHER_ONLY

      public static final X509CertificateBuilder.KeyUsage DECIPHER_ONLY
      Indicates that the key may be used only for deciphering data while performing key agreement. Must be used in conjunction with KEY_AGREEMENT.
  • Method Details

    • values

      public static X509CertificateBuilder.KeyUsage[] 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

      public static X509CertificateBuilder.KeyUsage valueOf(String name)
      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 name
      NullPointerException - if the argument is null