Package eu.emi.security.authn.x509
Enum ValidationErrorCode
- java.lang.Object
-
- java.lang.Enum<ValidationErrorCode>
-
- eu.emi.security.authn.x509.ValidationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValidationErrorCode>
public enum ValidationErrorCode extends java.lang.Enum<ValidationErrorCode>
This enumeration contains codes of errors that can be signaled during certificate path validation. This classification is provided to allow applications to have fine grained error handling.This codes are used as keys for getting the messages from the message bundle 'validationErrors' (defined in a properties file).
- Author:
- K. Benedyczak
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValidationErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValidationErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
unknown
public static final ValidationErrorCode unknown
-
unknownMsg
public static final ValidationErrorCode unknownMsg
-
nsUndefinedAndRequired
public static final ValidationErrorCode nsUndefinedAndRequired
-
nsDeny
public static final ValidationErrorCode nsDeny
-
nsNotAccepted
public static final ValidationErrorCode nsNotAccepted
-
inputError
public static final ValidationErrorCode inputError
-
emptyCertPath
public static final ValidationErrorCode emptyCertPath
-
invalidCertificatePath
public static final ValidationErrorCode invalidCertificatePath
-
proxyEECInChain
public static final ValidationErrorCode proxyEECInChain
-
proxyLength
public static final ValidationErrorCode proxyLength
-
proxyNoIssuer
public static final ValidationErrorCode proxyNoIssuer
-
proxyCASet
public static final ValidationErrorCode proxyCASet
-
proxyIssuerAltNameSet
public static final ValidationErrorCode proxyIssuerAltNameSet
-
proxySubjectAltNameSet
public static final ValidationErrorCode proxySubjectAltNameSet
-
proxyIssuedByCa
public static final ValidationErrorCode proxyIssuedByCa
-
proxyNoIssuerSubject
public static final ValidationErrorCode proxyNoIssuerSubject
-
proxySubjectInconsistent
public static final ValidationErrorCode proxySubjectInconsistent
-
proxyIssuerNoDsig
public static final ValidationErrorCode proxyIssuerNoDsig
-
proxySubjectOneRDN
public static final ValidationErrorCode proxySubjectOneRDN
-
proxySubjectMultiLastRDN
public static final ValidationErrorCode proxySubjectMultiLastRDN
-
proxySubjectLastRDNNotCN
public static final ValidationErrorCode proxySubjectLastRDNNotCN
-
proxySubjectBaseWrong
public static final ValidationErrorCode proxySubjectBaseWrong
-
proxyTypeInconsistent
public static final ValidationErrorCode proxyTypeInconsistent
-
proxyInconsistentlyLimited
public static final ValidationErrorCode proxyInconsistentlyLimited
-
noIssuerPublicKey
public static final ValidationErrorCode noIssuerPublicKey
-
noBasicConstraints
public static final ValidationErrorCode noBasicConstraints
-
pathLenghtExtended
public static final ValidationErrorCode pathLenghtExtended
-
conflictingTrustAnchors
public static final ValidationErrorCode conflictingTrustAnchors
-
noTrustAnchorFound
public static final ValidationErrorCode noTrustAnchorFound
-
trustButInvalidCert
public static final ValidationErrorCode trustButInvalidCert
-
signatureNotVerified
public static final ValidationErrorCode signatureNotVerified
-
certificateNotYetValid
public static final ValidationErrorCode certificateNotYetValid
-
certificateExpired
public static final ValidationErrorCode certificateExpired
-
noCACert
public static final ValidationErrorCode noCACert
-
noCertSign
public static final ValidationErrorCode noCertSign
-
unknownCriticalExt
public static final ValidationErrorCode unknownCriticalExt
-
certWrongIssuer
public static final ValidationErrorCode certWrongIssuer
-
errorProcesingBC
public static final ValidationErrorCode errorProcesingBC
-
QcStatementExtError
public static final ValidationErrorCode QcStatementExtError
-
certPathCheckerError
public static final ValidationErrorCode certPathCheckerError
-
criticalExtensionError
public static final ValidationErrorCode criticalExtensionError
-
unknownCriticalExts
public static final ValidationErrorCode unknownCriticalExts
-
pubKeyError
public static final ValidationErrorCode pubKeyError
-
processLengthConstError
public static final ValidationErrorCode processLengthConstError
-
rootKeyIsValidButNotATrustAnchor
public static final ValidationErrorCode rootKeyIsValidButNotATrustAnchor
-
trustAnchorIssuerError
public static final ValidationErrorCode trustAnchorIssuerError
-
trustDNInvalid
public static final ValidationErrorCode trustDNInvalid
-
trustKeyUsage
public static final ValidationErrorCode trustKeyUsage
-
trustPubKeyError
public static final ValidationErrorCode trustPubKeyError
-
explicitPolicy
public static final ValidationErrorCode explicitPolicy
-
invalidPolicyMapping
public static final ValidationErrorCode invalidPolicyMapping
-
invalidPolicy
public static final ValidationErrorCode invalidPolicy
-
noValidPolicyTree
public static final ValidationErrorCode noValidPolicyTree
-
policyConstExtError
public static final ValidationErrorCode policyConstExtError
-
policyExtError
public static final ValidationErrorCode policyExtError
-
policyInhibitExtError
public static final ValidationErrorCode policyInhibitExtError
-
policyMapExtError
public static final ValidationErrorCode policyMapExtError
-
policyQualifierError
public static final ValidationErrorCode policyQualifierError
-
excludedDN
public static final ValidationErrorCode excludedDN
-
excludedEmail
public static final ValidationErrorCode excludedEmail
-
excludedIP
public static final ValidationErrorCode excludedIP
-
ncExtError
public static final ValidationErrorCode ncExtError
-
ncSubjectNameError
public static final ValidationErrorCode ncSubjectNameError
-
notPermittedDN
public static final ValidationErrorCode notPermittedDN
-
notPermittedEmail
public static final ValidationErrorCode notPermittedEmail
-
notPermittedIP
public static final ValidationErrorCode notPermittedIP
-
subjAltNameExtError
public static final ValidationErrorCode subjAltNameExtError
-
certRevoked
public static final ValidationErrorCode certRevoked
-
noBaseCRL
public static final ValidationErrorCode noBaseCRL
-
noValidCrlFound
public static final ValidationErrorCode noValidCrlFound
-
noCrlForExpiredCert
public static final ValidationErrorCode noCrlForExpiredCert
-
crlVerifyFailed
public static final ValidationErrorCode crlVerifyFailed
-
distrPtExtError
public static final ValidationErrorCode distrPtExtError
-
crlAuthInfoAccError
public static final ValidationErrorCode crlAuthInfoAccError
-
crlBCExtError
public static final ValidationErrorCode crlBCExtError
-
crlDistPtExtError
public static final ValidationErrorCode crlDistPtExtError
-
crlExtractionError
public static final ValidationErrorCode crlExtractionError
-
crlIssuerException
public static final ValidationErrorCode crlIssuerException
-
crlNoIssuerPublicKey
public static final ValidationErrorCode crlNoIssuerPublicKey
-
crlOnlyAttrCert
public static final ValidationErrorCode crlOnlyAttrCert
-
crlOnlyCaCert
public static final ValidationErrorCode crlOnlyCaCert
-
crlOnlyUserCert
public static final ValidationErrorCode crlOnlyUserCert
-
crlReasonExtError
public static final ValidationErrorCode crlReasonExtError
-
onlineCRLWrongCA
public static final ValidationErrorCode onlineCRLWrongCA
-
onlineInvalidCRL
public static final ValidationErrorCode onlineInvalidCRL
-
noCrlInCertstore
public static final ValidationErrorCode noCrlInCertstore
-
noCrlSigningPermited
public static final ValidationErrorCode noCrlSigningPermited
-
loadCrlDistPointError
public static final ValidationErrorCode loadCrlDistPointError
-
localInvalidCRL
public static final ValidationErrorCode localInvalidCRL
-
crlUnknownCritExt
public static final ValidationErrorCode crlUnknownCritExt
-
crlNoIssuerForDP
public static final ValidationErrorCode crlNoIssuerForDP
-
crlNoIssuerAndDP
public static final ValidationErrorCode crlNoIssuerAndDP
-
crlIDPAndDPMismatch
public static final ValidationErrorCode crlIDPAndDPMismatch
-
crlDeltaProblem
public static final ValidationErrorCode crlDeltaProblem
-
crlAKIExtError
public static final ValidationErrorCode crlAKIExtError
-
ocspCertRevoked
public static final ValidationErrorCode ocspCertRevoked
-
ocspNoResponder
public static final ValidationErrorCode ocspNoResponder
-
ocspResponderQueryError
public static final ValidationErrorCode ocspResponderQueryError
-
ocspResponseInvalid
public static final ValidationErrorCode ocspResponseInvalid
-
ocspOtherError
public static final ValidationErrorCode ocspOtherError
-
-
Method Detail
-
values
public static ValidationErrorCode[] 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 (ValidationErrorCode c : ValidationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationErrorCode 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
-
-