public interface DerivationAlgorithm<T extends KeyDerivationParameters>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
deriveKey(byte[] secret,
T params)
Derives a key from the given secret and other info.
|
byte[] deriveKey(byte[] secret,
T params)
throws XMLSecurityException
secret - The "shared" secret to use for key derivation (e.g. the secret key)params - The key derivation parameters implementing the KeyDerivationParameters interfaceXMLSecurityException - in case of derivation error or invalid parametersCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.