All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.KeyRingTrust

java.lang.Object
   |
   +----cryptix.pgp.Packet
           |
           +----cryptix.pgp.KeyRingTrust

public final class KeyRingTrust
extends Packet
Represents a PGP trust packet. Also contains some public constants for the different levels of trust defined by PGP for keys.

Copyright © 1995-1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1.1.1 $


Variable Index

 o ALWAYS
 o INTRODUCER1
 o INTRODUCER2
 o NOTUSUALLY
 o SECRING
 o UNDEF
 o UNKNOWN
 o USUALLY

Constructor Index

 o KeyRingTrust(byte)
Creates a new object with the trust level trust.
 o KeyRingTrust(DataInput, int)
Reads and creates a trust packet from in with the given length.

Method Index

 o getDefaultLengthSpecifier()
What is this packet's default length? (used by PacketFactory).
 o getType()
What type of packet is this? (used by PacketFactory).
 o read(DataInput, int)
Reads a trust packet from in with the given length.
 o toString()
 o trustValue()
 o write(DataOutput)
Writes this trust packet to out.

Variables

 o UNDEF
 public static final KeyRingTrust UNDEF
 o UNKNOWN
 public static final KeyRingTrust UNKNOWN
 o NOTUSUALLY
 public static final KeyRingTrust NOTUSUALLY
 o INTRODUCER1
 public static final KeyRingTrust INTRODUCER1
 o INTRODUCER2
 public static final KeyRingTrust INTRODUCER2
 o USUALLY
 public static final KeyRingTrust USUALLY
 o ALWAYS
 public static final KeyRingTrust ALWAYS
 o SECRING
 public static final KeyRingTrust SECRING

Constructors

 o KeyRingTrust
 public KeyRingTrust(byte trust)
Creates a new object with the trust level trust.

 o KeyRingTrust
 public KeyRingTrust(DataInput in,
                     int length) throws IOException
Reads and creates a trust packet from in with the given length.

Methods

 o trustValue
 public int trustValue()
 o read
 public void read(DataInput in,
                  int length) throws IOException
Reads a trust packet from in with the given length.

Overrides:
read in class Packet
 o write
 public int write(DataOutput out) throws IOException
Writes this trust packet to out.

Overrides:
write in class Packet
 o toString
 public String toString()
Overrides:
toString in class Object
 o getType
 public int getType()
What type of packet is this? (used by PacketFactory).

Overrides:
getType in class Packet
 o getDefaultLengthSpecifier
 public int getDefaultLengthSpecifier()
What is this packet's default length? (used by PacketFactory).

Overrides:
getDefaultLengthSpecifier in class Packet

All Packages  Class Hierarchy  This Package  Previous  Next  Index