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 Details

    • 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.