Package com.pdftools.signaturevalidation
Enum TimeSource
- All Implemented Interfaces:
Flag,Serializable,Comparable<TimeSource>
The source of the validation time
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExpired time stampProof of ExistenceSignature time -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeSourceReturns the enum constant of this type with the specified name.static TimeSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROOF_OF_EXISTENCE
Proof of Existence
A proof of existence is evidence that proves that an object (a certificate, a CRL, signature value, hash value, etc.) existed at a specific time, which may be a time in the past. The presence of a given object at the current time is a proof of its existence at the current time. A suitable way of providing proof of existence of an object at a time in the past is to generate a time-stamp for that object. -
EXPIRED_TIME_STAMP
Expired time stamp
An expired time-stamp was used. Note that for expired time-stamps revocation information checks might not be possible. -
SIGNATURE_TIME
Signature time
Use the claimed (untrusted) time of the signature.
-
-
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
-