Enum SignatureValidationProperties.OnlineFetching
- java.lang.Object
-
- java.lang.Enum<SignatureValidationProperties.OnlineFetching>
-
- com.itextpdf.signatures.validation.v1.SignatureValidationProperties.OnlineFetching
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SignatureValidationProperties.OnlineFetching>
- Enclosing class:
- SignatureValidationProperties
public static enum SignatureValidationProperties.OnlineFetching extends java.lang.Enum<SignatureValidationProperties.OnlineFetching>
Enum representing possible online fetching permissions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_FETCH
Permission to always fetch revocation data online.FETCH_IF_NO_OTHER_DATA_AVAILABLE
Permission to fetch revocation data online if no other revocation data available.NEVER_FETCH
Forbids fetching revocation data online.
-
Constructor Summary
Constructors Modifier Constructor Description private
OnlineFetching()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SignatureValidationProperties.OnlineFetching
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SignatureValidationProperties.OnlineFetching[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS_FETCH
public static final SignatureValidationProperties.OnlineFetching ALWAYS_FETCH
Permission to always fetch revocation data online.
-
FETCH_IF_NO_OTHER_DATA_AVAILABLE
public static final SignatureValidationProperties.OnlineFetching FETCH_IF_NO_OTHER_DATA_AVAILABLE
Permission to fetch revocation data online if no other revocation data available.
-
NEVER_FETCH
public static final SignatureValidationProperties.OnlineFetching NEVER_FETCH
Forbids fetching revocation data online.
-
-
Method Detail
-
values
public static SignatureValidationProperties.OnlineFetching[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SignatureValidationProperties.OnlineFetching c : SignatureValidationProperties.OnlineFetching.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureValidationProperties.OnlineFetching valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-