java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pdftron.pdf.VerificationOptions.TimeMode |
An enumeration representing the least-secure type of reference-time to use when verifying digital signatures. One can choose the time of signing (not very secure), timestamp time (more secure), current time (most secure, lower verification rate). Note: this is orthogonal to the expiry verification mode (shell/chain/hybrid).
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
VerificationOptions.TimeMode | e_current | Check signature certificates against the current time. | |||||||||
VerificationOptions.TimeMode | e_signing | If secure timestamp available, check signature certificates against the secure timestamp. | |||||||||
VerificationOptions.TimeMode | e_timestamp | If available, check signature certificates against the signingTime attribute in the PKCS #7/CMS data of the signature. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static VerificationOptions.TimeMode | valueOf(String name) | ||||||||||
final static TimeMode[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Check signature certificates against the current time. This is the most secure, and the most restrictive option.
If secure timestamp available, check signature certificates against the secure timestamp. Otherwise, if available, check signature certificates against the signingTime attribute in the PKCS #7/CMS of the signature. Otherwise, use the current time. This is the default option. Less secure. Suitable for archiving and interoperability with other vendors.
If available, check signature certificates against the signingTime attribute in the PKCS #7/CMS data of the signature. Otherwise, use the current time.