public static byte[] base64DecodeString(String base64String){
  try {
    return Base64.decodeBase64(base64String.getBytes("UTF-8"));
  }
 catch (  Exception e) {
    throw new RuntimeException("Exception while decoding " + base64String);
  }
}

public static byte [ ] base64DecodeString ( String base64String ) { try { return Base64 . decodeBase64 ( base64String . getBytes ( "UTF-8" ) ) ; } catch ( Exception e ) { throw new RuntimeException ( "Exception while decoding " + base64String ) ; } }
base64 decode a base64string using org . apache . commons . codec . binary . base64
