Class HashedData

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.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

    • sha256HashedData

      public static HashedData sha256HashedData(org.bouncycastle.asn1.ASN1OctetString sha256HashedData)
    • sha256HashedData

      public static HashedData sha256HashedData(byte[] sha256HashedData)
    • sha384HashedData

      public static HashedData sha384HashedData(org.bouncycastle.asn1.ASN1OctetString sha384HashedData)
    • sha384HashedData

      public static HashedData sha384HashedData(byte[] sha384HashedData)
    • reserved

      public static HashedData reserved(org.bouncycastle.asn1.ASN1OctetString reserved)
    • reserved

      public static HashedData reserved(byte[] reserved)
    • getInstance

      public static HashedData getInstance(Object o)
    • getChoice

      public int getChoice()
    • getHashedData

      public org.bouncycastle.asn1.ASN1Encodable getHashedData()
    • 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