@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class Base64PasswordEncoderOutputFormatter extends PasswordEncoderOutputFormatter
| Modifier and Type | Method and Description |
|---|---|
byte[] |
format(byte[] unformattedData)
Formats the provided data in accordance with this output format.
|
static Base64PasswordEncoderOutputFormatter |
getInstance()
Retrieves the singleton instance of this base64 password encoder output
formatter.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this password encoder output formatter
to the provided buffer.
|
byte[] |
unFormat(byte[] formattedData)
Reverses the formatting that has been applied to the provided data.
|
toString@NotNull public static Base64PasswordEncoderOutputFormatter getInstance()
@NotNull public byte[] format(@NotNull byte[] unformattedData) throws LDAPException
format in class PasswordEncoderOutputFormatterunformattedData - The data to be formatted. It must not be
null.LDAPException - If a problem is encountered while formatting the
provided data.@NotNull public byte[] unFormat(@NotNull byte[] formattedData) throws LDAPException
unFormat in class PasswordEncoderOutputFormatterformattedData - The formatted data to be un-formatted. It must not
be null.LDAPException - If the provided data does not represent a valid
encoding, or if a problem is encountered while
un-formatting the provided data.public void toString(@NotNull java.lang.StringBuilder buffer)
toString in class PasswordEncoderOutputFormatterbuffer - The buffer to which the information should be appended.