public interface KeyDerivator
| Modifier and Type | Method and Description |
|---|---|
javax.crypto.SecretKey |
resolve(UsernameToken token, java.lang.String dataEncAlgURI)
Deprecated.
Sub-classes need to implement this method to resolve the password and return the corresponding secret key bytes.
|
javax.crypto.SecretKey resolve(UsernameToken token, java.lang.String dataEncAlgURI) throws KeyDerivationException
token - The Username Token to be used for key derivationdataEncAlgURI - The algorithm URI that is used to determine the key length.null on failure.KeyDerivationException