public class Certificate extends ASN1Object
Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }
Modifier and Type | Method and Description |
---|---|
Time |
getEndDate() |
static Certificate |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static Certificate |
getInstance(java.lang.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
public static Certificate getInstance(ASN1TaggedObject obj, boolean explicit)
public static Certificate getInstance(java.lang.Object obj)
public TBSCertificate getTBSCertificate()
public ASN1Integer getVersion()
public int getVersionNumber()
public ASN1Integer getSerialNumber()
public X500Name getIssuer()
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