public abstract class BCPGObject extends Object implements Encodable
Constructor and Description |
---|
BCPGObject() |
Modifier and Type | Method and Description |
---|---|
abstract void |
encode(BCPGOutputStream out) |
byte[] |
getEncoded()
Return a byte array representing the implementing object.
|
public byte[] getEncoded() throws IOException
Encodable
getEncoded
in interface Encodable
IOException
- if an issue arises generation the encoding.public abstract void encode(BCPGOutputStream out) throws IOException
IOException
Copyright © 2018 BouncyCastle.org. All rights reserved.