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

## org.bouncycastle.crypto
Interface EncodableService

All Known Subinterfaces:
  EncodableDigest, SavableDigest

All Known Implementing Classes:
  KMAC, LongDigest, MD5Digest, SHA1Digest, SHA224Digest, SHA256Digest, SHA3Digest, SHAKEDigest, TupleHash

public interface EncodableService

Encodable services allow you to download an encoded copy of their internal state. This is useful for the situation where you need to generate a signature on an external device and it allows for "sign with last round", so a copy of the internal state of the digest, plus the last few blocks of the message are all that needs to be sent, rather than the entire message.

Method Summary
`byte[]` | `getEncodedState()` Return an encoded byte array for the services's internal state

Method Detail

### getEncodedState

    public byte[] getEncodedState()

  Return an encoded byte array for the services's internal state

  Returns:
    an encoding of the services internal state.

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