Package org.bouncycastle.jce.provider
Class X509CRLEntryObject
java.lang.Object
java.security.cert.X509CRLEntry
org.bouncycastle.jce.provider.X509CRLEntryObject
- All Implemented Interfaces:
X509Extension
The following extensions are listed in RFC 2459 as relevant to CRL Entries
ReasonCode Hode Instruction Code Invalidity Date Certificate Issuer
(critical)
-
Constructor Summary
ConstructorsConstructorDescriptionX509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Name previousCertificateIssuer) Constructor for CRLEntries of indirect CRLs. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]byte[]getExtensionValue(String oid) booleaninthashCode()Cache the hashCode value - calculating it with the standard method.booleanWill return true if any extensions are present and marked as critical as we currently don't handle any extensions!toString()Methods inherited from class java.security.cert.X509CRLEntry
getRevocationReason
-
Constructor Details
-
X509CRLEntryObject
-
X509CRLEntryObject
public X509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Name previousCertificateIssuer) Constructor for CRLEntries of indirect CRLs. IfisIndirectisfalsegetCertificateIssuer()will always returnnull,previousCertificateIssueris ignored. If thisisIndirectis specified and this CRLEntry has no certificate issuer CRL entry extensionpreviousCertificateIssueris returned bygetCertificateIssuer().- Parameters:
c- TBSCertList.CRLEntry object.isIndirect-trueif the corresponding CRL is a indirect CRL.previousCertificateIssuer- Certificate issuer of the previous CRLEntry.
-
-
Method Details
-
hasUnsupportedCriticalExtension
public boolean hasUnsupportedCriticalExtension()Will return true if any extensions are present and marked as critical as we currently don't handle any extensions! -
getCertificateIssuer
- Overrides:
getCertificateIssuerin classX509CRLEntry
-
getCriticalExtensionOIDs
-
getNonCriticalExtensionOIDs
-
getExtensionValue
-
hashCode
public int hashCode()Cache the hashCode value - calculating it with the standard method.- Overrides:
hashCodein classX509CRLEntry- Returns:
- calculated hashCode.
-
equals
- Overrides:
equalsin classX509CRLEntry
-
getEncoded
- Specified by:
getEncodedin classX509CRLEntry- Throws:
CRLException
-
getSerialNumber
- Specified by:
getSerialNumberin classX509CRLEntry
-
getRevocationDate
- Specified by:
getRevocationDatein classX509CRLEntry
-
hasExtensions
public boolean hasExtensions()- Specified by:
hasExtensionsin classX509CRLEntry
-
toString
- Specified by:
toStringin classX509CRLEntry
-