org.jasig.cas.adaptors.x509.authentication.handler.support
Enum RevokedCertificateException.Reason

java.lang.Object
  extended by java.lang.Enum<RevokedCertificateException.Reason>
      extended by org.jasig.cas.adaptors.x509.authentication.handler.support.RevokedCertificateException.Reason
All Implemented Interfaces:
Serializable, Comparable<RevokedCertificateException.Reason>
Enclosing class:
RevokedCertificateException

public static enum RevokedCertificateException.Reason
extends Enum<RevokedCertificateException.Reason>

CRL revocation reason codes per RFC 3280


Enum Constant Summary
AACompromise
           
AffiliationChanged
           
CACompromise
           
CertificateHold
           
CessationOfOperation
           
KeyCompromise
           
PrivilegeWithdrawn
           
RemoveFromCRL
           
Superseded
           
Unspecified
           
 
Method Summary
static RevokedCertificateException.Reason fromCode(int code)
           
static RevokedCertificateException.Reason valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RevokedCertificateException.Reason[] 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

Unspecified

public static final RevokedCertificateException.Reason Unspecified

KeyCompromise

public static final RevokedCertificateException.Reason KeyCompromise

CACompromise

public static final RevokedCertificateException.Reason CACompromise

AffiliationChanged

public static final RevokedCertificateException.Reason AffiliationChanged

Superseded

public static final RevokedCertificateException.Reason Superseded

CessationOfOperation

public static final RevokedCertificateException.Reason CessationOfOperation

CertificateHold

public static final RevokedCertificateException.Reason CertificateHold

RemoveFromCRL

public static final RevokedCertificateException.Reason RemoveFromCRL

PrivilegeWithdrawn

public static final RevokedCertificateException.Reason PrivilegeWithdrawn

AACompromise

public static final RevokedCertificateException.Reason AACompromise
Method Detail

values

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

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

valueOf

public static RevokedCertificateException.Reason 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

fromCode

public static RevokedCertificateException.Reason fromCode(int code)


Copyright © 2004-2013 Jasig. All Rights Reserved.