Class HashedData

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.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))
   }
 
  • Field Details

  • Constructor Details

    • HashedData

      public HashedData(int choice, org.bouncycastle.asn1.ASN1Encodable sha256HashedData)
  • Method Details

    • getInstance

      public static HashedData getInstance(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