Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class CompressedDataPacket

extends InputStreamPacket
Class Inheritance
Imports
java.io.IOException

A generic compressed data object.

Field Summary

Modifier and TypeField and Description
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
CompressedDataPacket(BCPGInputStream in, boolean newPacketFormat)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the compression algorithm tag value.
getAlgorithm
()

Gets the compression algorithm used for this packet.

Inherited from org.bouncycastle.bcpg.InputStreamPacket:
getInputStream

Field Detail

algorithmback to summary
pack-priv int algorithm

Constructor Detail

CompressedDataPacketback to summary
pack-priv CompressedDataPacket(BCPGInputStream in) throws IOException
CompressedDataPacketback to summary
pack-priv CompressedDataPacket(BCPGInputStream in, boolean newPacketFormat) throws IOException

Method Detail

getAlgorithmback to summary
public int getAlgorithm()

Gets the compression algorithm used for this packet.

Returns:int

the compression algorithm tag value.