org.bouncycastle.asn1.x509

## Class V1TBSCertificateGenerator

- java.lang.Object
- - org.bouncycastle.asn1.x509.V1TBSCertificateGenerator

-     public class V1TBSCertificateGenerator
      extends java.lang.Object

  Generator for Version 1 TBSCertificateStructures.

       TBSCertificate ::= SEQUENCE {
            version          [ 0 ]  Version DEFAULT v1(0),
            serialNumber            CertificateSerialNumber,
            signature               AlgorithmIdentifier,
            issuer                  Name,
            validity                Validity,
            subject                 Name,
            subjectPublicKeyInfo    SubjectPublicKeyInfo,
            }

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `V1TBSCertificateGenerator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `TBSCertificate` | `generateTBSCertificate()`
    `void` | `setEndDate(ASN1UTCTime endDate)`
    `void` | `setEndDate(Time endDate)`
    `void` | `setIssuer(X500Name issuer)`
    `void` | `setIssuer(X509Name issuer)` Deprecated. use X500Name method
    `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 method
    `void` | `setSubjectPublicKeyInfo(SubjectPublicKeyInfo pubKeyInfo)`
    `void` | `setValidity(Validity validity)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### V1TBSCertificateGenerator

          public V1TBSCertificateGenerator()

  - ### Method Detail

    - #### setSerialNumber

          public void setSerialNumber(ASN1Integer serialNumber)

    - #### setSignature

          public void setSignature(AlgorithmIdentifier signature)

    - #### setIssuer

          public void setIssuer(X509Name issuer)

      Deprecated. use X500Name method

    - #### setIssuer

          public void setIssuer(X500Name issuer)

    - #### setValidity

          public void setValidity(Validity validity)

    - #### setStartDate

          public void setStartDate(Time startDate)

    - #### setStartDate

          public void setStartDate(ASN1UTCTime startDate)

    - #### setEndDate

          public void setEndDate(Time endDate)

    - #### setEndDate

          public void setEndDate(ASN1UTCTime endDate)

    - #### setSubject

          public void setSubject(X509Name subject)

      Deprecated. use X500Name method

    - #### setSubject

          public void setSubject(X500Name subject)

    - #### setSubjectPublicKeyInfo

          public void setSubjectPublicKeyInfo(SubjectPublicKeyInfo pubKeyInfo)

    - #### generateTBSCertificate

          public TBSCertificate generateTBSCertificate()