Class cryptix.pgp.KeyRingTrust
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, 1996, 1997
Systemics Ltd
on behalf of the
Cryptix Development Team.
All rights reserved.
-
ALWAYS
-
-
INTRODUCER1
-
-
INTRODUCER2
-
-
NOTUSUALLY
-
-
SECRING
-
-
UNDEF
-
-
UNKNOWN
-
-
USUALLY
-
-
KeyRingTrust(byte)
- Create a new object with the trust level
trust0
.
-
KeyRingTrust(DataInput, int)
- Read and create a trust packet from
in
.
-
getDefaultLengthSpecifier()
- What is this packet's default length?
(Used by PacketFactory
).
-
getType()
- What type of packet is this?
(Used by PacketFactory
).
-
read(DataInput, int)
- Read a trust packet from
in
with length
.
-
toString()
-
-
trustValue()
-
-
write(DataOutput)
- Write this trust packet to
out
.
UNDEF
public final static KeyRingTrust UNDEF
UNKNOWN
public final static KeyRingTrust UNKNOWN
NOTUSUALLY
public final static KeyRingTrust NOTUSUALLY
INTRODUCER1
public final static KeyRingTrust INTRODUCER1
INTRODUCER2
public final static KeyRingTrust INTRODUCER2
USUALLY
public final static KeyRingTrust USUALLY
ALWAYS
public final static KeyRingTrust ALWAYS
SECRING
public final static KeyRingTrust SECRING
KeyRingTrust
public KeyRingTrust(byte trust0)
- Create a new object with the trust level
trust0
.
KeyRingTrust
public KeyRingTrust(DataInput in,
int length) throws IOException
- Read and create a trust packet from
in
.
trustValue
public int trustValue()
read
public void read(DataInput in,
int length) throws IOException
- Read a trust packet from
in
with length
.
- Overrides:
- read in class Packet
write
public int write(DataOutput out) throws IOException
- Write 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