Enum CertificateExtensionEnum

java.lang.Object
java.lang.Enum<CertificateExtensionEnum>
eu.europa.esig.dss.enumerations.CertificateExtensionEnum
All Implemented Interfaces:
OidBasedEnum, OidDescription, Serializable, Comparable<CertificateExtensionEnum>

public enum CertificateExtensionEnum extends Enum<CertificateExtensionEnum> implements OidDescription
Contains enumeration of certificate extensions supported by the application
  • Enum Constant Details

    • AUTHORITY_KEY_IDENTIFIER

      public static final CertificateExtensionEnum AUTHORITY_KEY_IDENTIFIER
      4.2.1.1. Authority Key Identifier. id-ce-authorityKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 35 } AuthorityKeyIdentifier ::= SEQUENCE { keyIdentifier [0] KeyIdentifier OPTIONAL, authorityCertIssuer [1] GeneralNames OPTIONAL, authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
    • SUBJECT_KEY_IDENTIFIER

      public static final CertificateExtensionEnum SUBJECT_KEY_IDENTIFIER
      4.2.1.2. Subject Key Identifier id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 14 } SubjectKeyIdentifier ::= KeyIdentifier
    • KEY_USAGE

      public static final CertificateExtensionEnum KEY_USAGE
      4.2.1.3. Key Usage id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 } KeyUsage ::= BIT STRING
    • PRIVATE_KEY_USAGE_PERIOD

      public static final CertificateExtensionEnum PRIVATE_KEY_USAGE_PERIOD
      RFC 3280. 4.2.1.4 Private Key Usage Period (deprecated) id-ce-privateKeyUsagePeriod OBJECT IDENTIFIER ::= { id-ce 16 } PrivateKeyUsagePeriod ::= SEQUENCE { notBefore [0] GeneralizedTime OPTIONAL, notAfter [1] GeneralizedTime OPTIONAL }
    • CERTIFICATE_POLICIES

      public static final CertificateExtensionEnum CERTIFICATE_POLICIES
      4.2.1.4. Certificate Policies id-ce-certificatePolicies OBJECT IDENTIFIER ::= { id-ce 32 } certificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation
    • POLICY_MAPPINGS

      public static final CertificateExtensionEnum POLICY_MAPPINGS
      4.2.1.5. Policy Mappings id-ce-policyMappings OBJECT IDENTIFIER ::= { id-ce 33 } PolicyMappings ::= SEQUENCE SIZE (1..MAX) OF SEQUENCE { issuerDomainPolicy CertPolicyId, subjectDomainPolicy CertPolicyId }
    • SUBJECT_ALTERNATIVE_NAME

      public static final CertificateExtensionEnum SUBJECT_ALTERNATIVE_NAME
      4.2.1.6. Subject Alternative Name id-ce-subjectAltName OBJECT IDENTIFIER ::= { id-ce 17 } SubjectAltName ::= GeneralNames
    • ISSUER_ALTERNATIVE_NAME

      public static final CertificateExtensionEnum ISSUER_ALTERNATIVE_NAME
      4.2.1.7. Issuer Alternative Name id-ce-issuerAltName OBJECT IDENTIFIER ::= { id-ce 18 } IssuerAltName ::= GeneralNames
    • SUBJECT_DIRECTORY_ATTRIBUTES

      public static final CertificateExtensionEnum SUBJECT_DIRECTORY_ATTRIBUTES
      4.2.1.8. Subject Directory Attributes id-ce-subjectDirectoryAttributes OBJECT IDENTIFIER ::= { id-ce 9 } SubjectDirectoryAttributes ::= SEQUENCE SIZE (1..MAX) OF Attribute
    • BASIC_CONSTRAINTS

      public static final CertificateExtensionEnum BASIC_CONSTRAINTS
      4.2.1.9. Basic Constraints id-ce-basicConstraints OBJECT IDENTIFIER ::= { id-ce 19 } BasicConstraints ::= SEQUENCE { cA BOOLEAN DEFAULT FALSE, pathLenConstraint INTEGER (0..MAX) OPTIONAL }
    • NAME_CONSTRAINTS

      public static final CertificateExtensionEnum NAME_CONSTRAINTS
      4.2.1.10. Name Constraints id-ce-nameConstraints OBJECT IDENTIFIER ::= { id-ce 30 } NameConstraints ::= SEQUENCE { permittedSubtrees [0] GeneralSubtrees OPTIONAL, excludedSubtrees [1] GeneralSubtrees OPTIONAL }
    • POLICY_CONSTRAINTS

      public static final CertificateExtensionEnum POLICY_CONSTRAINTS
      4.2.1.11. Policy Constraints id-ce-policyConstraints OBJECT IDENTIFIER ::= { id-ce 36 } PolicyConstraints ::= SEQUENCE { requireExplicitPolicy [0] SkipCerts OPTIONAL, inhibitPolicyMapping [1] SkipCerts OPTIONAL }
    • EXTENDED_KEY_USAGE

      public static final CertificateExtensionEnum EXTENDED_KEY_USAGE
      4.2.1.12. Extended Key Usage anyExtendedKeyUsage OBJECT IDENTIFIER ::= { id-ce-extKeyUsage 0 } id-kp OBJECT IDENTIFIER ::= { id-pkix 3 }
    • CRL_DISTRIBUTION_POINTS

      public static final CertificateExtensionEnum CRL_DISTRIBUTION_POINTS
      4.2.1.13. CRL Distribution Points id-ce-cRLDistributionPoints OBJECT IDENTIFIER ::= { id-ce 31 } CRLDistributionPoints ::= SEQUENCE SIZE (1..MAX) OF DistributionPoint
    • INHIBIT_ANY_POLICY

      public static final CertificateExtensionEnum INHIBIT_ANY_POLICY
      4.2.1.14. Inhibit anyPolicy id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= { id-ce 54 } InhibitAnyPolicy ::= SkipCerts
    • FRESHEST_CRL

      public static final CertificateExtensionEnum FRESHEST_CRL
      4.2.1.15. Freshest CRL (a.k.a. Delta CRL Distribution Point) id-ce-freshestCRL OBJECT IDENTIFIER ::= { id-ce 46 } FreshestCRL ::= CRLDistributionPoints
    • AUTHORITY_INFORMATION_ACCESS

      public static final CertificateExtensionEnum AUTHORITY_INFORMATION_ACCESS
      4.2.2.1. Authority Information Access id-pe-authorityInfoAccess OBJECT IDENTIFIER ::= { id-pe 1 } AuthorityInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
    • SUBJECT_INFORMATION_ACCESS

      public static final CertificateExtensionEnum SUBJECT_INFORMATION_ACCESS
      4.2.2.2. Subject Information Access id-pe-subjectInfoAccess OBJECT IDENTIFIER ::= { id-pe 11 } SubjectInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription
    • OCSP_NOCHECK

      public static final CertificateExtensionEnum OCSP_NOCHECK
      RFC 6960. 4.2.2.2.1. Revocation Checking of an Authorized Responder id-pkix-ocsp-nocheck OBJECT IDENTIFIER ::= { id-pkix-ocsp 5 } ext-ocsp-nocheck EXTENSION ::= { SYNTAX NULL IDENTIFIED BY id-pkix-ocsp-nocheck }
    • VALIDITY_ASSURED_SHORT_TERM

      public static final CertificateExtensionEnum VALIDITY_ASSURED_SHORT_TERM
      ETSI EN 319 412-1 id-etsi-ext-valassured-ST-certs OBJECT IDENTIFIER ::= { id-etsi-ext 1 } ext-etsi-valassured-ST-certs EXTENSION ::= { SYNTAX NULL IDENTIFIED BY id-etsi-ext-valassured-ST-certs }
    • BIOMETRIC_INFORMATION

      public static final CertificateExtensionEnum BIOMETRIC_INFORMATION
      RFC 3739. 3.2.5. Biometric Information id-pe-biometricInfo OBJECT IDENTIFIER ::= {id-pe 2} BiometricSyntax ::= SEQUENCE OF BiometricData
    • QC_STATEMENTS

      public static final CertificateExtensionEnum QC_STATEMENTS
      RFC 3739. 3.2.6. Qualified Certificate Statements id-pe-qcStatements OBJECT IDENTIFIER ::= { id-pe 3 } QCStatements ::= SEQUENCE OF QCStatement
  • Method Details

    • values

      public static CertificateExtensionEnum[] 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 CertificateExtensionEnum 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
    • getDescription

      public String getDescription()
      Description copied from interface: OidDescription
      This method returns the literal description of the OID
      Specified by:
      getDescription in interface OidDescription
      Returns:
      the OID description
    • getOid

      public String getOid()
      Description copied from interface: OidBasedEnum
      This method returns the OID value
      Specified by:
      getOid in interface OidBasedEnum
      Returns:
      the OID value
    • forOid

      public static CertificateExtensionEnum forOid(String oid)
      Returns a CertificateExtensionEnum if an enum with the given OID exists
      Parameters:
      oid - String to get CertificateExtensionEnum for
      Returns:
      CertificateExtensionEnum if enum is found, FALSE otherwise