Bouncy Castle Cryptography Library 1.69

org.bouncycastle.asn1.its
Class HashedData

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.its.HashedData
All Implemented Interfaces:
ASN1Choice, ASN1Encodable, Encodable

public class HashedData
extends ASN1Object
implements ASN1Choice

HashedData ::= CHOICE { sha256HashedData OCTET STRING (SIZE(32)) }


Constructor Summary
HashedData(byte[] digest)
           
 
Method Summary
 ASN1OctetString getHashData()
           
 void setHashData(ASN1OctetString hashData)
           
 ASN1Primitive toASN1Primitive()
          Method providing a primitive representation of this object suitable for encoding.
 
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

HashedData

public HashedData(byte[] digest)
Method Detail

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Description copied from class: ASN1Object
Method providing a primitive representation of this object suitable for encoding.

Specified by:
toASN1Primitive in interface ASN1Encodable
Specified by:
toASN1Primitive in class ASN1Object
Returns:
a primitive representation of this object.

getHashData

public ASN1OctetString getHashData()

setHashData

public void setHashData(ASN1OctetString hashData)

Bouncy Castle Cryptography Library 1.69