Package org.bouncycastle.jce.provider
Class X509CRLObject
- java.lang.Object
-
- java.security.cert.CRL
-
- java.security.cert.X509CRL
-
- org.bouncycastle.jce.provider.X509CRLObject
-
- All Implemented Interfaces:
X509Extension
public class X509CRLObject extends X509CRL
Deprecated.Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.The following extensions are listed in RFC 2459 as relevant to CRLs Authority Key Identifier Issuer Alternative Name CRL Number Delta CRL Indicator (critical) Issuing Distribution Point (critical)
-
-
Constructor Summary
Constructors Constructor Description X509CRLObject(CertificateList c)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object other)
Deprecated.Set
getCriticalExtensionOIDs()
Deprecated.byte[]
getEncoded()
Deprecated.byte[]
getExtensionValue(String oid)
Deprecated.Principal
getIssuerDN()
Deprecated.X500Principal
getIssuerX500Principal()
Deprecated.Date
getNextUpdate()
Deprecated.Set
getNonCriticalExtensionOIDs()
Deprecated.X509CRLEntry
getRevokedCertificate(BigInteger serialNumber)
Deprecated.Set
getRevokedCertificates()
Deprecated.String
getSigAlgName()
Deprecated.String
getSigAlgOID()
Deprecated.byte[]
getSigAlgParams()
Deprecated.byte[]
getSignature()
Deprecated.byte[]
getTBSCertList()
Deprecated.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(X509CRL crl)
Deprecated.boolean
isRevoked(Certificate cert)
Deprecated.Checks whether the given certificate is on this CRL.String
toString()
Deprecated.Returns a string representation of this CRL.void
verify(PublicKey key)
Deprecated.void
verify(PublicKey key, String sigProvider)
Deprecated.void
verify(PublicKey key, Provider sigProvider)
Deprecated.-
Methods inherited from class java.security.cert.X509CRL
getRevokedCertificate
-
-
-
-
Constructor Detail
-
X509CRLObject
public X509CRLObject(CertificateList c) throws CRLException
Deprecated.- Throws:
CRLException
-
-
Method Detail
-
isIndirectCRL
public static boolean isIndirectCRL(X509CRL crl) throws CRLException
Deprecated.- Throws:
CRLException
-
hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()
Deprecated.Will return true if any extensions are present and marked as critical as we currently dont handle any extensions!
-
getCriticalExtensionOIDs
public Set getCriticalExtensionOIDs()
Deprecated.
-
getNonCriticalExtensionOIDs
public Set getNonCriticalExtensionOIDs()
Deprecated.
-
getExtensionValue
public byte[] getExtensionValue(String oid)
Deprecated.
-
getEncoded
public byte[] getEncoded() throws CRLException
Deprecated.- Specified by:
getEncoded
in classX509CRL
- Throws:
CRLException
-
verify
public void verify(PublicKey key) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
Deprecated.- Specified by:
verify
in classX509CRL
- Throws:
CRLException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
-
verify
public void verify(PublicKey key, String sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
Deprecated.- Specified by:
verify
in classX509CRL
- Throws:
CRLException
NoSuchAlgorithmException
InvalidKeyException
NoSuchProviderException
SignatureException
-
verify
public void verify(PublicKey key, Provider sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, SignatureException
Deprecated.- Overrides:
verify
in classX509CRL
- Throws:
CRLException
NoSuchAlgorithmException
InvalidKeyException
SignatureException
-
getVersion
public int getVersion()
Deprecated.- Specified by:
getVersion
in classX509CRL
-
getIssuerDN
public Principal getIssuerDN()
Deprecated.- Specified by:
getIssuerDN
in classX509CRL
-
getIssuerX500Principal
public X500Principal getIssuerX500Principal()
Deprecated.- Overrides:
getIssuerX500Principal
in classX509CRL
-
getThisUpdate
public Date getThisUpdate()
Deprecated.- Specified by:
getThisUpdate
in classX509CRL
-
getNextUpdate
public Date getNextUpdate()
Deprecated.- Specified by:
getNextUpdate
in classX509CRL
-
getRevokedCertificate
public X509CRLEntry getRevokedCertificate(BigInteger serialNumber)
Deprecated.- Specified by:
getRevokedCertificate
in classX509CRL
-
getRevokedCertificates
public Set getRevokedCertificates()
Deprecated.- Specified by:
getRevokedCertificates
in classX509CRL
-
getTBSCertList
public byte[] getTBSCertList() throws CRLException
Deprecated.- Specified by:
getTBSCertList
in classX509CRL
- Throws:
CRLException
-
getSignature
public byte[] getSignature()
Deprecated.- Specified by:
getSignature
in classX509CRL
-
getSigAlgName
public String getSigAlgName()
Deprecated.- Specified by:
getSigAlgName
in classX509CRL
-
getSigAlgOID
public String getSigAlgOID()
Deprecated.- Specified by:
getSigAlgOID
in classX509CRL
-
getSigAlgParams
public byte[] getSigAlgParams()
Deprecated.- Specified by:
getSigAlgParams
in classX509CRL
-
toString
public String toString()
Deprecated.Returns a string representation of this CRL.
-
isRevoked
public boolean isRevoked(Certificate cert)
Deprecated.Checks whether the given certificate is on this CRL.
-
-