public interface WSPasswordDigest
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getDerivedKey(String username,
byte[] salt,
int iteration)
Returns the derived key.
|
byte[] |
getPasswordDigest(String username,
byte[] nonce,
String created)
This method returns a digest based on the nonce, created date string and
the corresponding password for the specified user.
|
byte[] getPasswordDigest(String username, byte[] nonce, String created) throws DigestNotAvailableException
username - String containing the user namenonce - Byte array to be used as a seedcreated - String used to create the digestDigestNotAvailableException - if the password digest could not be createdbyte[] getDerivedKey(String username, byte[] salt, int iteration) throws DigestNotAvailableException
username - String containing the user name.salt - Byte array to be used as a seediteration - int number of times the derived key value is successively
encrypted to generate the final derived key value.DigestNotAvailableException