com.adobe.livecycle.signatures.pki.client.types.common
Class RevocationCheckStyle

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.livecycle.signatures.pki.client.types.common.RevocationCheckStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class RevocationCheckStyle
extends java.lang.Enum

Represents revocation check preference types. You create an instance of this type when you verify a signature. For information, see the Verifying a digital signature using the Java API quick start in Programming with Adobe Experience Manager forms ES.

See Also:
Verify(), Serialized Form

Field Summary
static RevocationCheckStyle AlwaysCheck
          Check for revocation of all certificates in the chain.
static RevocationCheckStyle BestEffort
          Always attempts to check for revocation of all certificates in the chain.
static RevocationCheckStyle CheckIfAvailable
          Check for revocation of all certificates in the chain if revocation information is available.
static RevocationCheckStyle NoCheck
          Do not check for revocation.
 
Method Summary
static RevocationCheckStyle getValueFromString(java.lang.String value)
          Converts a revocation check style value to a RevocationCheckStyle object.
 java.lang.String toString()
           
static RevocationCheckStyle valueOf(java.lang.String name)
           
static RevocationCheckStyle[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NoCheck

public static final RevocationCheckStyle NoCheck
Do not check for revocation.


BestEffort

public static final RevocationCheckStyle BestEffort
Always attempts to check for revocation of all certificates in the chain. If any problem occurs in checking, the revocation is assumed to be valid. If any failure happens, assume that the certificate is not revoked.


CheckIfAvailable

public static final RevocationCheckStyle CheckIfAvailable
Check for revocation of all certificates in the chain if revocation information is available. If any problem occurs in checking, the revocation is assumed to be invalid. If any failure happens, assume the certificate is revoked and invalid. This is the default value.


AlwaysCheck

public static final RevocationCheckStyle AlwaysCheck
Check for revocation of all certificates in the chain. If revocation information is not present in any certificate, revocation is assumed to be invalid.

Method Detail

values

public static RevocationCheckStyle[] values()

valueOf

public static RevocationCheckStyle valueOf(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum

getValueFromString

public static RevocationCheckStyle getValueFromString(java.lang.String value)
Converts a revocation check style value to a RevocationCheckStyle object.

Parameters:
value - A revocation check style value.
Returns:
A RevocationCheckStyle object.