public static String decodeBase64ToString(final String data) {
        return new String(decodeBase64(data), StandardCharsets.UTF_8);
    }
Base64-decode the given string as String.

@param data the base64 string
@return the string
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/EncodingUtils.java