public final class SaslPrep
extends java.lang.Object
This class should not be considered a part of the public API.
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
saslPrepQuery(java.lang.String str)
Return the
SASLPrep -canonicalised version of the given str for use as a query string. |
static java.lang.String |
saslPrepStored(java.lang.String str)
Return the
SASLPrep -canonicalised version of the given str for use as a stored string. |
public static java.lang.String saslPrepQuery(java.lang.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.java.lang.IllegalArgumentException
- if the string contained prohibited codepoints, or broke the requirements for bidirectional
character handling.public static java.lang.String saslPrepStored(java.lang.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.java.lang.IllegalArgumentException
- if the string contained prohibited codepoints, or broke the requirements for bidirectional
character handling.Copyright © 2010 - 2020 Adobe. All Rights Reserved