| java.lang.Object com.nabhinc.util.md.Base64
Base64 | final public class Base64 (Code) | | This class provides encode/decode for RFC 2045 Base64 as defined by
RFC 2045, N. Freed and N. Borenstein. RFC 2045:
Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies. Reference 1996
author: Jeffrey Rodriguez version: $Id: Base64.java,v 1.2 2006/08/04 17:34:50 wchokry Exp $ |
Method Summary | |
public static void | decode(ByteChunk base64DataBC, CharChunk decodedDataCC) | public static byte[] | encode(byte[] binaryData) Encodes hex octects into Base64.
Parameters: binaryData - Array containing binary data to encode. | public static boolean | isArrayByteBase64(byte[] arrayOctect) | public static boolean | isBase64(String isValidString) | public static boolean | isBase64(byte octect) |
decode | public static void decode(ByteChunk base64DataBC, CharChunk decodedDataCC)(Code) | | Decodes Base64 data into octects
Parameters: base64DataBC - Byte array containing Base64 data Parameters: decodedDataCC - The decoded data chars |
encode | public static byte[] encode(byte[] binaryData)(Code) | | Encodes hex octects into Base64.
Parameters: binaryData - Array containing binary data to encode. Base64-encoded data. |
isArrayByteBase64 | public static boolean isArrayByteBase64(byte[] arrayOctect)(Code) | | |
isBase64 | public static boolean isBase64(String isValidString)(Code) | | |
isBase64 | public static boolean isBase64(byte octect)(Code) | | |
|
|