Class OtherCertID

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class OtherCertID
    extends org.bouncycastle.asn1.ASN1Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OtherCertID​(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest)  
      OtherCertID​(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId, byte[] digest, org.bouncycastle.asn1.x509.IssuerSerial issuerSerial)  
    • Constructor Detail

      • OtherCertID

        public OtherCertID​(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
                           byte[] digest)
      • OtherCertID

        public OtherCertID​(org.bouncycastle.asn1.x509.AlgorithmIdentifier algId,
                           byte[] digest,
                           org.bouncycastle.asn1.x509.IssuerSerial issuerSerial)
    • Method Detail

      • getAlgorithmHash

        public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmHash()
      • getCertHash

        public byte[] getCertHash()
      • getIssuerSerial

        public org.bouncycastle.asn1.x509.IssuerSerial getIssuerSerial()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
         OtherCertID ::= SEQUENCE {
             otherCertHash    OtherHash,
             issuerSerial     IssuerSerial OPTIONAL }
        
         OtherHash ::= CHOICE {
             sha1Hash     OCTET STRING,
             otherHash    OtherHashAlgAndValue }
        
         OtherHashAlgAndValue ::= SEQUENCE {
             hashAlgorithm    AlgorithmIdentifier,
             hashValue        OCTET STRING }
        
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object