Package | Description |
---|---|
com.ongres.scram.client | |
com.ongres.scram.common | |
com.ongres.scram.common.stringprep |
Modifier and Type | Field and Description |
---|---|
private StringPreparation |
ScramSession.stringPreparation |
private StringPreparation |
ScramClient.stringPreparation |
protected StringPreparation |
ScramClient.PreBuilder2.stringPreparation |
Modifier and Type | Method and Description |
---|---|
StringPreparation |
ScramClient.getStringPreparation() |
Modifier and Type | Method and Description |
---|---|
ScramClient.PreBuilder2 |
ScramClient.PreBuilder1.stringPreparation(StringPreparation stringPreparation)
Selects the string preparation algorithm to use by the client.
|
Constructor and Description |
---|
Builder(ScramClient.ChannelBinding channelBinding,
StringPreparation stringPreparation,
java.util.Optional<ScramMechanism> nonChannelBindingMechanism,
java.util.Optional<ScramMechanism> channelBindingMechanism) |
PreBuilder2(ScramClient.ChannelBinding channelBinding,
StringPreparation stringPreparation) |
ScramClient(ScramClient.ChannelBinding channelBinding,
StringPreparation stringPreparation,
java.util.Optional<ScramMechanism> nonChannelBindingMechanism,
java.util.Optional<ScramMechanism> channelBindingMechanism,
java.security.SecureRandom secureRandom,
java.util.function.Supplier<java.lang.String> nonceSupplier) |
ScramSession(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
java.lang.String user,
java.lang.String nonce)
Constructs a SCRAM client, to perform an authentication for a given user.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
ScramFunctions.clientKey(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
java.lang.String password,
byte[] salt,
int iteration)
Generates a client key from the password and salt.
|
static byte[] |
ScramFunctions.saltedPassword(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
java.lang.String password,
byte[] salt,
int iteration)
Compute the salted password, based on the given SCRAM mechanism, the String preparation algorithm,
the provided salt and the number of iterations.
|
static byte[] |
ScramFunctions.serverKey(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
java.lang.String password,
byte[] salt,
int iteration)
Generates a server key from the password and salt.
|
Modifier and Type | Class and Description |
---|---|
class |
StringPreparations |