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 Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionHashedData
(int choice, org.bouncycastle.asn1.ASN1Encodable sha256HashedData) -
Method Summary
Modifier and TypeMethodDescriptionint
org.bouncycastle.asn1.ASN1Encodable
static HashedData
static HashedData
reserved
(byte[] reserved) static HashedData
reserved
(org.bouncycastle.asn1.ASN1OctetString reserved) static HashedData
sha256HashedData
(byte[] sha256HashedData) static HashedData
sha256HashedData
(org.bouncycastle.asn1.ASN1OctetString sha256HashedData) static HashedData
sha384HashedData
(byte[] sha384HashedData) static HashedData
sha384HashedData
(org.bouncycastle.asn1.ASN1OctetString sha384HashedData) org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
sha256HashedData
public static final int sha256HashedData- See Also:
-
sha384HashedData
public static final int sha384HashedData- See Also:
-
reserved
public static final int reserved- See Also:
-
-
Constructor Details
-
HashedData
public HashedData(int choice, org.bouncycastle.asn1.ASN1Encodable sha256HashedData)
-
-
Method Details
-
sha256HashedData
-
sha256HashedData
-
sha384HashedData
-
sha384HashedData
-
reserved
-
reserved
-
getInstance
-
getChoice
public int getChoice() -
getHashedData
public org.bouncycastle.asn1.ASN1Encodable getHashedData() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-