org.bouncycastle.openpgp
Class PGPCompressedData
java.lang.Object
org.bouncycastle.openpgp.PGPCompressedData
- CompressionAlgorithmTags
public class PGPCompressedData
extends java.lang.Object
Compressed data objects.
int | getAlgorithm() - Return the algorithm used for compression
|
InputStream | getDataStream() - Return an uncompressed input stream which allows reading of the
compressed data.
|
InputStream | getInputStream() - Return the raw input stream contained in the object.
|
PGPCompressedData
public PGPCompressedData(BCPGInputStream pIn)
throws IOException
getAlgorithm
public int getAlgorithm()
Return the algorithm used for compression
- algorithm code
getDataStream
public InputStream getDataStream()
throws PGPException
Return an uncompressed input stream which allows reading of the
compressed data.
- InputStream
PGPException
-
getInputStream
public InputStream getInputStream()
Return the raw input stream contained in the object.
- InputStream