Flag
public enum DataSource extends java.lang.Enum<DataSource> implements Flag
Enum Constant | Description |
---|---|
AATL |
From the Adobe Approved Trust List (AATL)
|
CUSTOM_TRUST_LIST |
From the custom trust list
|
DOWNLOAD |
Data retrieved online or from the local download cache
|
EMBED_IN_DOCUMENT |
Data embedded in the document security store (DSS)
|
EMBED_IN_SIGNATURE |
Data embedded in the signature
|
EUTL |
From the European Trust List (EUTL)
|
SYSTEM |
Data from the local system cache
|
Modifier and Type | Method | Description |
---|---|---|
static DataSource |
valueOf(java.lang.String name) |
Returns 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.
|
public static final DataSource EMBED_IN_SIGNATURE
public static final DataSource EMBED_IN_DOCUMENT
public static final DataSource DOWNLOAD
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.
public static final DataSource SYSTEM
public static final DataSource AATL
NOTE: Support for this trust list has not yet been implemented.
Allowed data: issuer certificates
public static final DataSource EUTL
NOTE: Support for this trust list has not yet been implemented.
Allowed data: issuer certificates
public static final DataSource 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
public static DataSource[] values()
for (DataSource c : DataSource.values()) System.out.println(c);
public static DataSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null