public class RevokedCertificateException
extends java.security.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 java.lang.String |
CRL_REASON_OID
OID for reasonCode CRL extension.
|
| Constructor and Description |
|---|
RevokedCertificateException(java.security.cert.X509CRLEntry entry)
Instantiates a new revoked certificate exception.
|
RevokedCertificateException(java.time.ZonedDateTime revoked,
java.math.BigInteger serial)
Instantiates a new revoked certificate exception.
|
RevokedCertificateException(java.time.ZonedDateTime revoked,
java.math.BigInteger serial,
RevokedCertificateException.Reason reason)
Instantiates a new revoked certificate exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
RevokedCertificateException.Reason |
getReason()
Gets the reason.
|
java.time.ZonedDateTime |
getRevocationDate()
Gets the revocation date.
|
java.math.BigInteger |
getSerial()
Gets the serial.
|
public static final java.lang.String CRL_REASON_OID
public RevokedCertificateException(java.time.ZonedDateTime revoked,
java.math.BigInteger serial)
revoked - the revokedserial - the serialpublic RevokedCertificateException(java.time.ZonedDateTime revoked,
java.math.BigInteger serial,
RevokedCertificateException.Reason reason)
revoked - the revokedserial - the serialreason - the reasonpublic RevokedCertificateException(java.security.cert.X509CRLEntry entry)
entry - the entrypublic java.time.ZonedDateTime getRevocationDate()
public java.math.BigInteger getSerial()
public RevokedCertificateException.Reason getReason()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable