Package eu.europa.esig.dss.enumerations
Enum 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 Summary
Enum ConstantDescription4.2.2.1.4.2.1.1.4.2.1.9.RFC 3739.4.2.1.4.4.2.1.13.4.2.1.12.4.2.1.15.4.2.1.14.4.2.1.7.4.2.1.3.4.2.1.10.RFC 6960.4.2.1.11.4.2.1.5.RFC 3280.RFC 3739.4.2.1.6.4.2.1.8.4.2.2.2.4.2.1.2.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 } -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateExtensionEnum
Returns aCertificateExtensionEnum
if an enum with the given OID existsThis method returns the literal description of the OIDgetOid()
This method returns the OID valuestatic CertificateExtensionEnum
Returns the enum constant of this type with the specified name.static CertificateExtensionEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
4.2.1.2. Subject Key Identifier id-ce-subjectKeyIdentifier OBJECT IDENTIFIER ::= { id-ce 14 } SubjectKeyIdentifier ::= KeyIdentifier -
KEY_USAGE
4.2.1.3. Key Usage id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 } KeyUsage ::= BIT STRING -
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
4.2.1.4. Certificate Policies id-ce-certificatePolicies OBJECT IDENTIFIER ::= { id-ce 32 } certificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation -
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
4.2.1.6. Subject Alternative Name id-ce-subjectAltName OBJECT IDENTIFIER ::= { id-ce 17 } SubjectAltName ::= GeneralNames -
ISSUER_ALTERNATIVE_NAME
4.2.1.7. Issuer Alternative Name id-ce-issuerAltName OBJECT IDENTIFIER ::= { id-ce 18 } IssuerAltName ::= GeneralNames -
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
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
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
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
4.2.1.12. Extended Key Usage anyExtendedKeyUsage OBJECT IDENTIFIER ::= { id-ce-extKeyUsage 0 } id-kp OBJECT IDENTIFIER ::= { id-pkix 3 } -
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
4.2.1.14. Inhibit anyPolicy id-ce-inhibitAnyPolicy OBJECT IDENTIFIER ::= { id-ce 54 } InhibitAnyPolicy ::= SkipCerts -
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
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
4.2.2.2. Subject Information Access id-pe-subjectInfoAccess OBJECT IDENTIFIER ::= { id-pe 11 } SubjectInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription -
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
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
RFC 3739. 3.2.5. Biometric Information id-pe-biometricInfo OBJECT IDENTIFIER ::= {id-pe 2} BiometricSyntax ::= SEQUENCE OF BiometricData -
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
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
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 nameNullPointerException
- if the argument is null
-
getDescription
Description copied from interface:OidDescription
This method returns the literal description of the OID- Specified by:
getDescription
in interfaceOidDescription
- Returns:
- the OID description
-
getOid
Description copied from interface:OidBasedEnum
This method returns the OID value- Specified by:
getOid
in interfaceOidBasedEnum
- Returns:
- the OID value
-
forOid
Returns aCertificateExtensionEnum
if an enum with the given OID exists- Parameters:
oid
-String
to getCertificateExtensionEnum
for- Returns:
CertificateExtensionEnum
if enum is found, FALSE otherwise
-