public final class SaslPrep extends Object
This class should not be considered a part of the public API.
Modifier and Type | Method and Description |
---|---|
static String |
saslPrepQuery(String str)
Return the
SASLPrep -canonicalised version of the given str for use as a query string. |
static String |
saslPrepStored(String str)
Return the
SASLPrep -canonicalised version of the given str for use as a stored string. |
public static String saslPrepQuery(String str)
SASLPrep
-canonicalised version of the given str
for use as a query string.
This implements the SASLPrep
algorithm defined in RFC 4013.str
- The string to canonicalise.IllegalArgumentException
- if the string contained prohibited codepoints, or broke the requirements for bidirectional
character handling.public static String saslPrepStored(String str)
SASLPrep
-canonicalised version of the given str
for use as a stored string.
This implements the SASLPrep
algorithm defined in RFC 4013.str
- The string to canonicalise.IllegalArgumentException
- if the string contained prohibited codepoints, or broke the requirements for bidirectional
character handling.Copyright © 2010 - 2020 Adobe. All Rights Reserved