kz.gamma.hardware.asn1.x509
Class TBSCertList
java.lang.Object
kz.gamma.hardware.asn1.ASN1Encodable
kz.gamma.hardware.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)
- Parameters:
seq -
getInstance
public static TBSCertList getInstance(ASN1TaggedObject obj,
boolean explicit)
- Parameters:
obj - explicit -
- Returns:
getInstance
public static TBSCertList getInstance(java.lang.Object obj)
- Parameters:
obj -
- Returns:
getVersion
public int getVersion()
- Returns:
getVersionNumber
public DERInteger getVersionNumber()
- Returns:
getSignature
public AlgorithmIdentifier getSignature()
- Returns:
getIssuer
public X509Name getIssuer()
- Returns:
getThisUpdate
public Time getThisUpdate()
- Returns:
getNextUpdate
public Time getNextUpdate()
- Returns:
getRevokedCertificates
public TBSCertList.CRLEntry[] getRevokedCertificates()
- Returns:
getExtensions
public X509Extensions getExtensions()
- Returns:
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object in class ASN1Encodable
- Returns:
Copyright © 2013 Gamma Technologies. All Rights Reserved.