public class ScramCredential extends Object
Constructor and Description |
---|
ScramCredential(byte[] salt,
byte[] storedKey,
byte[] serverKey,
int iterations)
Constructs a new credential.
|
Modifier and Type | Method and Description |
---|---|
int |
iterations()
Number of iterations used to process this credential using the SCRAM algorithm.
|
byte[] |
salt()
Returns the salt used to process this credential using the SCRAM algorithm.
|
byte[] |
serverKey()
Server key computed from the client password using the SCRAM algorithm.
|
byte[] |
storedKey()
Stored key computed from the client password using the SCRAM algorithm.
|
public ScramCredential(byte[] salt, byte[] storedKey, byte[] serverKey, int iterations)
public byte[] salt()
public byte[] serverKey()
public byte[] storedKey()
public int iterations()