Class V2AttributeCertificateInfoGenerator


  • public class V2AttributeCertificateInfoGenerator
    extends java.lang.Object
    Generator for Version 2 AttributeCertificateInfo
     AttributeCertificateInfo ::= SEQUENCE {
           version              AttCertVersion -- version is v2,
           holder               Holder,
           issuer               AttCertIssuer,
           signature            AlgorithmIdentifier,
           serialNumber         CertificateSerialNumber,
           attrCertValidityPeriod   AttCertValidityPeriod,
           attributes           SEQUENCE OF Attribute,
           issuerUniqueID       UniqueIdentifier OPTIONAL,
           extensions           Extensions OPTIONAL
     }
     
    • Constructor Detail

      • V2AttributeCertificateInfoGenerator

        public V2AttributeCertificateInfoGenerator()
    • Method Detail

      • setHolder

        public void setHolder​(Holder holder)
      • addAttribute

        public void addAttribute​(java.lang.String oid,
                                 ASN1Encodable value)
      • addAttribute

        public void addAttribute​(Attribute attribute)
        Parameters:
        attribute -
      • setSerialNumber

        public void setSerialNumber​(ASN1Integer serialNumber)
      • setIssuerUniqueID

        public void setIssuerUniqueID​(DERBitString issuerUniqueID)
      • setExtensions

        public void setExtensions​(X509Extensions extensions)
        Deprecated.
        use method taking Extensions
        Parameters:
        extensions -
      • setExtensions

        public void setExtensions​(Extensions extensions)