Package org.bouncycastle.asn1.x509
Class V3TBSCertificateGenerator
java.lang.Object
org.bouncycastle.asn1.x509.V3TBSCertificateGenerator
Generator for Version 3 TBSCertificateStructures.
TBSCertificate ::= SEQUENCE { version [ 0 ] Version DEFAULT v1(0), serialNumber CertificateSerialNumber, signature AlgorithmIdentifier, issuer Name, validity Validity, subject Name, subjectPublicKeyInfo SubjectPublicKeyInfo, issuerUniqueID [ 1 ] IMPLICIT UniqueIdentifier OPTIONAL, subjectUniqueID [ 2 ] IMPLICIT UniqueIdentifier OPTIONAL, extensions [ 3 ] Extensions OPTIONAL }
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEndDate
(ASN1UTCTime endDate) void
setEndDate
(Time endDate) void
setExtensions
(Extensions extensions) void
setExtensions
(X509Extensions extensions) Deprecated.use method taking Extensionsvoid
void
Deprecated.use X500Name methodvoid
setIssuerUniqueID
(DERBitString uniqueID) void
setSerialNumber
(ASN1Integer serialNumber) void
setSignature
(AlgorithmIdentifier signature) void
setStartDate
(ASN1UTCTime startDate) void
setStartDate
(Time startDate) void
setSubject
(X500Name subject) void
setSubject
(X509Name subject) Deprecated.use X500Name methodvoid
setSubjectPublicKeyInfo
(SubjectPublicKeyInfo pubKeyInfo) void
setSubjectUniqueID
(DERBitString uniqueID)
-
Constructor Details
-
V3TBSCertificateGenerator
public V3TBSCertificateGenerator()
-
-
Method Details
-
setSerialNumber
-
setSignature
-
setIssuer
Deprecated.use X500Name method -
setIssuer
-
setStartDate
-
setStartDate
-
setEndDate
-
setEndDate
-
setSubject
Deprecated.use X500Name method -
setSubject
-
setIssuerUniqueID
-
setSubjectUniqueID
-
setSubjectPublicKeyInfo
-
setExtensions
Deprecated.use method taking Extensions- Parameters:
extensions
-
-
setExtensions
-
generatePreTBSCertificate
-
generateTBSCertificate
-