@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class PasswordEncoderOutputFormatter extends java.lang.Object
Constructor and Description |
---|
PasswordEncoderOutputFormatter() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
format(byte[] unformattedData)
Formats the provided data in accordance with this output format.
|
java.lang.String |
toString()
Retrieves a string representation of this password encoder output
formatter.
|
abstract void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this password encoder output formatter
to the provided buffer.
|
abstract byte[] |
unFormat(byte[] formattedData)
Reverses the formatting that has been applied to the provided data.
|
public PasswordEncoderOutputFormatter()
@NotNull public abstract byte[] format(@NotNull byte[] unformattedData) throws LDAPException
unformattedData
- The data to be formatted. It must not be
null
.LDAPException
- If a problem is encountered while formatting the
provided data.@NotNull public abstract byte[] unFormat(@NotNull byte[] formattedData) throws LDAPException
formattedData
- 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.@NotNull public final java.lang.String toString()
toString
in class java.lang.Object