Top Description Constructors Methods
org.bouncycastle.bcpg

public abstract Class ContainedPacket

extends Packet
implements Encodable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.util.Encodable
Known Direct Subclasses
org.bouncycastle.bcpg.ExperimentalPacket, org.bouncycastle.bcpg.MarkerPacket, org.bouncycastle.bcpg.ModDetectionCodePacket, org.bouncycastle.bcpg.OnePassSignaturePacket, org.bouncycastle.bcpg.PublicKeyEncSessionPacket, org.bouncycastle.bcpg.PublicKeyPacket, org.bouncycastle.bcpg.SecretKeyPacket, org.bouncycastle.bcpg.SignaturePacket, org.bouncycastle.bcpg.SymmetricKeyEncSessionPacket, org.bouncycastle.bcpg.TrustPacket, org.bouncycastle.bcpg.UserAttributePacket, org.bouncycastle.bcpg.UserIDPacket
Imports
java.io.ByteArrayOutputStream, .IOException, org.bouncycastle.util.Encodable

Basic type for a PGP packet.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
public byte[]
getEncoded()

Implements org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.

Constructor Detail

ContainedPacketback to summary
public ContainedPacket()

Method Detail

encodeback to summary
public abstract void encode(BCPGOutputStream pOut) throws IOException
getEncodedback to summary
public byte[] getEncoded() throws IOException

Implements org.bouncycastle.util.Encodable.getEncoded.

Doc from org.bouncycastle.util.Encodable.getEncoded.

Return a byte array representing the implementing object.

Returns:byte[]

a byte array representing the encoding.

Exceptions
IOException:
if an issue arises generation the encoding.