Package org.bouncycastle.cert
Class X509CRLEntryHolder
java.lang.Object
org.bouncycastle.cert.X509CRLEntryHolder
Holding class for an X.509 CRL Entry structure.
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.GeneralNames
Return the available names for the certificate issuer for the certificate referred to by this CRL entry.Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.org.bouncycastle.asn1.x509.Extension
getExtension
(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) Look up the extension associated with the passed in OID.Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.org.bouncycastle.asn1.x509.Extensions
Return the extensions block associated with this CRL entry if there is one.Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the non-critical extensions contained in this holder's CRL entry.Return the date on which the certificate associated with this CRLEntry was revoked.Return the serial number of the certificate associated with this CRLEntry.boolean
Return whether or not the holder's CRL entry contains extensions.
-
Method Details
-
getSerialNumber
Return the serial number of the certificate associated with this CRLEntry.- Returns:
- the revoked certificate's serial number.
-
getRevocationDate
Return the date on which the certificate associated with this CRLEntry was revoked.- Returns:
- the revocation date for the revoked certificate.
-
hasExtensions
public boolean hasExtensions()Return whether or not the holder's CRL entry contains extensions.- Returns:
- true if extension are present, false otherwise.
-
getCertificateIssuer
public org.bouncycastle.asn1.x509.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:
- the revoked certificate's issuer.
-
getExtension
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) Look up the extension associated with the passed in OID.- Parameters:
oid
- the OID of the extension of interest.- Returns:
- the extension if present, null otherwise.
-
getExtensions
public org.bouncycastle.asn1.x509.Extensions getExtensions()Return the extensions block associated with this CRL entry if there is one.- Returns:
- the extensions block, null otherwise.
-
getExtensionOIDs
Returns a list of ASN1ObjectIdentifier objects representing the OIDs of the extensions contained in this holder's CRL entry.- Returns:
- a list of extension OIDs.
-
getCriticalExtensionOIDs
Returns a set of ASN1ObjectIdentifier objects representing the OIDs of the critical extensions contained in this holder's CRL entry.- Returns:
- a set of 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.- Returns:
- a set of non-critical extension OIDs.
-