org.apache.geronimo.crypto.asn1.x509
Class TBSCertList
java.lang.Object
org.apache.geronimo.crypto.asn1.ASN1Encodable
org.apache.geronimo.crypto.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
}
TBSCertList
public TBSCertList(ASN1Sequence seq)
getInstance
public static TBSCertList getInstance(ASN1TaggedObject obj,
boolean explicit)
getInstance
public static TBSCertList getInstance(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
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.