Top Description Fields Constructors Methods
org.bouncycastle.cert

public Class X509CRLEntryHolder

extends Object
Class Inheritance
Imports
java.math.BigInteger, java.util.Date, .List, .Set, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.Extension, .Extensions, .GeneralNames, .TBSCertList

Holding class for an X.509 CRL Entry structure.

Field Summary

Modifier and TypeField and Description
private GeneralNames
private TBSCertList.CRLEntry

Constructor Summary

AccessConstructor and Description
pack-priv
X509CRLEntryHolder(TBSCertList.CRLEntry entry, boolean isIndirect, GeneralNames previousCA)

Method Summary

Modifier and TypeMethod and Description
public GeneralNames

Returns:

the revoked certificate's issuer.
getCertificateIssuer
()

Return the available names for the certificate issuer for the certificate referred to by this CRL entry.

public Set<E>

Returns:

a set of critical extension OIDs.
getCriticalExtensionOIDs
()

Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.

public Extension

Returns:

the extension if present, null otherwise.
getExtension
(ASN1ObjectIdentifier
the OID of the extension of interest.
oid
)

Look up the extension associated with the passed in OID.

public List<E>

Returns:

a list of extension OIDs.
getExtensionOIDs
()

Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.

public Extensions

Returns:

the extensions block, null otherwise.
getExtensions
()

Return the extensions block associated with this CRL entry if there is one.

public Set<E>

Returns:

a set of non-critical extension OIDs.
getNonCriticalExtensionOIDs
()

Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL entry.

public Date

Returns:

the revocation date for the revoked certificate.
getRevocationDate
()

Return the date on which the certificate associated with this CRLEntry was revoked.

public BigInteger

Returns:

the revoked certificate's serial number.
getSerialNumber
()

Return the serial number of the certificate associated with this CRLEntry.

public boolean

Returns:

true if extension are present, false otherwise.
hasExtensions
()

Return whether or not the holder's CRL entry contains extensions.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

caback to summary
private GeneralNames ca
entryback to summary
private TBSCertList.CRLEntry entry

Constructor Detail

X509CRLEntryHolderback to summary
pack-priv X509CRLEntryHolder(TBSCertList.CRLEntry entry, boolean isIndirect, GeneralNames previousCA)

Method Detail

getCertificateIssuerback to summary
public GeneralNames getCertificateIssuer()

Return the available names for the certificate issuer for the certificate referred to by this CRL entry.

Note

this will be the issuer of the CRL unless it has been specified that the CRL is indirect in the IssuingDistributionPoint extension and either a previous entry, or the current one, has specified a different CA via the certificateIssuer extension.

Returns:GeneralNames

the revoked certificate's issuer.

getCriticalExtensionOIDsback to summary
public Set<E> getCriticalExtensionOIDs()

Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.

Returns:Set<E>

a set of critical extension OIDs.

getExtensionback to summary
public Extension getExtension(ASN1ObjectIdentifier oid)

Look up the extension associated with the passed in OID.

Parameters
oid:ASN1ObjectIdentifier

the OID of the extension of interest.

Returns:Extension

the extension if present, null otherwise.

getExtensionOIDsback to summary
public List<E> getExtensionOIDs()

Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.

Returns:List<E>

a list of extension OIDs.

getExtensionsback to summary
public Extensions getExtensions()

Return the extensions block associated with this CRL entry if there is one.

Returns:Extensions

the extensions block, null otherwise.

getNonCriticalExtensionOIDsback to summary
public Set<E> getNonCriticalExtensionOIDs()

Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL entry.

Returns:Set<E>

a set of non-critical extension OIDs.

getRevocationDateback to summary
public Date getRevocationDate()

Return the date on which the certificate associated with this CRLEntry was revoked.

Returns:Date

the revocation date for the revoked certificate.

getSerialNumberback to summary
public BigInteger getSerialNumber()

Return the serial number of the certificate associated with this CRLEntry.

Returns:BigInteger

the revoked certificate's serial number.

hasExtensionsback to summary
public boolean hasExtensions()

Return whether or not the holder's CRL entry contains extensions.

Returns:boolean

true if extension are present, false otherwise.