Package org.bouncycastle.asn1.tsp
Class MessageImprint
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.tsp.MessageImprint
- All Implemented Interfaces:
ASN1Encodable,Encodable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]static MessageImprintMessageImprint ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashedMessage OCTET STRING }Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
MessageImprint
-
-
Method Details
-
getInstance
- Parameters:
o-- Returns:
- a MessageImprint object.
-
getHashAlgorithm
-
getHashedMessage
public byte[] getHashedMessage() -
toASN1Primitive
MessageImprint ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashedMessage OCTET STRING }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-