Package org.bouncycastle.asn1.x509
Class TBSCertList
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.TBSCertList
-
- All Implemented Interfaces:
ASN1Encodable,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 static classTBSCertList.CRLEntry
-
Constructor Summary
Constructors Constructor Description TBSCertList(ASN1Sequence seq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionsgetExtensions()static TBSCertListgetInstance(java.lang.Object obj)static TBSCertListgetInstance(ASN1TaggedObject obj, boolean explicit)X500NamegetIssuer()TimegetNextUpdate()java.util.EnumerationgetRevokedCertificateEnumeration()TBSCertList.CRLEntry[]getRevokedCertificates()AlgorithmIdentifiergetSignature()TimegetThisUpdate()ASN1IntegergetVersion()intgetVersionNumber()ASN1PrimitivetoASN1Primitive()Method providing a primitive representation of this object suitable for encoding.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
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)
-
getVersionNumber
public int getVersionNumber()
-
getVersion
public ASN1Integer getVersion()
-
getSignature
public AlgorithmIdentifier getSignature()
-
getIssuer
public X500Name getIssuer()
-
getThisUpdate
public Time getThisUpdate()
-
getNextUpdate
public Time getNextUpdate()
-
getRevokedCertificates
public TBSCertList.CRLEntry[] getRevokedCertificates()
-
getRevokedCertificateEnumeration
public java.util.Enumeration getRevokedCertificateEnumeration()
-
getExtensions
public Extensions getExtensions()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from class:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-
-