Oracle Security Developer Tools Web Services Security Java API Reference
10g (10.1.4.0.1)

B28177-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
 oracle.security.crypto.core.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 oracle.security.crypto.core.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 (10.1.4.0.1)

B28177-01


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