cryptix.pgp
Class UserId

java.lang.Object
  extended bycryptix.pgp.Packet
      extended bycryptix.pgp.UserId

public final class UserId
extends Packet

This class represents a User ID Packet.

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
Author:
unattributed

Field Summary
protected  java.lang.String data
           
 
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
UserId(java.io.DataInput in, int length)
           
UserId(java.lang.String data_)
           
 
Method Summary
 int getDefaultLengthSpecifier()
           
 int getType()
           
 void read(java.io.DataInput in, int length)
           
 java.lang.String toString()
           
 int write(java.io.DataOutput 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

data

protected java.lang.String data
Constructor Detail

UserId

public UserId(java.lang.String data_)

UserId

public UserId(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
Specified by:
read in class Packet
Throws:
java.io.IOException

write

public int write(java.io.DataOutput out)
          throws java.io.IOException
Specified by:
write in class Packet
Throws:
java.io.IOException

toString

public java.lang.String toString()

getType

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

getDefaultLengthSpecifier

public int getDefaultLengthSpecifier()
Overrides:
getDefaultLengthSpecifier in class Packet