Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


oracle.security.xmlsec.wss.username
Interface KeyDerivator


public interface KeyDerivator

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


Method Summary
 SymmetricKey resolve(UsernameToken token, java.lang.String dataEncAlgURI)
          Sub-classes need to implement this method to resolve the password and return the corresponding secret key bytes.

 

Method Detail

resolve

public SymmetricKey resolve(UsernameToken token,
                            java.lang.String dataEncAlgURI)
                     throws KeyDerivationException
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

Oracle Security Developer Tools Web Services Security Java API Reference
10g Release 2 (10.1.2.0.2)

B15570-01


Copyright © 2005 , Oracle. All rights reserved.