Package com.ongres.scram.client
Interface ScramClient.PasswordBuildStage
- 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 @NotNull [] clientKey, byte @NotNull [] serverKey) Sets the ClientKey/ServerKey.password(char @NotNull [] password) Sets the password.saltedPassword(byte @NotNull [] saltedPassword) Sets the SaltedPassword.
-
Method Details
-
password
Sets the password.- Parameters:
password- the required password- Returns:
thisbuilder for use in a chained invocation
-
saltedPassword
Sets the SaltedPassword.- Parameters:
saltedPassword- the required SaltedPassword- Returns:
thisbuilder for use in a chained invocation
-
clientAndServerKey
ScramClient.FinalBuildStage clientAndServerKey(byte @NotNull [] clientKey, byte @NotNull [] serverKey) Sets the ClientKey/ServerKey.- Parameters:
clientKey- the required ClientKeyserverKey- the required ServerKey- Returns:
thisbuilder for use in a chained invocation
-