public class X509CRLEntryObject extends X509CRLEntry
Constructor and Description |
---|
X509CRLEntryObject(TBSCertList.CRLEntry c) |
X509CRLEntryObject(TBSCertList.CRLEntry c,
boolean isIndirect,
X500Principal previousCertificateIssuer)
Constructor for CRLEntries of indirect CRLs.
|
Modifier and Type | Method and Description |
---|---|
X500Principal |
getCertificateIssuer() |
Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded() |
byte[] |
getExtensionValue(String oid) |
Set |
getNonCriticalExtensionOIDs() |
Date |
getRevocationDate() |
BigInteger |
getSerialNumber() |
boolean |
hasExtensions() |
int |
hashCode()
Cache the hashCode value - calculating it with the standard method.
|
boolean |
hasUnsupportedCriticalExtension()
Will return true if any extensions are present and marked as critical as
we currently dont handle any extensions!
|
String |
toString() |
equals, getRevocationReason
public X509CRLEntryObject(TBSCertList.CRLEntry c)
public X509CRLEntryObject(TBSCertList.CRLEntry c, boolean isIndirect, X500Principal previousCertificateIssuer)
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()
.c
- TBSCertList.CRLEntry object.isIndirect
- true
if the corresponding CRL is a indirect
CRL.previousCertificateIssuer
- Certificate issuer of the previous CRLEntry.public boolean hasUnsupportedCriticalExtension()
public X500Principal getCertificateIssuer()
getCertificateIssuer
in class X509CRLEntry
public Set getCriticalExtensionOIDs()
public Set getNonCriticalExtensionOIDs()
public byte[] getExtensionValue(String oid)
public int hashCode()
hashCode
in class X509CRLEntry
public byte[] getEncoded() throws CRLException
getEncoded
in class X509CRLEntry
CRLException
public BigInteger getSerialNumber()
getSerialNumber
in class X509CRLEntry
public Date getRevocationDate()
getRevocationDate
in class X509CRLEntry
public boolean hasExtensions()
hasExtensions
in class X509CRLEntry
public String toString()
toString
in class X509CRLEntry
Copyright © 2015. All rights reserved.