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:
java.security.cert.X509Extension
public class X509CRLObject extends java.security.cert.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(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.lang.String sigProvider)
Deprecated.void
verify(java.security.PublicKey key, java.security.Provider sigProvider)
Deprecated.
-
-
-
Constructor Detail
-
X509CRLObject
public X509CRLObject(CertificateList c) throws java.security.cert.CRLException
Deprecated.- Throws:
java.security.cert.CRLException
-
-
Method Detail
-
isIndirectCRL
public static boolean isIndirectCRL(java.security.cert.X509CRL crl) throws java.security.cert.CRLException
Deprecated.- Throws:
java.security.cert.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 java.util.Set getCriticalExtensionOIDs()
Deprecated.
-
getNonCriticalExtensionOIDs
public java.util.Set getNonCriticalExtensionOIDs()
Deprecated.
-
getExtensionValue
public byte[] getExtensionValue(java.lang.String oid)
Deprecated.
-
getEncoded
public byte[] getEncoded() throws java.security.cert.CRLException
Deprecated.- Specified by:
getEncoded
in classjava.security.cert.X509CRL
- Throws:
java.security.cert.CRLException
-
verify
public void verify(java.security.PublicKey key) throws java.security.cert.CRLException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.NoSuchProviderException, java.security.SignatureException
Deprecated.- Specified by:
verify
in classjava.security.cert.X509CRL
- Throws:
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
-
verify
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
Deprecated.- Specified by:
verify
in classjava.security.cert.X509CRL
- Throws:
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.NoSuchProviderException
java.security.SignatureException
-
verify
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
Deprecated.- Overrides:
verify
in classjava.security.cert.X509CRL
- Throws:
java.security.cert.CRLException
java.security.NoSuchAlgorithmException
java.security.InvalidKeyException
java.security.SignatureException
-
getVersion
public int getVersion()
Deprecated.- Specified by:
getVersion
in classjava.security.cert.X509CRL
-
getIssuerDN
public java.security.Principal getIssuerDN()
Deprecated.- Specified by:
getIssuerDN
in classjava.security.cert.X509CRL
-
getIssuerX500Principal
public javax.security.auth.x500.X500Principal getIssuerX500Principal()
Deprecated.- Overrides:
getIssuerX500Principal
in classjava.security.cert.X509CRL
-
getThisUpdate
public java.util.Date getThisUpdate()
Deprecated.- Specified by:
getThisUpdate
in classjava.security.cert.X509CRL
-
getNextUpdate
public java.util.Date getNextUpdate()
Deprecated.- Specified by:
getNextUpdate
in classjava.security.cert.X509CRL
-
getRevokedCertificate
public java.security.cert.X509CRLEntry getRevokedCertificate(java.math.BigInteger serialNumber)
Deprecated.- Specified by:
getRevokedCertificate
in classjava.security.cert.X509CRL
-
getRevokedCertificates
public java.util.Set getRevokedCertificates()
Deprecated.- Specified by:
getRevokedCertificates
in classjava.security.cert.X509CRL
-
getTBSCertList
public byte[] getTBSCertList() throws java.security.cert.CRLException
Deprecated.- Specified by:
getTBSCertList
in classjava.security.cert.X509CRL
- Throws:
java.security.cert.CRLException
-
getSignature
public byte[] getSignature()
Deprecated.- Specified by:
getSignature
in classjava.security.cert.X509CRL
-
getSigAlgName
public java.lang.String getSigAlgName()
Deprecated.- Specified by:
getSigAlgName
in classjava.security.cert.X509CRL
-
getSigAlgOID
public java.lang.String getSigAlgOID()
Deprecated.- Specified by:
getSigAlgOID
in classjava.security.cert.X509CRL
-
getSigAlgParams
public byte[] getSigAlgParams()
Deprecated.- Specified by:
getSigAlgParams
in classjava.security.cert.X509CRL
-
toString
public java.lang.String toString()
Deprecated.Returns a string representation of this CRL.- Specified by:
toString
in classjava.security.cert.CRL
- Returns:
- a string representation of this CRL.
-
isRevoked
public boolean isRevoked(java.security.cert.Certificate cert)
Deprecated.Checks whether the given certificate is on this CRL.- Specified by:
isRevoked
in classjava.security.cert.CRL
- Parameters:
cert
- the certificate to check for.- Returns:
- true if the given certificate is on this CRL, false otherwise.
-
equals
public boolean equals(java.lang.Object other)
Deprecated.- Overrides:
equals
in classjava.security.cert.X509CRL
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.security.cert.X509CRL
-
-