Package | Description |
---|---|
com.ongres.scram.client | |
com.ongres.scram.common | |
com.ongres.scram.common.stringprep |
Modifier and Type | Field and Description |
---|---|
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 |
---|
ScramSession(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
String user,
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,
String password,
byte[] salt,
int iteration)
Generates a client key from the password and salt.
|
static byte[] |
ScramFunctions.saltedPassword(ScramMechanism scramMechanism,
StringPreparation stringPreparation,
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,
String password,
byte[] salt,
int iteration)
Generates a server key from the password and salt.
|
Modifier and Type | Class and Description |
---|---|
class |
StringPreparations |
Copyright © 2017–2021. All rights reserved.