Class OtherHashAlgAndValue

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.esf.OtherHashAlgAndValue
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

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

    Constructors
    Constructor
    Description
    OtherHashAlgAndValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, org.bouncycastle.asn1.ASN1OctetString hashValue)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    org.bouncycastle.asn1.ASN1OctetString
     
     
    org.bouncycastle.asn1.ASN1Primitive
    OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OtherHashValue } OtherHashValue ::= 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

    • OtherHashAlgAndValue

      public OtherHashAlgAndValue(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, org.bouncycastle.asn1.ASN1OctetString hashValue)
  • Method Details

    • getInstance

      public static OtherHashAlgAndValue getInstance(Object obj)
    • getHashAlgorithm

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm()
    • getHashValue

      public org.bouncycastle.asn1.ASN1OctetString getHashValue()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
       OtherHashAlgAndValue ::= SEQUENCE {
           hashAlgorithm AlgorithmIdentifier,
           hashValue OtherHashValue }
      
       OtherHashValue ::= OCTET STRING
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object