Class Certificate
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class Certificate extends ASN1Object
an X509Certificate structure.
Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }
-
-
Method Summary
Modifier and Type Method Description static Certificate
getInstance(ASN1TaggedObject obj, boolean explicit)
static Certificate
getInstance(Object obj)
TBSCertificate
getTBSCertificate()
ASN1Integer
getVersion()
int
getVersionNumber()
ASN1Integer
getSerialNumber()
X500Name
getIssuer()
Time
getStartDate()
Time
getEndDate()
X500Name
getSubject()
SubjectPublicKeyInfo
getSubjectPublicKeyInfo()
AlgorithmIdentifier
getSignatureAlgorithm()
DERBitString
getSignature()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Method Detail
-
getInstance
static Certificate getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static Certificate getInstance(Object obj)
-
getTBSCertificate
TBSCertificate getTBSCertificate()
-
getVersion
ASN1Integer getVersion()
-
getVersionNumber
int getVersionNumber()
-
getSerialNumber
ASN1Integer getSerialNumber()
-
getStartDate
Time getStartDate()
-
getEndDate
Time getEndDate()
-
getSubject
X500Name getSubject()
-
getSubjectPublicKeyInfo
SubjectPublicKeyInfo getSubjectPublicKeyInfo()
-
getSignatureAlgorithm
AlgorithmIdentifier getSignatureAlgorithm()
-
getSignature
DERBitString getSignature()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-