org.bouncycastle.jce.provider
Class X509CRLEntryObject
java.lang.Object
java.security.cert.X509CRLEntry
org.bouncycastle.jce.provider.X509CRLEntryObject
- All Implemented Interfaces:
- java.security.cert.X509Extension
- public class X509CRLEntryObject
- extends java.security.cert.X509CRLEntry
The following extensions are listed in RFC 2459 as relevant to CRL Entries
ReasonCode Hode Instruction Code Invalidity Date Certificate Issuer
(critical)
Methods inherited from class java.security.cert.X509CRLEntry |
equals, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
X509CRLEntryObject
public X509CRLEntryObject(TBSCertList.CRLEntry c)
X509CRLEntryObject
public X509CRLEntryObject(TBSCertList.CRLEntry c,
boolean isIndirect,
javax.security.auth.x500.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.
hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()
- Will return true if any extensions are present and marked as critical as
we currently dont handle any extensions!
getCertificateIssuer
public javax.security.auth.x500.X500Principal getCertificateIssuer()
getCriticalExtensionOIDs
public java.util.Set getCriticalExtensionOIDs()
getNonCriticalExtensionOIDs
public java.util.Set getNonCriticalExtensionOIDs()
getExtensionValue
public byte[] getExtensionValue(java.lang.String oid)
getEncoded
public byte[] getEncoded()
throws java.security.cert.CRLException
- Throws:
java.security.cert.CRLException
getSerialNumber
public java.math.BigInteger getSerialNumber()
getRevocationDate
public java.util.Date getRevocationDate()
hasExtensions
public boolean hasExtensions()
toString
public java.lang.String toString()