Class InputStreamPacket

java.lang.Object
org.bouncycastle.bcpg.Packet
org.bouncycastle.bcpg.InputStreamPacket
All Implemented Interfaces:
PacketTags
Direct Known Subclasses:
AEADEncDataPacket, CompressedDataPacket, LiteralDataPacket, ReservedPacket, SymmetricEncDataPacket, SymmetricEncIntegrityPacket

public class InputStreamPacket extends Packet
A block of data associated with other packets in a PGP object stream.
  • Constructor Details

  • Method Details

    • getInputStream

      public BCPGInputStream getInputStream()
      Obtains an input stream to read the contents of the packet.
      Returns:
      the data in this packet.