Class SaslPrep
java.lang.Object
org.apache.hc.client5.http.impl.auth.SaslPrep
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SaslPrep.CharClassA.1 Unassigned code points in Unicode 3.2private final SaslPrep.CharClassB.1 Commonly mapped to nothingprivate final SaslPrep.CharClassC.1.1 ASCII space charactersprivate final SaslPrep.CharClassC.1.2 Non-ASCII space charactersprivate final SaslPrep.CharClassC.2.1 ASCII control charactersprivate final SaslPrep.CharClassC.2.2 Non-ASCII control charactersprivate final SaslPrep.CharClassC.3 Private useprivate final SaslPrep.CharClassC.4 Non-character code pointsprivate final SaslPrep.CharClassC.5 Surrogate codesprivate final SaslPrep.CharClassC.6 Inappropriate for plain textprivate final SaslPrep.CharClassC.7 Inappropriate for canonical representationprivate final SaslPrep.CharClassC.8 Change display properties or are deprecatedprivate final SaslPrep.CharClassC.9 Tagging characters (tuples)private final SaslPrep.CharClassD.1 Characters with bidirectional property "R" or "AL"private final SaslPrep.CharClassD.2 Characters with bidirectional property "L"static final SaslPrepprivate final SaslPrep.CharClassrfc4013 2.3. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringapplyMapTo(String s, SaslPrep.CharClass mapFrom, String mapTo) private intcontainsCharacterInClass(String s, SaslPrep.CharClass charClass) Return the first character index in s which is inSaslPrep.CharClass, or -1 if no character is in the class.Apply SASLPrep and return the result.private void
-
Field Details
-
INSTANCE
-
A1
A.1 Unassigned code points in Unicode 3.2 -
B1
B.1 Commonly mapped to nothing -
C11
C.1.1 ASCII space characters -
C12
C.1.2 Non-ASCII space characters -
C21
C.2.1 ASCII control characters -
C22
C.2.2 Non-ASCII control characters -
C3
C.3 Private use -
C4
C.4 Non-character code points -
C5
C.5 Surrogate codes -
C6
C.6 Inappropriate for plain text -
C7
C.7 Inappropriate for canonical representation -
C8
C.8 Change display properties or are deprecated -
C9
C.9 Tagging characters (tuples) -
D1
D.1 Characters with bidirectional property "R" or "AL" -
D2
D.2 Characters with bidirectional property "L" -
saslProhibited
rfc4013 2.3. Prohibited Output
-
-
Constructor Details
-
SaslPrep
SaslPrep()
-
-
Method Details
-
applyMapTo
-
containsCharacterInClass
Return the first character index in s which is inSaslPrep.CharClass, or -1 if no character is in the class. -
verifyRTL
- Throws:
ScramException
-
prepAsStoredString
Apply SASLPrep and return the result. is treated as a stored string.- Throws:
ScramException
-
prepAsQueryString
- Throws:
ScramException
-