Class ESSCertIDv2

    • Constructor Detail

      • ESSCertIDv2

        public ESSCertIDv2​(byte[] certHash)
      • ESSCertIDv2

        public ESSCertIDv2​(byte[] certHash,
                           IssuerSerial issuerSerial)
    • Method Detail

      • getInstance

        public static ESSCertIDv2 getInstance​(java.lang.Object o)
      • getCertHash

        public byte[] getCertHash()
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
         ESSCertIDv2 ::=  SEQUENCE {
             hashAlgorithm     AlgorithmIdentifier
                      DEFAULT {algorithm id-sha256},
             certHash          Hash,
             issuerSerial      IssuerSerial OPTIONAL
         }
        
         Hash ::= OCTET STRING
        
         IssuerSerial ::= SEQUENCE {
             issuer         GeneralNames,
             serialNumber   CertificateSerialNumber
         }
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        a primitive representation of this object.