Package eu.europa.esig.dss.enumerations
Enum CertificateOrigin
- All Implemented Interfaces:
Serializable
,Comparable<CertificateOrigin>
public enum CertificateOrigin extends Enum<CertificateOrigin>
Possible origin types for a certificate
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTR_AUTHORITIES_CERT_VALUES
Certificates extracted from AttrAuthoritiesCertValues element, XAdES specificBASIC_OCSP_RESP
Certificates extracted from an OCSP ResponseCERTIFICATE_VALUES
Certificates extracted from CertificateValues elementDSS_DICTIONARY
Certificates extracted from DSS dictionary, PAdES specificKEY_INFO
Certificates extracted from KeyInfo element, XAdES specificSIGNED_DATA
Certificates extracted from a signed attribute (CAdES)TIMESTAMP_VALIDATION_DATA
Certificates extracted from TimeStampValidationData elementVRI_DICTIONARY
Certificates extracted from VRI dictionary, PAdES specific -
Method Summary
Modifier and Type Method Description static CertificateOrigin
valueOf(String name)
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
-