Summary: Enums | Methods | Inherited Methods | [Expand All]
public static final enum

# VerificationOptions.TimeMode

extends Enum<E extends Enum<E>>

java.lang.Object
↳ | java.lang.Enum<E extends java.lang.Enum<E>>
| ↳ | com.pdftron.pdf.VerificationOptions.TimeMode

## Class Overview

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).

## Summary

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
final int | compareTo(E arg0)
int | compareTo(Object arg0)
final boolean | equals(Object arg0)
final Class<E> | getDeclaringClass()
final int | hashCode()
final String | name()
final int | ordinal()
String | toString()
static <T extends Enum<T>> T | valueOf(Class<T> arg0, String arg1)
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.lang.Comparable
abstract int | compareTo(T arg0)

## Enum Values

#### public static final VerificationOptions.TimeMode e_current

Check signature certificates against the current time. This is the most secure, and the most restrictive option.

#### public static final VerificationOptions.TimeMode e_signing

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.

#### public static final VerificationOptions.TimeMode e_timestamp

If available, check signature certificates against the signingTime attribute in the PKCS #7/CMS data of the signature. Otherwise, use the current time.

## Public Methods

#### public static VerificationOptions.TimeMode valueOf (String name)

#### public static final TimeMode[] values ()