Package com.ongres.scram.client
Interface ScramClient.PasswordBuildStage
-
- All Known Implementing Classes:
ScramClient.Builder
- Enclosing class:
- ScramClient
public static interface ScramClient.PasswordBuildStageBuilder stage for the password (or a ClientKey/ServerKey, or SaltedPassword).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScramClient.FinalBuildStageclientAndServerKey(byte @NotNull [] clientKey, byte @NotNull [] serverKey)Sets the ClientKey/ServerKey.ScramClient.FinalBuildStagepassword(char @NotNull [] password)Sets the password.ScramClient.FinalBuildStagesaltedPassword(byte @NotNull [] saltedPassword)Sets the SaltedPassword.
-
-
-
Method Detail
-
password
ScramClient.FinalBuildStage password(char @NotNull [] password)
Sets the password.- Parameters:
password- the required password- Returns:
thisbuilder for use in a chained invocation
-
saltedPassword
ScramClient.FinalBuildStage saltedPassword(byte @NotNull [] 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
-
-