cryptix.pgp
Class LiteralData
java.lang.Object
|
+--cryptix.pgp.Packet
|
+--cryptix.pgp.LiteralData
- public final class LiteralData
- extends Packet
This class represents a literal data 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:
- unattributed
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 |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LiteralData
public LiteralData(byte[] data)
LiteralData
public LiteralData(byte[] data,
java.lang.String filename,
char mode)
LiteralData
public LiteralData(java.io.DataInput in,
int length)
throws java.io.IOException
timestamp
public java.util.Date timestamp()
filename
public java.lang.String filename()
mode
public char mode()
modeIsText
public boolean modeIsText()
modeIsBinary
public boolean modeIsBinary()
getBuffer
public byte[] getBuffer()
data
public byte[] data()
read
public void read(java.io.DataInput in,
int length)
throws java.io.IOException
- Overrides:
read
in class Packet
write
public int write(java.io.DataOutput out)
throws java.io.IOException
- Overrides:
write
in class Packet
getType
public int getType()
- Overrides:
getType
in class Packet