类 SaslPrep


  • public class SaslPrep
    extends Object
    Implementation for SASLprep: Stringprep Profile for User Names and Passwords, as specified in RFC 4013.
    另请参阅:
    RFC 3454
    • 构造器详细资料

      • SaslPrep

        public SaslPrep()
    • 方法详细资料

      • prepare

        public static String prepare​(String str,
                                     SaslPrep.StringType sType)
        Prepares the given string by applying the "SASLprep" profile of the "stringprep" algorithm.
        参数:
        str - the string to prepare.
        sType - the type of preparation with regard to the support for unassigned code points.
        返回:
        the prepared version of the given string.
        另请参阅:
        RFC 4013, RFC 3454