Package org.gudy.bouncycastle.asn1.x509
Class TBSCertList
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.TBSCertList
-
- All Implemented Interfaces:
DEREncodable
public class TBSCertList extends ASN1Encodable
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 static class
TBSCertList.CRLEntry
-
Field Summary
Fields Modifier and Type Field Description (package private) X509Extensions
crlExtensions
(package private) X509Name
issuer
(package private) Time
nextUpdate
(package private) TBSCertList.CRLEntry[]
revokedCertificates
(package private) ASN1Sequence
seq
(package private) AlgorithmIdentifier
signature
(package private) Time
thisUpdate
(package private) DERInteger
version
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Constructor Description TBSCertList(ASN1Sequence seq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Extensions
getExtensions()
static TBSCertList
getInstance(java.lang.Object obj)
static TBSCertList
getInstance(ASN1TaggedObject obj, boolean explicit)
X509Name
getIssuer()
Time
getNextUpdate()
TBSCertList.CRLEntry[]
getRevokedCertificates()
AlgorithmIdentifier
getSignature()
Time
getThisUpdate()
int
getVersion()
DERInteger
getVersionNumber()
DERObject
toASN1Object()
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
seq
ASN1Sequence seq
-
version
DERInteger version
-
signature
AlgorithmIdentifier signature
-
issuer
X509Name issuer
-
thisUpdate
Time thisUpdate
-
nextUpdate
Time nextUpdate
-
revokedCertificates
TBSCertList.CRLEntry[] revokedCertificates
-
crlExtensions
X509Extensions crlExtensions
-
-
Constructor Detail
-
TBSCertList
public TBSCertList(ASN1Sequence seq)
-
-
Method Detail
-
getInstance
public static TBSCertList getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
public static TBSCertList getInstance(java.lang.Object obj)
-
getVersion
public int getVersion()
-
getVersionNumber
public DERInteger getVersionNumber()
-
getSignature
public AlgorithmIdentifier getSignature()
-
getIssuer
public X509Name getIssuer()
-
getThisUpdate
public Time getThisUpdate()
-
getNextUpdate
public Time getNextUpdate()
-
getRevokedCertificates
public TBSCertList.CRLEntry[] getRevokedCertificates()
-
getExtensions
public X509Extensions getExtensions()
-
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in classASN1Encodable
-
-