Package eu.europa.esig.dss.enumerations
Enum RevocationOrigin
- java.lang.Object
-
- java.lang.Enum<RevocationOrigin>
-
- eu.europa.esig.dss.enumerations.RevocationOrigin
-
- All Implemented Interfaces:
Serializable,Comparable<RevocationOrigin>
public enum RevocationOrigin extends Enum<RevocationOrigin>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_REVOCATION_VALUESThe revocation data was embedded in the signature 'AttributeRevocationValues' attribute (used in XAdES)CACHEDThe revocation data was obtained from a local DB or cacheDSS_DICTIONARYThe revocation data was embedded to the contents of DSS PDF dictionary (used in PAdES)EXTERNALThe revocation data was provided by the user or online OCSP/CRLREVOCATION_VALUESThe revocation data was embedded in the signature 'revocation-values' attribute (used in CAdES and XAdES)SIGNATUREThe revocation data was embedded to Signature (all internal cases)TIMESTAMP_REVOCATION_VALUESThe revocation value was embedded in the timestamp attribute (used in CAdES)TIMESTAMP_VALIDATION_DATAThe revocation data was embedded in the signature 'TimeStampValidationData' attribute (used in XAdES)VRI_DICTIONARYThe revocation data was embedded to VRI dictionary (used in PAdES)
-
Method Summary
Modifier and Type Method Description booleanisInternalOrigin()static RevocationOriginvalueOf(String name)Returns the enum constant of this type with the specified name.static RevocationOrigin[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REVOCATION_VALUES
public static final RevocationOrigin REVOCATION_VALUES
The revocation data was embedded in the signature 'revocation-values' attribute (used in CAdES and XAdES)
-
ATTRIBUTE_REVOCATION_VALUES
public static final RevocationOrigin ATTRIBUTE_REVOCATION_VALUES
The revocation data was embedded in the signature 'AttributeRevocationValues' attribute (used in XAdES)
-
TIMESTAMP_VALIDATION_DATA
public static final RevocationOrigin TIMESTAMP_VALIDATION_DATA
The revocation data was embedded in the signature 'TimeStampValidationData' attribute (used in XAdES)
-
DSS_DICTIONARY
public static final RevocationOrigin DSS_DICTIONARY
The revocation data was embedded to the contents of DSS PDF dictionary (used in PAdES)
-
VRI_DICTIONARY
public static final RevocationOrigin VRI_DICTIONARY
The revocation data was embedded to VRI dictionary (used in PAdES)
-
TIMESTAMP_REVOCATION_VALUES
public static final RevocationOrigin TIMESTAMP_REVOCATION_VALUES
The revocation value was embedded in the timestamp attribute (used in CAdES)
-
SIGNATURE
public static final RevocationOrigin SIGNATURE
The revocation data was embedded to Signature (all internal cases)
-
EXTERNAL
public static final RevocationOrigin EXTERNAL
The revocation data was provided by the user or online OCSP/CRL
-
CACHED
public static final RevocationOrigin CACHED
The revocation data was obtained from a local DB or cache
-
-
Method Detail
-
values
public static RevocationOrigin[] 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 RevocationOrigin 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 nameNullPointerException- if the argument is null
-
isInternalOrigin
public boolean isInternalOrigin()
-
-