Package eu.europa.esig.dss.enumerations
Enum CertificateOrigin
- All Implemented Interfaces:
Serializable
,Comparable<CertificateOrigin>
Possible origin types for a certificate
-
Enum Constant Summary
Enum ConstantDescriptionCertificates extracted from AttrAuthoritiesCertValues element, XAdES specificCertificates extracted from an OCSP ResponseCertificates extracted from CertificateValues elementCertificates extracted from DSS dictionary, PAdES specificCertificates extracted from KeyInfo element, XAdES specificCertificates extracted from a signed attribute (CAdES)Certificates extracted from TimeStampValidationData elementCertificates extracted from VRI dictionary, PAdES specific -
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateOrigin
Returns the enum constant of this type with the specified name.static CertificateOrigin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KEY_INFO
Certificates extracted from KeyInfo element, XAdES specific -
SIGNED_DATA
Certificates extracted from a signed attribute (CAdES) -
CERTIFICATE_VALUES
Certificates extracted from CertificateValues element -
ATTR_AUTHORITIES_CERT_VALUES
Certificates extracted from AttrAuthoritiesCertValues element, XAdES specific -
TIMESTAMP_VALIDATION_DATA
Certificates extracted from TimeStampValidationData element -
DSS_DICTIONARY
Certificates extracted from DSS dictionary, PAdES specific -
VRI_DICTIONARY
Certificates extracted from VRI dictionary, PAdES specific -
BASIC_OCSP_RESP
Certificates extracted from an OCSP Response
-
-
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
-