public class X509CRLHolder extends Object
| Constructor and Description |
|---|
X509CRLHolder(byte[] crlEncoding)
Create a X509CRLHolder from the passed in bytes.
|
X509CRLHolder(CertificateList x509CRL)
Create a X509CRLHolder from the passed in ASN.1 structure.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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.
|
X509Extension |
getExtension(ASN1ObjectIdentifier oid)
Look up the extension associated with the passed in OID.
|
List |
getExtensionOIDs()
Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the
extensions contained in this holder's CRL.
|
X500Name |
getIssuer()
Return the issuer of this holder's CRL.
|
Set |
getNonCriticalExtensionOIDs()
Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the
non-critical extensions contained in this holder's CRL.
|
X509CRLEntryHolder |
getRevokedCertificate(BigInteger serialNumber) |
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(ContentVerifierProvider verifierProvider)
Validate the signature on the CRL.
|
CertificateList |
toASN1Structure()
Return the underlying ASN.1 structure for the CRL in this holder.
|
public X509CRLHolder(byte[] crlEncoding)
throws IOException
crlEncoding - BER/DER encoding of the CRLIOException - in the event of corrupted data, or an incorrect structure.public X509CRLHolder(CertificateList x509CRL)
x509CRL - an ASN.1 CertificateList structure.public byte[] getEncoded()
throws IOException
IOException - if an encoding cannot be generated.public X500Name getIssuer()
public X509CRLEntryHolder getRevokedCertificate(BigInteger serialNumber)
public Collection getRevokedCertificates()
public boolean hasExtensions()
public X509Extension getExtension(ASN1ObjectIdentifier oid)
oid - the OID of the extension of interest.public List getExtensionOIDs()
public Set getCriticalExtensionOIDs()
public Set getNonCriticalExtensionOIDs()
public CertificateList toASN1Structure()
public boolean isSignatureValid(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.Copyright © 2015. All rights reserved.