Bouncy Castle Cryptography 1.25

org.bouncycastle.bcpg
Class ContainedPacket

java.lang.Object
  |
  +--org.bouncycastle.bcpg.Packet
        |
        +--org.bouncycastle.bcpg.ContainedPacket
Direct Known Subclasses:
ExperimentalPacket, MarkerPacket, ModDetectionCodePacket, OnePassSignaturePacket, PublicKeyEncSessionPacket, PublicKeyPacket, SecretKeyPacket, SignaturePacket, SymmetricKeyEncSessionPacket, TrustPacket, UserAttributePacket, UserIDPacket

public abstract class ContainedPacket
extends Packet

Basic type for a PGP packet.


Constructor Summary
ContainedPacket()
           
 
Method Summary
abstract  void encode(BCPGOutputStream pOut)
           
 byte[] getEncoded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainedPacket

public ContainedPacket()
Method Detail

getEncoded

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

encode

public abstract void encode(BCPGOutputStream pOut)
                     throws java.io.IOException

Bouncy Castle Cryptography 1.25