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.util
Interface Encodable

All Known Subinterfaces:
  SecretShare

All Known Implementing Classes:
  ASN1Object, JournaledAlgorithm, ShamirSplitSecretShare

public interface Encodable

Interface implemented by objects that can be converted into byte arrays.

Method Summary
`byte[]` | `getEncoded()` Return a byte array representing the implementing object.

Method Detail

### getEncoded

    public byte[] getEncoded()
                      throws java.io.IOException

  Return a byte array representing the implementing object.

  Returns:
    a byte array representing the encoding.
  Throws:
    `java.io.IOException` - if an issue arises generation the encoding.

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