Class OtherCertID

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ess.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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    byte[]
     
     
    org.bouncycastle.asn1.x509.IssuerSerial
     
    org.bouncycastle.asn1.ASN1Primitive
    OtherCertID ::= SEQUENCE { otherCertHash OtherHash, issuerSerial IssuerSerial OPTIONAL } OtherHash ::= CHOICE { sha1Hash OCTET STRING, otherHash OtherHashAlgAndValue } OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OCTET STRING }

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • getInstance

      public static OtherCertID getInstance(Object o)
    • 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