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

Class cryptix.pgp.charset.CharSet

java.lang.Object
   |
   +----cryptix.pgp.charset.CharSet

public class CharSet
extends Object
This abstract class contains static methods to convert between PGP's internal character set, and any charset whose name is recognised by old-PGP.
Author:
Jill Baker

Constructor Index

 o CharSet()

Method Index

 o decode(byte[], String)
Convert a byte[] buffer from the specified charset to PGP's internal form.
 o encode(byte[], String)
Convert a byte[] buffer from PGP's internal form to the specified charset.

Constructors

 o CharSet
  public CharSet()

Methods

 o encode
  public static byte[] encode(byte in[],
                              String name) throws FormatException
Convert a byte[] buffer from PGP's internal form to the specified charset.
 o decode
  public static byte[] decode(byte in[],
                              String name) throws FormatException
Convert a byte[] buffer from the specified charset to PGP's internal form.

All Packages  Class Hierarchy  This Package  Previous  Next  Index