Class OtherCertID

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ess.OtherCertID
All Implemented Interfaces:
ASN1Encodable, Encodable

public class OtherCertID extends ASN1Object
  • Constructor Details

  • Method Details

    • getInstance

      public static OtherCertID getInstance(Object o)
    • getAlgorithmHash

      public AlgorithmIdentifier getAlgorithmHash()
    • getCertHash

      public byte[] getCertHash()
    • getIssuerSerial

      public IssuerSerial getIssuerSerial()
    • toASN1Primitive

      public 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 ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
      Returns:
      a primitive representation of this object.