public class

X509CRLEntryObject

extends X509CRLEntry
java.lang.Object
   ↳ java.security.cert.X509CRLEntry
     ↳ org.bouncycastle.jce.provider.X509CRLEntryObject

Class Overview

The following extensions are listed in RFC 2459 as relevant to CRL Entries ReasonCode Hode Instruction Code Invalidity Date Certificate Issuer (critical)

Summary

Public Constructors
X509CRLEntryObject(TBSCertList.CRLEntry c)
X509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Principal previousCertificateIssuer)
Constructor for CRLEntries of indirect CRLs.
Public Methods
X500Principal getCertificateIssuer()
Set getCriticalExtensionOIDs()
byte[] getEncoded()
byte[] getExtensionValue(String oid)
Set getNonCriticalExtensionOIDs()
Date getRevocationDate()
BigInteger getSerialNumber()
boolean hasExtensions()
boolean hasUnsupportedCriticalExtension()
Will return true if any extensions are present and marked as critical as we currently dont handle any extensions!
int hashCode()
Cache the hashCode value - calculating it with the standard method.
String toString()
[Expand]
Inherited Methods
From class java.security.cert.X509CRLEntry
From class java.lang.Object
From interface java.security.cert.X509Extension

Public Constructors

public X509CRLEntryObject (TBSCertList.CRLEntry c)

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.

Public Methods

public X500Principal getCertificateIssuer ()

public Set getCriticalExtensionOIDs ()

public byte[] getEncoded ()

Throws
CRLException

public byte[] getExtensionValue (String oid)

public Set getNonCriticalExtensionOIDs ()

public Date getRevocationDate ()

public BigInteger getSerialNumber ()

public boolean hasExtensions ()

public boolean hasUnsupportedCriticalExtension ()

Will return true if any extensions are present and marked as critical as we currently dont handle any extensions!

public int hashCode ()

Cache the hashCode value - calculating it with the standard method.

Returns
  • calculated hashCode.

public String toString ()