org.jasypt.commons
Class CommonUtils

Object
  extended by org.jasypt.commons.CommonUtils

public class CommonUtils
extends Object

Common utils regarding treatment of parameter values and encoding operations. This class is for internal use only.

Since:
1.3
Author:
Daniel Fernández Garrido

Field Summary
static String STRING_OUTPUT_TYPE_BASE64
           
static String STRING_OUTPUT_TYPE_HEXADECIMAL
           
 
Method Summary
static byte[] fromHexadecimal(String message)
           
static Boolean getStandardBooleanValue(String valueStr)
           
static String getStandardStringOutputType(String valueStr)
           
static String toHexadecimal(byte[] message)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRING_OUTPUT_TYPE_BASE64

public static final String STRING_OUTPUT_TYPE_BASE64
See Also:
Constant Field Values

STRING_OUTPUT_TYPE_HEXADECIMAL

public static final String STRING_OUTPUT_TYPE_HEXADECIMAL
See Also:
Constant Field Values
Method Detail

getStandardBooleanValue

public static Boolean getStandardBooleanValue(String valueStr)

getStandardStringOutputType

public static String getStandardStringOutputType(String valueStr)

toHexadecimal

public static String toHexadecimal(byte[] message)

fromHexadecimal

public static byte[] fromHexadecimal(String message)


Copyright © 2008 The JASYPT team. All Rights Reserved.