org.bouncycastle.asn1.x509
Class TBSCertList
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.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
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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
TBSCertList
public TBSCertList(ASN1Sequence seq)
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 class ASN1Encodable