Method Summary |
|
final public static byte[] | fromBase64String(String s) Performs RFC1521 style Base64 decoding of Base64 encoded data.
The output is a byte array containing the decoded binary data.
The input is expected to be a normal Unicode String object.
Parameters: s - The Base64 encoded string to decode into binary data. |
final public static String | toBase64SessionKeyString(byte[] bytes) The encoding is more or less Base 64, but instead of '+'
and '/' as defined in RFC1521, the characters '_' and
'-' are used because they are safe in URLs and file names. |
final public static String | toBase64String(byte[] bytes) Performs RFC1521 style Base64 encoding of arbitrary binary data.
The output is a java String containing the Base64 characters
representing the binary data. |