Class DigestInfo
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class DigestInfo extends ASN1Object
The DigestInfo object.
DigestInfo::=SEQUENCE{ digestAlgorithm AlgorithmIdentifier, digest OCTET STRING }
-
-
Constructor Summary
Constructors Constructor Description DigestInfo(AlgorithmIdentifier algId, Array<byte> digest)
DigestInfo(ASN1Sequence obj)
-
Method Summary
Modifier and Type Method Description Array<byte>
getDigest()
static DigestInfo
getInstance(ASN1TaggedObject obj, boolean explicit)
static DigestInfo
getInstance(Object obj)
AlgorithmIdentifier
getAlgorithmId()
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. -
-
Constructor Detail
-
DigestInfo
DigestInfo(AlgorithmIdentifier algId, Array<byte> digest)
-
DigestInfo
DigestInfo(ASN1Sequence obj)
-
-
Method Detail
-
getInstance
static DigestInfo getInstance(ASN1TaggedObject obj, boolean explicit)
-
getInstance
static DigestInfo getInstance(Object obj)
-
getAlgorithmId
AlgorithmIdentifier getAlgorithmId()
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-