© 2005 BEA Systems, Inc.

com.beasys.commerce.ebusiness.security
Class FlexoCheck

java.lang.Object
  extended bycom.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.


Constructor Summary
FlexoCheck()
           
 
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
 

Constructor Detail

FlexoCheck

public FlexoCheck()
Method Detail

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.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved