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

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

public final class PathValidationFailureReason
extends java.lang.Enum

Represents PKI certificate verification errors.

See Also:
Serialized Form

Field Summary
static PathValidationFailureReason CERTIFICATE_EXPIRED
          Represents an error that occurs when the certificate has expired.
static PathValidationFailureReason IDENTRUS_OCSP_COMPLIANCE_FAILED
          Represents failure of Identrust OCSP compliance
static PathValidationFailureReason IDENTRUS_SIGNING_COMPLIANCE_FAILED
          Represents failure of Identrust Compliance when Verifying
static PathValidationFailureReason INCORRECT_SIGNATURE
          Represents an error that occurs when the certificate signature does not match".
static PathValidationFailureReason INVALID_BASIC_CONSTRAINTS
          Represents an error that occurs when an invalid basic constraint is used.
static PathValidationFailureReason INVALID_KEY_USAGE
          Represents an error that occurs when an invalid key is used.
static PathValidationFailureReason INVALID_NAME_CONSTRAINTS
          Represents an error that occurs when an invalid name constraint is used.
static PathValidationFailureReason INVALID_POLICY_CONSTRAINTS
          Represents an error that occurs when there are invalid policy constraints.
static PathValidationFailureReason INVALID_POLICY_MAPPINGS
          Represents an error that occurs when there are invalid policy mappings.
static PathValidationFailureReason MISSING_BASIC_CONSTRAINTS
          Represents an error that occurs when there are missing basic constraints.
static PathValidationFailureReason NO_FAILURE
          Specifies that an error did not occur.
static PathValidationFailureReason PATH_LEN_CONSTRAINT_NOT_SATISFIED
          Represents an error that occurs when the path length constraint is not valid.
static PathValidationFailureReason PATH_NOT_TRUSTED
          Represents an error that occurs when the path is not trusted.
static PathValidationFailureReason UNKNOWN_REASON
          Represents an unknown error that occurs.
static PathValidationFailureReason UNSUPPORTED_CRITICAL_EXTENSION
          Represents an error that occurs when there are unsupported critical extensions.
 
Method Summary
static PathValidationFailureReason getValueFromString(java.lang.String s)
           
static boolean isReasonRecoverable(PathValidationFailureReason reason)
          Specifies whether the reason is recoverable when an error occurs.
 java.lang.String toString()
           
static PathValidationFailureReason valueOf(java.lang.String name)
           
static PathValidationFailureReason[] 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

INVALID_NAME_CONSTRAINTS

public static final PathValidationFailureReason INVALID_NAME_CONSTRAINTS
Represents an error that occurs when an invalid name constraint is used.


INVALID_BASIC_CONSTRAINTS

public static final PathValidationFailureReason INVALID_BASIC_CONSTRAINTS
Represents an error that occurs when an invalid basic constraint is used.


MISSING_BASIC_CONSTRAINTS

public static final PathValidationFailureReason MISSING_BASIC_CONSTRAINTS
Represents an error that occurs when there are missing basic constraints.


INVALID_POLICY_CONSTRAINTS

public static final PathValidationFailureReason INVALID_POLICY_CONSTRAINTS
Represents an error that occurs when there are invalid policy constraints.


INVALID_POLICY_MAPPINGS

public static final PathValidationFailureReason INVALID_POLICY_MAPPINGS
Represents an error that occurs when there are invalid policy mappings.


UNSUPPORTED_CRITICAL_EXTENSION

public static final PathValidationFailureReason UNSUPPORTED_CRITICAL_EXTENSION
Represents an error that occurs when there are unsupported critical extensions.


INVALID_KEY_USAGE

public static final PathValidationFailureReason INVALID_KEY_USAGE
Represents an error that occurs when an invalid key is used.


PATH_LEN_CONSTRAINT_NOT_SATISFIED

public static final PathValidationFailureReason PATH_LEN_CONSTRAINT_NOT_SATISFIED
Represents an error that occurs when the path length constraint is not valid.


INCORRECT_SIGNATURE

public static final PathValidationFailureReason INCORRECT_SIGNATURE
Represents an error that occurs when the certificate signature does not match".


CERTIFICATE_EXPIRED

public static final PathValidationFailureReason CERTIFICATE_EXPIRED
Represents an error that occurs when the certificate has expired.


UNKNOWN_REASON

public static final PathValidationFailureReason UNKNOWN_REASON
Represents an unknown error that occurs.


PATH_NOT_TRUSTED

public static final PathValidationFailureReason PATH_NOT_TRUSTED
Represents an error that occurs when the path is not trusted.


NO_FAILURE

public static final PathValidationFailureReason NO_FAILURE
Specifies that an error did not occur.


IDENTRUS_SIGNING_COMPLIANCE_FAILED

public static final PathValidationFailureReason IDENTRUS_SIGNING_COMPLIANCE_FAILED
Represents failure of Identrust Compliance when Verifying


IDENTRUS_OCSP_COMPLIANCE_FAILED

public static final PathValidationFailureReason IDENTRUS_OCSP_COMPLIANCE_FAILED
Represents failure of Identrust OCSP compliance

Method Detail

values

public static PathValidationFailureReason[] values()

valueOf

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

toString

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

isReasonRecoverable

public static boolean isReasonRecoverable(PathValidationFailureReason reason)
Specifies whether the reason is recoverable when an error occurs.

Parameters:
reason - A constant value that specifies the error that occurred. For example, you can specify PathValidationFailureReason.CERTIFICATE_EXPIRED.
Returns:
A Boolean value that specifies whether the reason can be recovered.

getValueFromString

public static PathValidationFailureReason getValueFromString(java.lang.String s)


[an error occurred while processing this directive] [an error occurred while processing this directive]