org.jasig.cas.adaptors.x509.authentication.handler.support
Class RevokedCertificateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by org.jasig.cas.adaptors.x509.authentication.handler.support.RevokedCertificateException
All Implemented Interfaces:
Serializable

public class RevokedCertificateException
extends GeneralSecurityException

Exception that describes a revoked X.509 certificate.

Since:
3.4.6
Version:
$Revision$
Author:
Marvin S. Addison
See Also:
Serialized Form

Nested Class Summary
static class RevokedCertificateException.Reason
          CRL revocation reason codes per RFC 3280
 
Field Summary
static String CRL_REASON_OID
          OID for reasonCode CRL extension
 
Constructor Summary
RevokedCertificateException(Date revoked, BigInteger serial)
           
RevokedCertificateException(Date revoked, BigInteger serial, RevokedCertificateException.Reason reason)
           
RevokedCertificateException(X509CRLEntry entry)
           
 
Method Summary
 String getMessage()
          
 RevokedCertificateException.Reason getReason()
           
 Date getRevocationDate()
           
 BigInteger getSerial()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CRL_REASON_OID

public static final String CRL_REASON_OID
OID for reasonCode CRL extension

See Also:
Constant Field Values
Constructor Detail

RevokedCertificateException

public RevokedCertificateException(Date revoked,
                                   BigInteger serial)

RevokedCertificateException

public RevokedCertificateException(Date revoked,
                                   BigInteger serial,
                                   RevokedCertificateException.Reason reason)

RevokedCertificateException

public RevokedCertificateException(X509CRLEntry entry)
Method Detail

getRevocationDate

public Date getRevocationDate()
Returns:
Returns the revocationDate.

getSerial

public BigInteger getSerial()
Returns:
Returns the serial.

getReason

public RevokedCertificateException.Reason getReason()
Returns:
Returns the reason.

getMessage

public String getMessage()

Overrides:
getMessage in class Throwable


Copyright © 2004-2013 Jasig. All Rights Reserved.