Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.26
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1.tsp
Class MessageImprint

    java.lang.Object
      |
      +--org.bouncycastle.asn1.ASN1Encodable
            |
            +--org.bouncycastle.asn1.tsp.MessageImprint

All Implemented Interfaces:
  DEREncodable

public class MessageImprint
extends ASN1Encodable

Constructor Summary
`MessageImprint(AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage)`
`MessageImprint(ASN1Sequence seq)`

Method Summary
`AlgorithmIdentifier` | `getHashAlgorithm()`
`byte[]` | `getHashedMessage()`
`static MessageImprint` | `getInstance(java.lang.Object o)`
`DERObject` | `toASN1Object()` MessageImprint ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashedMessage OCTET STRING }

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
`equals, getDERObject, getEncoded, hashCode`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MessageImprint

    public MessageImprint(ASN1Sequence seq)

### MessageImprint

    public MessageImprint(AlgorithmIdentifier hashAlgorithm,
                          byte[] hashedMessage)

Method Detail

### getInstance

    public static MessageImprint getInstance(java.lang.Object o)

  Parameters:
    `o` -
  Returns:
    a MessageImprint object.

### getHashAlgorithm

    public AlgorithmIdentifier getHashAlgorithm()

### getHashedMessage

    public byte[] getHashedMessage()

### toASN1Object

    public DERObject toASN1Object()

          MessageImprint ::= SEQUENCE  {
             hashAlgorithm                AlgorithmIdentifier,
             hashedMessage                OCTET STRING  }

  Specified by:
    `toASN1Object` in class `ASN1Encodable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.26
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD