All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.Packet

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

public abstract class Packet
extends Object
DOCUMENT ME.

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

$Revision: 1.1.1.1 $

Author:
original author not stated, Jill Baker

Variable Index

 o COMMENT
 o COMPRESSED
 o CONV_ENCRYPTED
 o MESSAGE_DIGEST
 o PLAINTEXT
 o PUBLIC_KEY
 o PUBLIC_KEY_ENCRYPTED
 o SECRET_KEY
 o SIGNATURE
 o TRUST
 o USER_ID

Constructor Index

 o Packet()
 o Packet(DataInput, int)

Method Index

 o ctbToLengthSpecifier(int)
 o ctbToType(int)
 o getDefaultLengthSpecifier()
 o getType()
 o isCTB(int)
 o isLegalPacketType(int)
 o load(byte[])
 o load(byte[], int)
 o load(byte[], int, int)
 o makeCTB(int, int)
 o read(DataInput, int)
 o save()
 o write(DataOutput)

Variables

 o PUBLIC_KEY_ENCRYPTED
 public static final int PUBLIC_KEY_ENCRYPTED
 o SIGNATURE
 public static final int SIGNATURE
 o MESSAGE_DIGEST
 public static final int MESSAGE_DIGEST
 o SECRET_KEY
 public static final int SECRET_KEY
 o PUBLIC_KEY
 public static final int PUBLIC_KEY
 o COMPRESSED
 public static final int COMPRESSED
 o CONV_ENCRYPTED
 public static final int CONV_ENCRYPTED
 o PLAINTEXT
 public static final int PLAINTEXT
 o TRUST
 public static final int TRUST
 o USER_ID
 public static final int USER_ID
 o COMMENT
 public static final int COMMENT

Constructors

 o Packet
 protected Packet()
 o Packet
 protected Packet(DataInput in,
                  int length) throws IOException

Methods

 o isCTB
 public static final boolean isCTB(int ctb)
 o ctbToType
 public static final int ctbToType(int ctb)
 o ctbToLengthSpecifier
 public static final int ctbToLengthSpecifier(int ctb)
 o makeCTB
 public static final int makeCTB(int type,
                                 int lengthSpecifier)
 o isLegalPacketType
 public static boolean isLegalPacketType(int n)
 o load
 public final void load(byte buf[]) throws IOException
 o load
 public final void load(byte buf[],
                        int offset) throws IOException
 o load
 public final void load(byte buf[],
                        int offset,
                        int length) throws IOException
 o save
 public final byte[] save() throws IOException
 o getDefaultLengthSpecifier
 public int getDefaultLengthSpecifier()
 o getType
 public abstract int getType()
 o read
 public abstract void read(DataInput in,
                           int length) throws IOException
 o write
 public abstract int write(DataOutput out) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index