Bouncy Castle Cryptography 1.66

org.bouncycastle.bcpg
Class InputStreamPacket

java.lang.Object
  |
  +--org.bouncycastle.bcpg.Packet
        |
        +--org.bouncycastle.bcpg.InputStreamPacket
Direct Known Subclasses:
CompressedDataPacket, LiteralDataPacket, SymmetricEncDataPacket, SymmetricEncIntegrityPacket

public class InputStreamPacket
extends Packet

A block of data associated with other packets in a PGP object stream.


Constructor Summary
InputStreamPacket(BCPGInputStream in)
           
 
Method Summary
 BCPGInputStream getInputStream()
          Obtains an input stream to read the contents of the packet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamPacket

public InputStreamPacket(BCPGInputStream in)
Method Detail

getInputStream

public BCPGInputStream getInputStream()
Obtains an input stream to read the contents of the packet.

Note: you can only read from this once...

Returns:
the data in this packet.

Bouncy Castle Cryptography 1.66