Class 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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm()  
      org.bouncycastle.asn1.ASN1OctetString getHashValue()  
      static OtherHashAlgAndValue getInstance​(java.lang.Object obj)  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      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 Detail

      • OtherHashAlgAndValue

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

      • 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