|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.X509CRLHolder
public class X509CRLHolder
Holding class for an X.509 CRL structure.
| Constructor Summary | |
|---|---|
X509CRLHolder(byte[] crlEncoding)
Create a X509CRLHolder from the passed in bytes. |
|
X509CRLHolder(org.bouncycastle.asn1.x509.CertificateList x509CRL)
Create a X509CRLHolder from the passed in ASN.1 structure. |
|
X509CRLHolder(java.io.InputStream crlStream)
Create a X509CRLHolder from the passed in InputStream. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Set |
getCriticalExtensionOIDs()
Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL. |
byte[] |
getEncoded()
Return the ASN.1 encoding of this holder's CRL. |
org.bouncycastle.asn1.x509.Extension |
getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
Look up the extension associated with the passed in OID. |
java.util.List |
getExtensionOIDs()
Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL. |
org.bouncycastle.asn1.x500.X500Name |
getIssuer()
Return the issuer of this holder's CRL. |
java.util.Set |
getNonCriticalExtensionOIDs()
Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL. |
X509CRLEntryHolder |
getRevokedCertificate(java.math.BigInteger serialNumber)
|
java.util.Collection |
getRevokedCertificates()
Return a collection of X509CRLEntryHolder objects, giving the details of the revoked certificates that appear on this CRL. |
boolean |
hasExtensions()
Return whether or not the holder's CRL contains extensions. |
int |
hashCode()
|
boolean |
isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
Validate the signature on the CRL. |
org.bouncycastle.asn1.x509.CertificateList |
toASN1Structure()
Return the underlying ASN.1 structure for the CRL in this holder. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509CRLHolder(byte[] crlEncoding)
throws java.io.IOException
crlEncoding - BER/DER encoding of the CRL
java.io.IOException - in the event of corrupted data, or an incorrect structure.
public X509CRLHolder(java.io.InputStream crlStream)
throws java.io.IOException
crlStream - BER/DER encoded InputStream of the CRL
java.io.IOException - in the event of corrupted data, or an incorrect structure.public X509CRLHolder(org.bouncycastle.asn1.x509.CertificateList x509CRL)
x509CRL - an ASN.1 CertificateList structure.| Method Detail |
|---|
public byte[] getEncoded()
throws java.io.IOException
java.io.IOException - if an encoding cannot be generated.public org.bouncycastle.asn1.x500.X500Name getIssuer()
public X509CRLEntryHolder getRevokedCertificate(java.math.BigInteger serialNumber)
public java.util.Collection getRevokedCertificates()
public boolean hasExtensions()
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
oid - the OID of the extension of interest.
public java.util.List getExtensionOIDs()
public java.util.Set getCriticalExtensionOIDs()
public java.util.Set getNonCriticalExtensionOIDs()
public org.bouncycastle.asn1.x509.CertificateList toASN1Structure()
public boolean isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider verifierProvider)
throws CertException
verifierProvider - a ContentVerifierProvider that can generate a verifier for the signature.
CertException - if the signature cannot be processed or is inappropriate.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||