Class HashedData

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class HashedData
    extends org.bouncycastle.asn1.ASN1Object
    implements org.bouncycastle.asn1.ASN1Choice
        HashedData::= CHOICE {
         sha256HashedData  OCTET STRING (SIZE(32)),
         ...,
         sha384HashedData  OCTET STRING (SIZE(48)),
         reserved          OCTET STRING (SIZE(32))
       }
     
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HashedData.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      HashedData​(int choice, org.bouncycastle.asn1.ASN1Encodable sha256HashedData)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getChoice()  
      static HashedData getInstance​(java.lang.Object o)  
      org.bouncycastle.asn1.ASN1Encodable getValue()  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()  
      • 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​(int choice,
                          org.bouncycastle.asn1.ASN1Encodable sha256HashedData)
    • Method Detail

      • getInstance

        public static HashedData getInstance​(java.lang.Object o)
      • getChoice

        public int getChoice()
      • getValue

        public org.bouncycastle.asn1.ASN1Encodable getValue()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object