Enum CertificateUsageType

java.lang.Object
java.lang.Enum<CertificateUsageType>
de.xima.fc.certificate.provider.CertificateUsageType
All Implemented Interfaces:
Serializable, Comparable<CertificateUsageType>

public enum CertificateUsageType extends Enum<CertificateUsageType> implements Serializable
The usage type of certificate.
  • Enum Constant Details

    • CERTIFICATE_AUTHORITY

      public static final CertificateUsageType CERTIFICATE_AUTHORITY
      Certificate Authority (CA) certificate. This type of certificate is used to sign other certificates.
    • SERVER_AUTH

      public static final CertificateUsageType SERVER_AUTH
      TLS Web Server Authentication
    • CLIENT_AUTH

      public static final CertificateUsageType CLIENT_AUTH
      TLS Web Client Authentication
    • DOCUMENT_SIGNING

      public static final CertificateUsageType DOCUMENT_SIGNING
      Document Signing
    • ADOBE_PDF_SIGNING

      public static final CertificateUsageType ADOBE_PDF_SIGNING
      Adobe PDF Signing
    • CODE_SIGNING

      public static final CertificateUsageType CODE_SIGNING
      Code Signing
    • EMAIL_PROTECTION

      public static final CertificateUsageType EMAIL_PROTECTION
      E-mail Protection
  • Method Details

    • values

      public static CertificateUsageType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static CertificateUsageType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null