java.lang.Object | ||
↳ | java.security.cert.CRL | |
↳ | java.security.cert.X509CRL |
Abstract base class for X.509 certificate revocation lists (CRL).
More information regarding CRL can be found in RFC 2459, "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at http://www.ietf.org/rfc/rfc2459.txt .
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
X509CRL instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether the specified object equals to this instance.
| |||||||||||
Returns this CRL in ASN.1 DER encoded form.
| |||||||||||
Do not use, use
getIssuerX500Principal() instead. | |||||||||||
Returns the issuer distinguished name of this CRL.
| |||||||||||
Returns the
nextUpdate value of this CRL. | |||||||||||
Returns the CRL entry for the specified certificate.
| |||||||||||
Returns the CRL entry with the specified certificate serial number.
| |||||||||||
Returns the set of revoked certificates.
| |||||||||||
Returns the name of the signature algorithm.
| |||||||||||
Returns the OID of the signature algorithm.
| |||||||||||
Returns the parameters of the signature algorithm in DER encoded form.
| |||||||||||
Returns the signature bytes of this CRL.
| |||||||||||
Returns the
tbsCertList information of this CRL in DER encoded
form. | |||||||||||
Returns the
thisUpdate value of this CRL. | |||||||||||
Returns the version number of this CRL.
| |||||||||||
Returns the hashcode of this CRL instance.
| |||||||||||
Verifies this CRL by verifying that this CRL was signed with the
corresponding private key to the specified public key.
| |||||||||||
Verifies this CRL by verifying that this CRL was signed with the
corresponding private key to the specified public key.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.security.cert.CRL
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface java.security.cert.X509Extension
|
Returns whether the specified object equals to this instance.
other | the object to compare. |
---|
true
if the specified object is equal to this, otherwise
false
.Returns this CRL in ASN.1 DER encoded form.
CRLException | if encoding fails. |
---|
Do not use, use getIssuerX500Principal()
instead. Returns
the issuer as an implementation specific Principal object.
Returns the issuer distinguished name of this CRL.
Returns the nextUpdate
value of this CRL.
nextUpdate
value of this CRL, or null
if none
is present.Returns the CRL entry for the specified certificate.
certificate | the certificate to search a CRL entry for. |
---|
null
if not
found.Returns the CRL entry with the specified certificate serial number.
serialNumber | the certificate serial number to search for a CRL entry. |
---|
null
if not found.Returns the set of revoked certificates.
null
if no revoked
certificates are in this CRL.Returns the name of the signature algorithm.
Returns the OID of the signature algorithm.
Returns the parameters of the signature algorithm in DER encoded form.
null
if not present.Returns the signature bytes of this CRL.
Returns the tbsCertList
information of this CRL in DER encoded
form.
CRLException | if encoding fails. |
---|
Returns the thisUpdate
value of this CRL.
thisUpdate
value of this CRL.Returns the version number of this CRL.
Returns the hashcode of this CRL instance.
Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key.
key | the public key to verify this CRL with. |
---|
CRLException | if encoding or decoding fails. |
---|---|
NoSuchAlgorithmException | if a needed algorithm is not present. |
InvalidKeyException | if the specified key is invalid. |
NoSuchProviderException | if no provider can be found. |
SignatureException | if errors occur on signatures. |
Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key. The signature verification engine of the specified provider will be used.
key | the public key to verify this CRL with. |
---|---|
sigProvider | the name of the provider for the signature algorithm. |
CRLException | if encoding decoding fails. |
---|---|
NoSuchAlgorithmException | if a needed algorithm is not present. |
InvalidKeyException | if the specified key is invalid. |
NoSuchProviderException | if the specified provider cannot be found. |
SignatureException | if errors occur on signatures. |