public interface WSPasswordDigest
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getDerivedKey(java.lang.String username,
byte[] salt,
int iteration) |
Returns the derived key.
|
byte[] |
getPasswordDigest(java.lang.String username,
byte[] nonce,
java.lang.String created) |
This method returns a digest based on the nonce, created date string and
the corresponding password for the specified user.
|
byte[] getPasswordDigest(java.lang.String username,
byte[] nonce,
java.lang.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(java.lang.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