public abstract class X509CRL extends CRL implements X509Extension
| Modifier | Constructor and Description |
|---|---|
protected |
X509CRL()
Constructs a new X509CRL.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Compares this X509CRL to other.
|
abstract byte[] |
getEncoded()
Gets the DER ASN.1 encoded format for this X.509 CRL.
|
abstract java.security.Principal |
getIssuerDN()
Returns the issuer (issuer distinguished name) of the CRL.
|
javax.security.auth.x500.X500Principal |
getIssuerX500Principal()
Returns the X.500 distinguished name of this CRL's issuer.
|
abstract java.util.Date |
getNextUpdate() |
abstract X509CRLEntry |
getRevokedCertificate(java.math.BigInteger serialNumber)
Gets the requeste dX509Entry for the specified
certificate serial number.
|
abstract java.util.Set<? extends X509CRLEntry> |
getRevokedCertificates()
Returns a Set of revoked certificates.
|
abstract java.lang.String |
getSigAlgName()
Returns the signature algorithm used to sign the CRL.
|
abstract java.lang.String |
getSigAlgOID()
Returns the OID for the signature algorithm used.
|
abstract byte[] |
getSigAlgParams()
Returns the AlgorithmParameters in the encoded form
for the signature algorithm used.
|
abstract byte[] |
getSignature()
Returns the signature for the CRL.
|
abstract byte[] |
getTBSCertList()
Returns the DER ASN.1 encoded tbsCertList which is
the basic information of the list and associated certificates
in the encoded state.
|
abstract java.util.Date |
getThisUpdate()
Returns the thisUpdate date of the CRL.
|
abstract int |
getVersion()
Gets the version of this CRL.
|
int |
hashCode()
Returns a hash code for this X509CRL in its encoded
form.
|
abstract void |
verify(java.security.PublicKey key)
Verifies that this CRL was properly signed with the
PublicKey that corresponds to its private key.
|
abstract void |
verify(java.security.PublicKey key,
java.lang.String sigProvider)
Verifies that this CRL was properly signed with the
PublicKey that corresponds to its private key and uses
the signature engine provided by the provider.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCriticalExtensionOIDs, getExtensionValue, getNonCriticalExtensionOIDs, hasUnsupportedCriticalExtensionprotected X509CRL()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - An Object to test for equalityObject.hashCode()public int hashCode()
hashCode in class java.lang.ObjectObject.equals(Object),
System.identityHashCode(Object)public abstract byte[] getEncoded() throws CRLException
CRLException - if an error occurspublic abstract void verify(java.security.PublicKey key) throws CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
key - PublicKey to verify withCRLException - encoding errorjava.security.NoSuchAlgorithmException - unsupported algorithmjava.security.InvalidKeyException - incorrect keyjava.security.NoSuchProviderException - no providerjava.security.SignatureException - signature errorpublic abstract void verify(java.security.PublicKey key, java.lang.String sigProvider) throws CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
key - PublicKey to verify withsigProvider - Provider to use for signature algorithmCRLException - encoding errorjava.security.NoSuchAlgorithmException - unsupported algorithmjava.security.InvalidKeyException - incorrect keyjava.security.NoSuchProviderException - incorrect providerjava.security.SignatureException - signature errorpublic abstract int getVersion()
public abstract java.security.Principal getIssuerDN()
public abstract java.util.Date getThisUpdate()
public abstract java.util.Date getNextUpdate()
public abstract X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNumber)
public abstract java.util.Set<? extends X509CRLEntry> getRevokedCertificates()
public abstract byte[] getTBSCertList() throws CRLException
CRLExceptionpublic abstract byte[] getSignature()
public abstract java.lang.String getSigAlgName()
public abstract java.lang.String getSigAlgOID()
public abstract byte[] getSigAlgParams()
public javax.security.auth.x500.X500Principal getIssuerX500Principal()