Class cryptix.pgp.Armoury
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.pgp.Armoury

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

public final class Armoury
extends Object

Variable Index

 o LINEFEED

Method Index

 o decodeChecksum(String)
Decode the checksum contained in s.
 o message(PrintStream, Packet)
Armour and write pkt to out.
 o message(PrintStream, String, byte[])
Armour and write the name packet in buf to out.
 o message(String, byte[])
Armour and return the name packet in buf.
 o messageWithChecksum(byte[])
Armour and return the data in buf[] without the PGP framing lines.
 o name(Packet)
Returns the name PGP uses in its framing lines for this type of pkt.
 o readUntilBegin(DataInputStream)
Read from dis until a PGP section appears.
 o strip(String)
'Strips' armour off PGP binary data and checks 24-bit checksum

Variables

 o LINEFEED
  public final static String LINEFEED

Methods

 o messageWithChecksum
  public static String messageWithChecksum(byte buf[])
Armour and return the data in buf[] without the PGP framing lines.
 o message
  public static void message(PrintStream out,
                             String name,
                             byte buf[])
Armour and write the name packet in buf to out.
 o message
  public static String message(String name,
                               byte buf[])
Armour and return the name packet in buf.
 o message
  public static void message(PrintStream out,
                             Packet pkt) throws IOException
Armour and write pkt to out.
 o strip
  public static byte[] strip(String buf) throws FormatException, IOException, InvalidChecksumException
'Strips' armour off PGP binary data and checks 24-bit checksum
 o name
  public static String name(Packet pkt)
Returns the name PGP uses in its framing lines for this type of pkt.
 o readUntilBegin
  public static void readUntilBegin(DataInputStream dis) throws IOException
Read from dis until a PGP section appears.
 o decodeChecksum
  public static int decodeChecksum(String s)
Decode the checksum contained in s.

All Packages  Class Hierarchy  This Package  Previous  Next  Index