Package com.ongres.scram.client
Interface ScramClient.PasswordBuildStage
- All Known Implementing Classes:
ScramClient.Builder
- Enclosing class:
ScramClient
public static interface ScramClient.PasswordBuildStage
Builder stage for the password (or a ClientKey/ServerKey, or SaltedPassword).
-
Method Summary
Modifier and TypeMethodDescriptionclientAndServerKey
(byte[] clientKey, byte[] serverKey) Sets the ClientKey/ServerKey.password
(char[] password) Sets the password.saltedPassword
(byte[] saltedPassword) Sets the SaltedPassword.
-
Method Details
-
password
Sets the password.- Parameters:
password
- the required password- Returns:
this
builder for use in a chained invocation
-
saltedPassword
Sets the SaltedPassword.- Parameters:
saltedPassword
- the required SaltedPassword- Returns:
this
builder for use in a chained invocation
-
clientAndServerKey
Sets the ClientKey/ServerKey.- Parameters:
clientKey
- the required ClientKeyserverKey
- the required ServerKey- Returns:
this
builder for use in a chained invocation
-