org.bouncycastle.util
Interface Encodable
- All Known Implementing Classes:
- ASN1Object, JournaledAlgorithm
- 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. |
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.