eu.emi.security.authn.x509
Enum ValidationErrorCategory

java.lang.Object
  extended by java.lang.Enum<ValidationErrorCategory>
      extended by eu.emi.security.authn.x509.ValidationErrorCategory
All Implemented Interfaces:
Serializable, Comparable<ValidationErrorCategory>

public enum ValidationErrorCategory
extends Enum<ValidationErrorCategory>

This enumeration contains general classes of errors that can be signaled during certificate path validation. This classification is provided to allow applications to have coarse grained error handling.

Author:
K. Benedyczak

Enum Constant Summary
CRL
           
GENERAL_INPUT
           
INCONSISTENT_PROXY_CHAIN
           
INVALID_PROXY_CERT
           
NAME_CONSTRAINT
           
NAMESPACE
           
OCSP
           
OTHER
           
POLICY
           
X509_BASIC
           
X509_CHAIN
           
 
Method Summary
static ValidationErrorCategory getErrorCategory(ValidationErrorCode code)
           
static ValidationErrorCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValidationErrorCategory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GENERAL_INPUT

public static final ValidationErrorCategory GENERAL_INPUT

INCONSISTENT_PROXY_CHAIN

public static final ValidationErrorCategory INCONSISTENT_PROXY_CHAIN

INVALID_PROXY_CERT

public static final ValidationErrorCategory INVALID_PROXY_CERT

NAMESPACE

public static final ValidationErrorCategory NAMESPACE

X509_BASIC

public static final ValidationErrorCategory X509_BASIC

X509_CHAIN

public static final ValidationErrorCategory X509_CHAIN

POLICY

public static final ValidationErrorCategory POLICY

NAME_CONSTRAINT

public static final ValidationErrorCategory NAME_CONSTRAINT

CRL

public static final ValidationErrorCategory CRL

OCSP

public static final ValidationErrorCategory OCSP

OTHER

public static final ValidationErrorCategory OTHER
Method Detail

values

public static ValidationErrorCategory[] 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 (ValidationErrorCategory c : ValidationErrorCategory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ValidationErrorCategory valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getErrorCategory

public static ValidationErrorCategory getErrorCategory(ValidationErrorCode code)


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.