com.beasys.commerce.ebusiness.security
Class FlexoCheck
java.lang.Object
com.beasys.commerce.ebusiness.security.FlexoCheck
- public class FlexoCheck
- extends Object
Provides encoding of raw bytes to base64-encoded characters, and
decoding of base64 characters to raw bytes.
Method Summary |
static byte[] |
decode(char[] data)
Returns an array of bytes which were encoded in the passed
character array. |
static char[] |
encode(byte[] data)
returns an array of base64-encoded characters to represent the
passed data array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlexoCheck
public FlexoCheck()
decode
public static byte[] decode(char[] data)
- Returns an array of bytes which were encoded in the passed
character array.
- Parameters:
data
- the array of base64-encoded characters
- Returns:
- decoded data array
encode
public static char[] encode(byte[] data)
- returns an array of base64-encoded characters to represent the
passed data array.
- Parameters:
data
- the array of bytes to encode
- Returns:
- base64-coded character array.
Copyright © 2005 BEA Systems, Inc. All Rights Reserved