public enum PathValidationFailureReason extends Enum<PathValidationFailureReason>
Enum Constant and Description |
---|
CERTIFICATE_EXPIRED
Represents an error that occurs when the certificate has expired.
|
IDENTRUS_OCSP_COMPLIANCE_FAILED
Represents failure of Identrust OCSP compliance
|
IDENTRUS_SIGNING_COMPLIANCE_FAILED
Represents failure of Identrust Compliance when Verifying
|
INCORRECT_SIGNATURE
Represents an error that occurs when the certificate signature does not match".
|
INVALID_BASIC_CONSTRAINTS
Represents an error that occurs when an invalid basic constraint is used.
|
INVALID_KEY_USAGE
Represents an error that occurs when an invalid key is used.
|
INVALID_NAME_CONSTRAINTS
Represents an error that occurs when an invalid name constraint is used.
|
INVALID_POLICY_CONSTRAINTS
Represents an error that occurs when there are invalid policy constraints.
|
INVALID_POLICY_MAPPINGS
Represents an error that occurs when there are invalid policy mappings.
|
MISSING_BASIC_CONSTRAINTS
Represents an error that occurs when there are missing basic constraints.
|
NO_FAILURE
Specifies that an error did not occur.
|
PATH_LEN_CONSTRAINT_NOT_SATISFIED
Represents an error that occurs when the path length constraint is not valid.
|
PATH_NOT_TRUSTED
Represents an error that occurs when the path is not trusted.
|
SIGNED_IN_FUTURE
Represents an error that occurs when the document is signed in future.
|
UNKNOWN_REASON
Represents an unknown error that occurs.
|
UNSUPPORTED_CRITICAL_EXTENSION
Represents an error that occurs when there are unsupported critical extensions.
|
Modifier and Type | Method and Description |
---|---|
static PathValidationFailureReason |
getValueFromString(String s) |
static boolean |
isReasonRecoverable(PathValidationFailureReason reason)
Specifies whether the reason is recoverable when an error occurs.
|
String |
toString() |
static PathValidationFailureReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathValidationFailureReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathValidationFailureReason INVALID_NAME_CONSTRAINTS
public static final PathValidationFailureReason INVALID_BASIC_CONSTRAINTS
public static final PathValidationFailureReason MISSING_BASIC_CONSTRAINTS
public static final PathValidationFailureReason INVALID_POLICY_CONSTRAINTS
public static final PathValidationFailureReason INVALID_POLICY_MAPPINGS
public static final PathValidationFailureReason UNSUPPORTED_CRITICAL_EXTENSION
public static final PathValidationFailureReason INVALID_KEY_USAGE
public static final PathValidationFailureReason PATH_LEN_CONSTRAINT_NOT_SATISFIED
public static final PathValidationFailureReason INCORRECT_SIGNATURE
public static final PathValidationFailureReason CERTIFICATE_EXPIRED
public static final PathValidationFailureReason UNKNOWN_REASON
public static final PathValidationFailureReason PATH_NOT_TRUSTED
public static final PathValidationFailureReason NO_FAILURE
public static final PathValidationFailureReason IDENTRUS_SIGNING_COMPLIANCE_FAILED
public static final PathValidationFailureReason IDENTRUS_OCSP_COMPLIANCE_FAILED
public static final PathValidationFailureReason SIGNED_IN_FUTURE
public static PathValidationFailureReason[] values()
for (PathValidationFailureReason c : PathValidationFailureReason.values()) System.out.println(c);
public static PathValidationFailureReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<PathValidationFailureReason>
public static boolean isReasonRecoverable(PathValidationFailureReason reason)
reason
- A constant value that specifies the error that occurred. For example, you can specify PathValidationFailureReason.CERTIFICATE_EXPIRED
.public static PathValidationFailureReason getValueFromString(String s)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.