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 $
-
ALWAYS
-
-
INTRODUCER1
-
-
INTRODUCER2
-
-
NOTUSUALLY
-
-
SECRING
-
-
UNDEF
-
-
UNKNOWN
-
-
USUALLY
-
-
KeyRingTrust(byte)
- Creates a new object with the trust level trust.
-
KeyRingTrust(DataInput, int)
- Reads and creates a trust packet from in with the given
length.
-
getDefaultLengthSpecifier()
- What is this packet's default length?
(used by PacketFactory).
-
getType()
- What type of packet is this?
(used by PacketFactory).
-
read(DataInput, int)
- Reads a trust packet from in with the given length.
-
toString()
-
-
trustValue()
-
-
write(DataOutput)
- Writes this trust packet to out.
UNDEF
public static final KeyRingTrust UNDEF
UNKNOWN
public static final KeyRingTrust UNKNOWN
NOTUSUALLY
public static final KeyRingTrust NOTUSUALLY
INTRODUCER1
public static final KeyRingTrust INTRODUCER1
INTRODUCER2
public static final KeyRingTrust INTRODUCER2
USUALLY
public static final KeyRingTrust USUALLY
ALWAYS
public static final KeyRingTrust ALWAYS
SECRING
public static final KeyRingTrust SECRING
KeyRingTrust
public KeyRingTrust(byte trust)
- Creates a new object with the trust level trust.
KeyRingTrust
public KeyRingTrust(DataInput in,
int length) throws IOException
- Reads and creates a trust packet from in with the given
length.
trustValue
public int trustValue()
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
write
public int write(DataOutput out) throws IOException
- Writes this trust packet to out.
- Overrides:
- write in class Packet
toString
public String toString()
- Overrides:
- toString in class Object
getType
public int getType()
- What type of packet is this?
(used by PacketFactory).
- Overrides:
- getType in class Packet
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