org.bouncycastle.jce.provider

Class X509CRLEntryObject

public class X509CRLEntryObject extends X509CRLEntry

The following extensions are listed in RFC 2459 as relevant to CRL Entries ReasonCode Hode Instruction Code Invalidity Date Certificate Issuer (critical)
Constructor Summary
X509CRLEntryObject(TBSCertList.CRLEntry c)
X509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Principal previousCertificateIssuer)
Constructor for CRLEntries of indirect CRLs.
Method Summary
X500PrincipalgetCertificateIssuer()
SetgetCriticalExtensionOIDs()
byte[]getEncoded()
byte[]getExtensionValue(String oid)
SetgetNonCriticalExtensionOIDs()
DategetRevocationDate()
BigIntegergetSerialNumber()
booleanhasExtensions()
booleanhasUnsupportedCriticalExtension()
Will return true if any extensions are present and marked as critical as we currently dont handle any extensions!
StringtoString()

Constructor Detail

X509CRLEntryObject

public X509CRLEntryObject(TBSCertList.CRLEntry c)

X509CRLEntryObject

public X509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Principal previousCertificateIssuer)
Constructor for CRLEntries of indirect CRLs. If isIndirect is false getCertificateIssuer will always return null, previousCertificateIssuer is ignored. If this isIndirect is specified and this CRLEntry has no certificate issuer CRL entry extension previousCertificateIssuer is returned by getCertificateIssuer.

Parameters: c TBSCertList.CRLEntry object. isIndirect true if the corresponding CRL is a indirect CRL. previousCertificateIssuer Certificate issuer of the previous CRLEntry.

Method Detail

getCertificateIssuer

public X500Principal getCertificateIssuer()

getCriticalExtensionOIDs

public Set getCriticalExtensionOIDs()

getEncoded

public byte[] getEncoded()

getExtensionValue

public byte[] getExtensionValue(String oid)

getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()

getRevocationDate

public Date getRevocationDate()

getSerialNumber

public BigInteger getSerialNumber()

hasExtensions

public boolean hasExtensions()

hasUnsupportedCriticalExtension

public boolean hasUnsupportedCriticalExtension()
Will return true if any extensions are present and marked as critical as we currently dont handle any extensions!

toString

public String toString()