Class 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 Detail

      • V1TBSCertificateGenerator

        public V1TBSCertificateGenerator()
    • Method Detail

      • setSerialNumber

        public void setSerialNumber​(ASN1Integer serialNumber)
      • setIssuer

        public void setIssuer​(X509Name issuer)
        Deprecated.
        use X500Name method
      • setIssuer

        public void setIssuer​(X500Name issuer)
      • 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()