cryptix.pgp
Class CompressedData
java.lang.Object
cryptix.pgp.Packet
cryptix.pgp.CompressedData
- All Implemented Interfaces:
- Algorithm
- public final class CompressedData
- extends Packet
- implements Algorithm
Class representing a compressed Packet.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
- Since:
- Cryptix 2.2 or earlier
- Author:
- Jill Baker
Fields inherited from class cryptix.pgp.Packet |
COMMENT, COMPRESSED, CONV_ENCRYPTED, MESSAGE_DIGEST, PLAINTEXT, PUBLIC_KEY, PUBLIC_KEY_ENCRYPTED, SECRET_KEY, SIGNATURE, TRUST, USER_ID |
Fields inherited from interface cryptix.pgp.Algorithm |
BINARY, BLOWFISH, GZIP, IDEA, LEGACY, MD5, NONE, PKETEST, RSA, SHA, UTF8, ZIP |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompressedData
public CompressedData(PacketByteArray data)
CompressedData
public CompressedData(PacketByteArray data,
int algorithm)
throws FormatException
CompressedData
public CompressedData(java.io.DataInput in,
int length)
throws java.io.IOException
getAlgorithm
public int getAlgorithm()
setAlgorithm
public void setAlgorithm(int algorithm)
throws FormatException
- Throws:
FormatException
getData
public PacketByteArray getData()
read
public void read(java.io.DataInput in,
int length)
throws java.io.IOException,
FormatException
- Specified by:
read
in class Packet
- Throws:
java.io.IOException
FormatException
write
public int write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write
in class Packet
- Throws:
java.io.IOException
getType
public int getType()
- Specified by:
getType
in class Packet