public abstract class ContainedPacket extends Packet implements Encodable
COMPRESSED_DATA, EXPERIMENTAL_1, EXPERIMENTAL_2, EXPERIMENTAL_3, EXPERIMENTAL_4, LITERAL_DATA, MARKER, MOD_DETECTION_CODE, ONE_PASS_SIGNATURE, PUBLIC_KEY, PUBLIC_KEY_ENC_SESSION, PUBLIC_SUBKEY, RESERVED, SECRET_KEY, SECRET_SUBKEY, SIGNATURE, SYM_ENC_INTEGRITY_PRO, SYMMETRIC_KEY_ENC, SYMMETRIC_KEY_ENC_SESSION, TRUST, USER_ATTRIBUTE, USER_ID
Constructor and Description |
---|
ContainedPacket() |
Modifier and Type | Method and Description |
---|---|
abstract void |
encode(BCPGOutputStream pOut) |
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 pOut) throws IOException
IOException
Copyright © 2018 BouncyCastle.org. All rights reserved.