|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.openpgp.PGPCompressedData
public class PGPCompressedData
A PGP compressed data object.
| Field Summary |
|---|
| Fields inherited from interface org.bouncycastle.bcpg.CompressionAlgorithmTags |
|---|
BZIP2, UNCOMPRESSED, ZIP, ZLIB |
| Constructor Summary | |
|---|---|
PGPCompressedData(BCPGInputStream pIn)
Construct a compressed data object, reading a single PacketTags.COMPRESSED_DATA
packet from the stream. |
|
| Method Summary | |
|---|---|
int |
getAlgorithm()
Return the compression algorithm used for this packet. |
java.io.InputStream |
getDataStream()
Return an input stream that decompresses and returns data in the compressed packet. |
java.io.InputStream |
getInputStream()
Return the raw input stream contained in the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PGPCompressedData(BCPGInputStream pIn)
throws java.io.IOException
PacketTags.COMPRESSED_DATA
packet from the stream.
pIn - a PGP input stream, with a compressed data packet as the current packet.
java.io.IOException - if an error occurs reading the packet from the stream.| Method Detail |
|---|
public int getAlgorithm()
compression algorithm used for this packet.
public java.io.InputStream getInputStream()
public java.io.InputStream getDataStream()
throws PGPException
PGPException - if an error occurs constructing the decompression stream.
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||