public class CertificateRevokedException extends CertificateException
| Constructor and Description |
|---|
CertificateRevokedException(Date revocationDate,
CRLReason reason,
X500Principal authority,
Map<String,Extension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
X500Principal |
getAuthorityName()
Returns the principal of the authority that issued the revocation.
|
Map<String,Extension> |
getExtensions()
X.509 extensions that are associated with this revocation.
|
Date |
getInvalidityDate()
Returns the date when the certificate was known to become invalid if
available.
|
String |
getMessage()
Returns the detail message of the thrown exception.
|
Date |
getRevocationDate()
Returns the date the certificate was revoked.
|
CRLReason |
getRevocationReason()
Returns the reason the certificate was revoked if available.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String,Extension> extensions)
revocationDate - date the certificate was revokedreason - reason the certificate was revoked if availableauthority - authority that revoked the certificateextensions - X.509 extensions associated with this revocationpublic X500Principal getAuthorityName()
public Map<String,Extension> getExtensions()
public Date getInvalidityDate()
public String getMessage()
getMessage in class Throwablepublic Date getRevocationDate()
public CRLReason getRevocationReason()