public class Certificate extends ASN1Object
Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }
Modifier and Type | Field and Description |
---|---|
(package private) ASN1Sequence |
seq |
(package private) DERBitString |
sig |
(package private) AlgorithmIdentifier |
sigAlgId |
(package private) TBSCertificate |
tbsCert |
Modifier | Constructor and Description |
---|---|
private |
Certificate(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
Time |
getEndDate() |
static Certificate |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static Certificate |
getInstance(Object obj) |
X500Name |
getIssuer() |
ASN1Integer |
getSerialNumber() |
DERBitString |
getSignature() |
AlgorithmIdentifier |
getSignatureAlgorithm() |
Time |
getStartDate() |
X500Name |
getSubject() |
SubjectPublicKeyInfo |
getSubjectPublicKeyInfo() |
TBSCertificate |
getTBSCertificate() |
ASN1Integer |
getVersion() |
int |
getVersionNumber() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
ASN1Sequence seq
TBSCertificate tbsCert
AlgorithmIdentifier sigAlgId
DERBitString sig
private Certificate(ASN1Sequence seq)
public static Certificate getInstance(ASN1TaggedObject obj, boolean explicit)
public static Certificate getInstance(Object obj)
public TBSCertificate getTBSCertificate()
public ASN1Integer getVersion()
public int getVersionNumber()
public ASN1Integer getSerialNumber()
public Time getStartDate()
public Time getEndDate()
public X500Name getSubject()
public SubjectPublicKeyInfo getSubjectPublicKeyInfo()
public AlgorithmIdentifier getSignatureAlgorithm()
public DERBitString getSignature()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object