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
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.byte[]
Deprecated.byte[]
getExtensionValue
(String oid) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getRevokedCertificate
(BigInteger serialNumber) Deprecated.Deprecated.Deprecated.Deprecated.byte[]
Deprecated.byte[]
Deprecated.byte[]
Deprecated.Deprecated.int
Deprecated.int
hashCode()
Deprecated.boolean
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.toString()
Deprecated.Returns a string representation of this CRL.void
Deprecated.void
Deprecated.void
Deprecated.Methods inherited from class java.security.cert.X509CRL
getRevokedCertificate
-
Constructor Details
-
X509CRLObject
Deprecated.- Throws:
CRLException
-
-
Method Details
-
isIndirectCRL
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
Deprecated. -
getNonCriticalExtensionOIDs
Deprecated. -
getExtensionValue
Deprecated. -
getEncoded
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
Deprecated.- Specified by:
getIssuerDN
in classX509CRL
-
getIssuerX500Principal
Deprecated.- Overrides:
getIssuerX500Principal
in classX509CRL
-
getThisUpdate
Deprecated.- Specified by:
getThisUpdate
in classX509CRL
-
getNextUpdate
Deprecated.- Specified by:
getNextUpdate
in classX509CRL
-
getRevokedCertificate
Deprecated.- Specified by:
getRevokedCertificate
in classX509CRL
-
getRevokedCertificates
Deprecated.- Specified by:
getRevokedCertificates
in classX509CRL
-
getTBSCertList
Deprecated.- Specified by:
getTBSCertList
in classX509CRL
- Throws:
CRLException
-
getSignature
public byte[] getSignature()Deprecated.- Specified by:
getSignature
in classX509CRL
-
getSigAlgName
Deprecated.- Specified by:
getSigAlgName
in classX509CRL
-
getSigAlgOID
Deprecated.- Specified by:
getSigAlgOID
in classX509CRL
-
getSigAlgParams
public byte[] getSigAlgParams()Deprecated.- Specified by:
getSigAlgParams
in classX509CRL
-
toString
Deprecated.Returns a string representation of this CRL. -
isRevoked
Deprecated.Checks whether the given certificate is on this CRL. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-