Package com.pdftools.signaturevalidation
Enum DataSource
- All Implemented Interfaces:
Flag,Serializable,Comparable<DataSource>
The source of data such as certificates, OCRPs or CRLs
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFrom the Adobe Approved Trust List (AATL)From the custom trust listData retrieved online or from the local download cacheData embedded in the document security store (DSS)Data embedded in the signatureFrom the European Trust List (EUTL)Data from the local system cache -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSourceReturns the enum constant of this type with the specified name.static DataSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EMBED_IN_SIGNATURE
Data embedded in the signature
Allowed data: certificates, OCSP, CRL -
EMBED_IN_DOCUMENT
Data embedded in the document security store (DSS)
Allowed data: certificates, OCSP, CRL -
DOWNLOAD
Data retrieved online or from the local download cache
Allowed data: issuer certificates (for certificates that have caIssuers extension), OCSP, CRL
Note: only data for certificates that are time-valid at the current time can be downloaded. For example, OCSP and CRL can only be downloaded for certificates that have not yet expired.
-
SYSTEM
Data from the local system cache
Allowed data: certificates -
AATL
From the Adobe Approved Trust List (AATL)
NOTE: Support for this trust list has not yet been implemented.
Allowed data: issuer certificates
-
EUTL
From the European Trust List (EUTL)
NOTE: Support for this trust list has not yet been implemented.
Allowed data: issuer certificates
-
CUSTOM_TRUST_LIST
From the custom trust list
The list of certificates defined by the
CustomTrustList. If no custom trust list has been defined, this value has no effect.Allowed data: issuer certificates
-
-
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
-