public final class RevokedCertificateException extends GeneralSecurityException
| Modifier and Type | Class and Description |
|---|---|
static class |
RevokedCertificateException.Reason
CRL revocation reason codes per RFC 3280.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CRL_REASON_OID
OID for reasonCode CRL extension.
|
| Constructor and Description |
|---|
RevokedCertificateException(Date revoked,
BigInteger serial)
Instantiates a new revoked certificate exception.
|
RevokedCertificateException(Date revoked,
BigInteger serial,
RevokedCertificateException.Reason reason)
Instantiates a new revoked certificate exception.
|
RevokedCertificateException(X509CRLEntry entry)
Instantiates a new revoked certificate exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
RevokedCertificateException.Reason |
getReason()
Gets the reason.
|
org.joda.time.DateTime |
getRevocationDate()
Gets the revocation date.
|
BigInteger |
getSerial()
Gets the serial.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String CRL_REASON_OID
public RevokedCertificateException(Date revoked, BigInteger serial)
revoked - the revokedserial - the serialpublic RevokedCertificateException(Date revoked, BigInteger serial, RevokedCertificateException.Reason reason)
revoked - the revokedserial - the serialreason - the reasonpublic RevokedCertificateException(X509CRLEntry entry)
entry - the entrypublic org.joda.time.DateTime getRevocationDate()
public BigInteger getSerial()
public RevokedCertificateException.Reason getReason()
public String getMessage()
getMessage in class ThrowableCopyright © 2004-2015 Apereo. All Rights Reserved.