Class TBSCertList
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class TBSCertList extends ASN1Object
PKIX RFC-2459 - TBSCertList object.
TBSCertList ::= SEQUENCE { version Version OPTIONAL, -- if present, shall be v2 signature AlgorithmIdentifier, issuer Name, thisUpdate Time, nextUpdate Time OPTIONAL, revokedCertificates SEQUENCE OF SEQUENCE { userCertificate CertificateSerialNumber, revocationDate Time, crlEntryExtensions Extensions OPTIONAL -- if present, shall be v2 } OPTIONAL, crlExtensions [0] EXPLICIT Extensions OPTIONAL -- if present, shall be v2 }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
TBSCertList.CRLEntry
-
Field Summary
Fields Modifier and Type Field Description public ASN1Integer
version
public AlgorithmIdentifier
signature
public X500Name
issuer
public Time
thisUpdate
public Time
nextUpdate
-
Constructor Summary
Constructors Constructor Description TBSCertList(ASN1Sequence seq)
-
Method Summary
Modifier and Type Method Description ASN1Integer
getVersion()
AlgorithmIdentifier
getSignature()
X500Name
getIssuer()
Time
getThisUpdate()
Time
getNextUpdate()
static TBSCertList
getInstance(ASN1TaggedObject obj, boolean explicit)
static TBSCertList
getInstance(Object obj)
int
getVersionNumber()
Array<TBSCertList.CRLEntry>
getRevokedCertificates()
Enumeration
getRevokedCertificateEnumeration()
Extensions
getExtensions()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Constructor Detail
-
TBSCertList
TBSCertList(ASN1Sequence seq)
-
-
Method Detail
-
getVersion
ASN1Integer getVersion()
-
getSignature
AlgorithmIdentifier getSignature()
-
getThisUpdate
Time getThisUpdate()
-
getNextUpdate
Time getNextUpdate()
-
getInstance
static TBSCertList getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static TBSCertList getInstance(Object obj)
-
getVersionNumber
int getVersionNumber()
-
getRevokedCertificates
Array<TBSCertList.CRLEntry> getRevokedCertificates()
-
getRevokedCertificateEnumeration
Enumeration getRevokedCertificateEnumeration()
-
getExtensions
Extensions getExtensions()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-