org.bouncycastle.jce.provider
Class X509CRLEntryObject
X509CRLEntry
org.bouncycastle.jce.provider.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)
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()
.
c
- TBSCertList.CRLEntry object.isIndirect
- true
if the corresponding CRL is a indirect
CRL.previousCertificateIssuer
- Certificate issuer of the previous CRLEntry.
getCertificateIssuer
public X500Principal getCertificateIssuer()
getCriticalExtensionOIDs
public Set getCriticalExtensionOIDs()
getEncoded
public byte[] getEncoded()
throws CRLException
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!
hashCode
public int hashCode()
Cache the hashCode value - calculating it with the standard method.
toString
public String toString()