org.bouncycastle.bcpg.CompressedDataPacket Maven / Gradle / Ivy
package org.bouncycastle.bcpg;
import java.io.*;
/**
* generic compressed data object.
*/
public class CompressedDataPacket
extends InputStreamPacket
{
int algorithm;
CompressedDataPacket(
BCPGInputStream in)
throws IOException
{
super(in);
algorithm = in.read();
}
/**
* return the algorithm tag value.
*
* @return algorithm tag value.
*/
public int getAlgorithm()
{
return algorithm;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy