|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcryptix.pgp.Packet
cryptix.pgp.KeyRingTrust
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 $
Field Summary | |
static KeyRingTrust |
ALWAYS
|
static KeyRingTrust |
INTRODUCER1
|
static KeyRingTrust |
INTRODUCER2
|
static KeyRingTrust |
NOTUSUALLY
|
static KeyRingTrust |
SECRING
|
static KeyRingTrust |
UNDEF
|
static KeyRingTrust |
UNKNOWN
|
static KeyRingTrust |
USUALLY
|
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 | |
KeyRingTrust(byte trust)
Creates a new object with the trust level trust. |
|
KeyRingTrust(java.io.DataInput in,
int length)
Reads and creates a trust packet from in with the given length. |
Method Summary | |
int |
getDefaultLengthSpecifier()
What is this packet's default length? (used by PacketFactory). |
int |
getType()
What type of packet is this? (used by PacketFactory). |
void |
read(java.io.DataInput in,
int length)
Reads a trust packet from in with the given length. |
java.lang.String |
toString()
|
int |
trustValue()
|
int |
write(java.io.DataOutput out)
Writes this trust packet to out. |
Methods inherited from class cryptix.pgp.Packet |
ctbToLengthSpecifier, ctbToType, 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 |
public static final KeyRingTrust UNDEF
public static final KeyRingTrust UNKNOWN
public static final KeyRingTrust NOTUSUALLY
public static final KeyRingTrust INTRODUCER1
public static final KeyRingTrust INTRODUCER2
public static final KeyRingTrust USUALLY
public static final KeyRingTrust ALWAYS
public static final KeyRingTrust SECRING
Constructor Detail |
public KeyRingTrust(byte trust)
public KeyRingTrust(java.io.DataInput in, int length) throws java.io.IOException
Method Detail |
public int trustValue()
public void read(java.io.DataInput in, int length) throws java.io.IOException
read
in class Packet
java.io.IOException
public int write(java.io.DataOutput out) throws java.io.IOException
write
in class Packet
java.io.IOException
public java.lang.String toString()
public int getType()
getType
in class Packet
public int getDefaultLengthSpecifier()
getDefaultLengthSpecifier
in class Packet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |