Class X509CertificateStructure
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
,io.anyline.nfc.bouncycastle.asn1.x509.X509ObjectIdentifiers
,io.anyline.nfc.bouncycastle.util.Encodable
public class X509CertificateStructure extends ASN1Object implements X509ObjectIdentifiers, PKCSObjectIdentifiers
an X509Certificate structure.
Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING }
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description X509CertificateStructure(ASN1Sequence seq)
-
Method Summary
Modifier and Type Method Description static X509CertificateStructure
getInstance(ASN1TaggedObject obj, boolean explicit)
static X509CertificateStructure
getInstance(Object obj)
TBSCertificateStructure
getTBSCertificate()
int
getVersion()
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. -
-
Constructor Detail
-
X509CertificateStructure
X509CertificateStructure(ASN1Sequence seq)
-
-
Method Detail
-
getInstance
static X509CertificateStructure getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static X509CertificateStructure getInstance(Object obj)
-
getTBSCertificate
TBSCertificateStructure getTBSCertificate()
-
getVersion
int getVersion()
-
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.
-
-
-
-