Class X509CRLEntryObject
- java.lang.Object
-
- java.security.cert.X509CRLEntry
-
- org.gudy.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)
-
-
Field Summary
Fields Modifier and Type Field Description private TBSCertList.CRLEntry
c
-
Constructor Summary
Constructors Constructor Description X509CRLEntryObject(TBSCertList.CRLEntry c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set
getCriticalExtensionOIDs()
byte[]
getEncoded()
private java.util.Set
getExtensionOIDs(boolean critical)
byte[]
getExtensionValue(java.lang.String oid)
java.util.Set
getNonCriticalExtensionOIDs()
java.util.Date
getRevocationDate()
java.math.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!java.lang.String
toString()
-
-
-
Field Detail
-
c
private TBSCertList.CRLEntry c
-
-
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!
-
getExtensionOIDs
private java.util.Set getExtensionOIDs(boolean critical)
-
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
- Specified by:
getEncoded
in classjava.security.cert.X509CRLEntry
- Throws:
java.security.cert.CRLException
-
getSerialNumber
public java.math.BigInteger getSerialNumber()
- Specified by:
getSerialNumber
in classjava.security.cert.X509CRLEntry
-
getRevocationDate
public java.util.Date getRevocationDate()
- Specified by:
getRevocationDate
in classjava.security.cert.X509CRLEntry
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensions
in classjava.security.cert.X509CRLEntry
-
toString
public java.lang.String toString()
- Specified by:
toString
in classjava.security.cert.X509CRLEntry
-
-