CertificateRevokedException contains additional information
about the revoked certificate, such as the date on which the
certificate was revoked and the reason it was revoked.
CertPathValidatorException
| Modifier and Type | Field and Description |
|---|---|
| private final X500Principal | |
| private transient Map | |
| private final CRLReason | |
| private Date | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | CertificateRevokedException(Date
the date on which the certificate was revoked. The
date is copied to protect against subsequent modification. revocationDate, CRLReason the revocation reason reason, X500Principal the authority, Map<String, Extension> X500Principal that represents the name
of the authority that signed the certificate's revocation status
informationa map of X.509 Extensions. Each key is an OID String
that maps to the corresponding Extension. The map is copied to
prevent subsequent modification. extensions)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public X500Principal | Returns: theX500Principal that represents the name of the
authority that signed the certificate's revocation status informationReturns the name of the authority that signed the certificate's revocation status information. |
| public Map | Returns: an unmodifiable map of X.509 extensions, or an empty map if there are no extensionsReturns a map of X.509 extensions containing additional information about the revoked certificate, such as the Invalidity Date Extension. |
| public Date | Returns: the invalidity date, ornull if not specifiedReturns the invalidity date, as specified in the Invalidity Date
extension of this |
| public String | getMessage()
Overrides java. Returns the detail message string of this throwable. |
| public Date | Returns: the revocation dateReturns the date on which the certificate was revoked. |
| public CRLReason | |
| private static boolean | |
| private void | readObject(ObjectInputStream
the ois)ObjectInputStream from which data is readHides java. Deserialize the |
| private void | writeObject(ObjectOutputStream
the oos)ObjectOutputStream to which data is writtenHides java. Serialize this |
| authority | back to summary |
|---|---|
| private final X500Principal authority | |
| extensions | back to summary |
|---|---|
| private transient Map<String, Extension> extensions | |
| reason | back to summary |
|---|---|
| private final CRLReason reason | |
| revocationDate | back to summary |
|---|---|
| private Date revocationDate | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| CertificateRevokedException | back to summary |
|---|---|
| public CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String, Extension> extensions) Constructs a
| |
| getAuthorityName | back to summary |
|---|---|
| public X500Principal getAuthorityName() Returns the name of the authority that signed the certificate's revocation status information.
| |
| getExtensions | back to summary |
|---|---|
| public Map Returns a map of X.509 extensions containing additional information about the revoked certificate, such as the Invalidity Date Extension. Each key is an OID String that maps to the corresponding Extension. | |
| getInvalidityDate | back to summary |
|---|---|
| public Date getInvalidityDate() Returns the invalidity date, as specified in the Invalidity Date
extension of this
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable.
| |
| getRevocationDate | back to summary |
|---|---|
| public Date getRevocationDate() Returns the date on which the certificate was revoked. A new copy is returned each time the method is invoked to protect against subsequent modification.
| |
| getRevocationReason | back to summary |
|---|---|
| public CRLReason getRevocationReason() Returns the reason the certificate was revoked.
| |
| isNull | back to summary |
|---|---|
| private static boolean isNull(Date revocationDate, CRLReason reason, X500Principal authority, Map<String, Extension> extensions) | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException Hides java. Deserialize the
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream oos) throws IOException Hides java. Serialize this
| |