org.apache.ws.sandbox.security.conversation.dkalgo
Interface DerivationAlgorithm

All Known Implementing Classes:
P_SHA1

public interface DerivationAlgorithm


Field Summary
static java.lang.String P_SHA_1
          This is the default key generation algotithm
 
Method Summary
 byte[] createKey(byte[] secret, java.lang.String labelAndNonce, int offset, long length)
           
 

Field Detail

P_SHA_1

public static final java.lang.String P_SHA_1
This is the default key generation algotithm

See Also:
Constant Field Values
Method Detail

createKey

public byte[] createKey(byte[] secret,
                        java.lang.String labelAndNonce,
                        int offset,
                        long length)
                 throws ConversationException
Parameters:
secret -
labelAndNonce -
length -
Returns:
Throws:
ConversationException


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.