Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


oracle.security.xmlsec.wss.username
Interface KeyDerivator


Deprecated.

public interface KeyDerivator

Classes implementing this interface are used to derive secret keys from passwords.


Method Summary
 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.

 

Method Detail

resolve

javax.crypto.SecretKey resolve(UsernameToken token,
                               java.lang.String dataEncAlgURI)
                               throws KeyDerivationException
Deprecated. 
Sub-classes need to implement this method to resolve the password and return the corresponding secret key bytes.
Parameters:
token - The Username Token to be used for key derivation
dataEncAlgURI - The algorithm URI that is used to determine the key length.
Returns:
The derived symmetric key on success or null on failure.
Throws:
KeyDerivationException

Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


Copyright © 2005, 2009, Oracle. All rights reserved.