Module org.apache.santuario.xmlsec
Interface DerivationAlgorithm<T extends KeyDerivationParameters>
public interface DerivationAlgorithm<T extends KeyDerivationParameters>
The DerivationAlgorithm is the base interface for all key derivation algorithms
implementation.
-
Method Summary
-
Method Details
-
deriveKey
Derives a key from the given secret and other info.- Parameters:
secret- The "shared" secret to use for key derivation (e.g. the secret key)params- The key derivation parameters implementing the KeyDerivationParameters interface- Returns:
- Byte array of the derived key
- Throws:
XMLSecurityException- in case of derivation error or invalid parameters
-