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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScramClient.FinalBuildStage
clientAndServerKey(byte @NotNull [] clientKey, byte @NotNull [] serverKey)
Sets the ClientKey/ServerKey.ScramClient.FinalBuildStage
password(char @NotNull [] password)
Sets the password.ScramClient.FinalBuildStage
saltedPassword(byte @NotNull [] saltedPassword)
Sets the SaltedPassword.
-
-
-
Method Detail
-
password
ScramClient.FinalBuildStage password(char @NotNull [] password)
Sets the password.- Parameters:
password
- the required password- Returns:
this
builder for use in a chained invocation
-
saltedPassword
ScramClient.FinalBuildStage saltedPassword(byte @NotNull [] saltedPassword)
Sets the SaltedPassword.- Parameters:
saltedPassword
- the required SaltedPassword- Returns:
this
builder 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:
this
builder for use in a chained invocation
-
-