Package eu.europa.esig.dss.enumerations
Enum Class RevocationOrigin
- All Implemented Interfaces:
Serializable
,Comparable<RevocationOrigin>
,Constable
List of possible revocation data origins
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe revocation data was obtained from the ADBE attributeThe revocation data was embedded in the signature 'AttributeRevocationValues' attribute (used in XAdES)The revocation data was obtained from a local DB or cacheThe revocation data was embedded in the CMS SignedData itself (used in CMS based (CAdES or TimestampToken))The revocation data was embedded to the contents of DSS PDF dictionary (used in PAdES)Revocation data extracted from an Evidence Record's structureThe revocation data was provided by the user or online OCSP/CRLThe revocation data was embedded in signature or timestamp.The revocation data was embedded in the signature 'revocation-values' attribute (used in CAdES and XAdES)The revocation data was embedded in the signature 'TimeStampValidationData' attribute (used in XAdES)The revocation data was embedded to VRI dictionary (used in PAdES) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the revocation has been obtained from the input documentstatic RevocationOrigin
Returns the enum constant of this class with the specified name.static RevocationOrigin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CMS_SIGNED_DATA
The revocation data was embedded in the CMS SignedData itself (used in CMS based (CAdES or TimestampToken)) -
REVOCATION_VALUES
The revocation data was embedded in the signature 'revocation-values' attribute (used in CAdES and XAdES) -
ATTRIBUTE_REVOCATION_VALUES
The revocation data was embedded in the signature 'AttributeRevocationValues' attribute (used in XAdES) -
TIMESTAMP_VALIDATION_DATA
The revocation data was embedded in the signature 'TimeStampValidationData' attribute (used in XAdES) -
DSS_DICTIONARY
The revocation data was embedded to the contents of DSS PDF dictionary (used in PAdES) -
VRI_DICTIONARY
The revocation data was embedded to VRI dictionary (used in PAdES) -
ADBE_REVOCATION_INFO_ARCHIVAL
The revocation data was obtained from the ADBE attribute -
EVIDENCE_RECORD
Revocation data extracted from an Evidence Record's structure -
INPUT_DOCUMENT
The revocation data was embedded in signature or timestamp. -
EXTERNAL
The revocation data was provided by the user or online OCSP/CRL -
CACHED
The revocation data was obtained from a local DB or cache
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
isInternalOrigin
public boolean isInternalOrigin()Checks if the revocation has been obtained from the input document- Returns:
- TRUE if the revocation has been obtained from the input document, FALSE otherwise
-