org.gudy.bouncycastle.jce.provider
Class X509CRLEntryObject

java.lang.Object
  extended by java.security.cert.X509CRLEntry
      extended by org.gudy.bouncycastle.jce.provider.X509CRLEntryObject
All Implemented Interfaces:
X509Extension

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)
           
 
Method Summary
 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!
 String toString()
           
 
Methods inherited from class java.security.cert.X509CRLEntry
equals, getCertificateIssuer, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

X509CRLEntryObject

public X509CRLEntryObject(TBSCertList.CRLEntry c)
Method Detail

hasUnsupportedCriticalExtension

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


getCriticalExtensionOIDs

public Set getCriticalExtensionOIDs()

getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()

getExtensionValue

public byte[] getExtensionValue(String oid)

getEncoded

public byte[] getEncoded()
                  throws CRLException
Specified by:
getEncoded in class X509CRLEntry
Throws:
CRLException

getSerialNumber

public BigInteger getSerialNumber()
Specified by:
getSerialNumber in class X509CRLEntry

getRevocationDate

public Date getRevocationDate()
Specified by:
getRevocationDate in class X509CRLEntry

hasExtensions

public boolean hasExtensions()
Specified by:
hasExtensions in class X509CRLEntry

toString

public String toString()
Specified by:
toString in class X509CRLEntry