| |
|
| java.lang.Object org.apache.tools.ant.util.Base64Converter
Base64Converter | public class Base64Converter (Code) | | BASE 64 encoding of a String or an array of bytes.
Based on RFC 1421.
|
Field Summary | |
final public static char[] | alphabet |
Method Summary | |
public String | encode(String s) Encode a string into base64 encoding.
Parameters: s - the string to encode. | public String | encode(byte[] octetString) Encode a byte array into base64 encoding.
Parameters: octetString - the byte array to encode. |
alphabet | final public static char[] alphabet(Code) | | Provided for BC purposes
|
encode | public String encode(String s)(Code) | | Encode a string into base64 encoding.
Parameters: s - the string to encode. the encoded string. |
encode | public String encode(byte[] octetString)(Code) | | Encode a byte array into base64 encoding.
Parameters: octetString - the byte array to encode. the encoded string. |
|
|
|