Class DigestQuote
- java.lang.Object
-
- org.wildfly.security.mechanism.digest.DigestQuote
-
public class DigestQuote extends Object
Utility class used to convert string to quoted strings.- Author:
- Peter Skopek
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]quote(byte[] input)Creates new Array quoted by SASL rules.static Stringquote(String inputStr)Creates new String quoted by SASL rules.
-
-
-
Method Detail
-
quote
public static String quote(String inputStr)
Creates new String quoted by SASL rules.- Parameters:
inputStr- String to be quoted.- Returns:
- new String with quoted characters.
-
quote
public static byte[] quote(byte[] input)
Creates new Array quoted by SASL rules.- Parameters:
input- Byte array to be quoted.- Returns:
- new byte array with quoted bytes.
-
-