cryptix.pgp
Class Certificate
java.lang.Object
cryptix.pgp.Packet
cryptix.pgp.Certificate
- Direct Known Subclasses:
- PublicKeyCertificate, SecretKeyCertificate
- abstract class Certificate
- extends Packet
This class represents a Packet of type PUBLIC_KEY.
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
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 |
Constructor Summary |
(package private) |
Certificate()
|
(package private) |
Certificate(java.io.DataInput in,
int length)
|
(package private) |
Certificate(java.util.Date time0,
int valid0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
timeStamp
protected transient java.util.Date timeStamp
unixTime
protected int unixTime
daysValid
protected int daysValid
version
protected byte version
Certificate
Certificate()
Certificate
Certificate(java.util.Date time0,
int valid0)
Certificate
Certificate(java.io.DataInput in,
int length)
throws java.io.IOException
read
public void read(java.io.DataInput in,
int length)
throws java.io.IOException
- Specified by:
read
in class Packet
- Throws:
java.io.IOException
write
public int write(java.io.DataOutput out)
throws java.io.IOException
- Specified by:
write
in class Packet
- Throws:
java.io.IOException
toString
public java.lang.String toString()
validUntil
public java.util.Date validUntil()
expired
public boolean expired()
getType
public int getType()
- Specified by:
getType
in class Packet