cryptix.pgp
Class PublicKeyCertificate

java.lang.Object
  extended bycryptix.pgp.Packet
      extended bycryptix.pgp.Certificate
          extended bycryptix.pgp.PublicKeyCertificate

public final class PublicKeyCertificate
extends Certificate

DOCUMENT ME.


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

Field Summary
protected  int daysValid
           
protected  java.util.Date timeStamp
           
protected  int unixTime
           
protected  byte version
           
 
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
PublicKeyCertificate(java.io.DataInput in, int length)
           
PublicKeyCertificate(PublicKey publicKey)
           
 
Method Summary
 boolean expired()
           
 int getType()
           
 PublicKey publickey()
          Deprecated. Use publicKey() instead.
 PublicKey publicKey()
           
 void read(java.io.DataInput in, int length)
           
 java.lang.String toString()
           
 java.util.Date validUntil()
           
 int write(java.io.DataOutput out)
           
 
Methods inherited from class cryptix.pgp.Packet
ctbToLengthSpecifier, ctbToType, getDefaultLengthSpecifier, isCTB, isLegalPacketType, load, load, load, makeCTB, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

timeStamp

protected transient java.util.Date timeStamp

unixTime

protected int unixTime

daysValid

protected int daysValid

version

protected byte version
Constructor Detail

PublicKeyCertificate

public PublicKeyCertificate(PublicKey publicKey)

PublicKeyCertificate

public PublicKeyCertificate(java.io.DataInput in,
                            int length)
                     throws java.io.IOException
Method Detail

read

public void read(java.io.DataInput in,
                 int length)
          throws java.io.IOException
Overrides:
read in class Certificate
Throws:
java.io.IOException

write

public int write(java.io.DataOutput out)
          throws java.io.IOException
Overrides:
write in class Certificate
Throws:
java.io.IOException

publicKey

public PublicKey publicKey()

publickey

public PublicKey publickey()
Deprecated. Use publicKey() instead.


toString

public java.lang.String toString()
Overrides:
toString in class Certificate

validUntil

public java.util.Date validUntil()

expired

public boolean expired()

getType

public int getType()
Specified by:
getType in class Packet