public class X509CRLObject
extends java.security.cert.X509CRL
Constructor and Description |
---|
X509CRLObject(CertificateList c)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Deprecated.
|
java.util.Set |
getCriticalExtensionOIDs()
Deprecated.
|
byte[] |
getEncoded()
Deprecated.
|
byte[] |
getExtensionValue(java.lang.String oid)
Deprecated.
|
java.security.Principal |
getIssuerDN()
Deprecated.
|
javax.security.auth.x500.X500Principal |
getIssuerX500Principal()
Deprecated.
|
java.util.Date |
getNextUpdate()
Deprecated.
|
java.util.Set |
getNonCriticalExtensionOIDs()
Deprecated.
|
java.security.cert.X509CRLEntry |
getRevokedCertificate(java.math.BigInteger serialNumber)
Deprecated.
|
java.util.Set |
getRevokedCertificates()
Deprecated.
|
java.lang.String |
getSigAlgName()
Deprecated.
|
java.lang.String |
getSigAlgOID()
Deprecated.
|
byte[] |
getSigAlgParams()
Deprecated.
|
byte[] |
getSignature()
Deprecated.
|
byte[] |
getTBSCertList()
Deprecated.
|
java.util.Date |
getThisUpdate()
Deprecated.
|
int |
getVersion()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
hasUnsupportedCriticalExtension()
Deprecated.
Will return true if any extensions are present and marked
as critical as we currently dont handle any extensions!
|
static boolean |
isIndirectCRL(java.security.cert.X509CRL crl)
Deprecated.
|
boolean |
isRevoked(java.security.cert.Certificate cert)
Deprecated.
Checks whether the given certificate is on this CRL.
|
java.lang.String |
toString()
Deprecated.
Returns a string representation of this CRL.
|
void |
verify(java.security.PublicKey key)
Deprecated.
|
void |
verify(java.security.PublicKey key,
java.security.Provider sigProvider)
Deprecated.
|
void |
verify(java.security.PublicKey key,
java.lang.String sigProvider)
Deprecated.
|
public X509CRLObject(CertificateList c) throws java.security.cert.CRLException
java.security.cert.CRLException
public static boolean isIndirectCRL(java.security.cert.X509CRL crl) throws java.security.cert.CRLException
java.security.cert.CRLException
public boolean hasUnsupportedCriticalExtension()
public java.util.Set getCriticalExtensionOIDs()
public java.util.Set getNonCriticalExtensionOIDs()
public byte[] getExtensionValue(java.lang.String oid)
public byte[] getEncoded() throws java.security.cert.CRLException
getEncoded
in class java.security.cert.X509CRL
java.security.cert.CRLException
public void verify(java.security.PublicKey key) throws java.security.cert.CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
verify
in class java.security.cert.X509CRL
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public void verify(java.security.PublicKey key, java.lang.String sigProvider) throws java.security.cert.CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
verify
in class java.security.cert.X509CRL
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
public void verify(java.security.PublicKey key, java.security.Provider sigProvider) throws java.security.cert.CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.SignatureException
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.SignatureException
public int getVersion()
getVersion
in class java.security.cert.X509CRL
public java.security.Principal getIssuerDN()
getIssuerDN
in class java.security.cert.X509CRL
public javax.security.auth.x500.X500Principal getIssuerX500Principal()
getIssuerX500Principal
in class java.security.cert.X509CRL
public java.util.Date getThisUpdate()
getThisUpdate
in class java.security.cert.X509CRL
public java.util.Date getNextUpdate()
getNextUpdate
in class java.security.cert.X509CRL
public java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNumber)
getRevokedCertificate
in class java.security.cert.X509CRL
public java.util.Set getRevokedCertificates()
getRevokedCertificates
in class java.security.cert.X509CRL
public byte[] getTBSCertList() throws java.security.cert.CRLException
getTBSCertList
in class java.security.cert.X509CRL
java.security.cert.CRLException
public byte[] getSignature()
getSignature
in class java.security.cert.X509CRL
public java.lang.String getSigAlgName()
getSigAlgName
in class java.security.cert.X509CRL
public java.lang.String getSigAlgOID()
getSigAlgOID
in class java.security.cert.X509CRL
public byte[] getSigAlgParams()
getSigAlgParams
in class java.security.cert.X509CRL
public java.lang.String toString()
toString
in class java.security.cert.CRL
public boolean isRevoked(java.security.cert.Certificate cert)
isRevoked
in class java.security.cert.CRL
cert
- the certificate to check for.public boolean equals(java.lang.Object other)
equals
in class java.security.cert.X509CRL
public int hashCode()
hashCode
in class java.security.cert.X509CRL