public class MessageImprint
extends org.bouncycastle.asn1.ASN1Object
Constructor and Description |
---|
MessageImprint(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm,
byte[] hashedMessage) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getHashAlgorithm() |
byte[] |
getHashedMessage() |
static MessageImprint |
getInstance(java.lang.Object o)
Return an instance of MessageImprint, or null, based on o.
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
MessageImprint ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
hashedMessage OCTET STRING }
|
public MessageImprint(org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage)
public static MessageImprint getInstance(java.lang.Object o)
o
- the object to be converted.public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm()
public byte[] getHashedMessage()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
MessageImprint ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashedMessage OCTET STRING }
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object