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 class contains static methods to convert between PGP's
internal character set, and any charset whose name is recognised
by old-PGP.
$Revision: 1.1.1.1 $
- Author:
- Jill Baker
-
decode(byte[], String)
- Convert a byte[] buffer from the specified charset
to PGP's internal form.
-
encode(byte[], String)
- Convert a byte[] buffer from PGP's internal form to the specified
charset.
encode
public static byte[] encode(byte in[],
String name) throws FormatException
- Convert a byte[] buffer from PGP's internal form to the specified
charset.
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