public class ConcatKDF extends Object implements DerivationAlgorithm<ConcatKDFParams>
Identifier of the key derivation algorithm: http://www.w3.org/2009/xmlenc11#ConcatKDF
| Constructor and Description |
|---|
ConcatKDF() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
deriveKey(byte[] sharedSecret,
ConcatKDFParams concatKDFParams)
Derives a key from the shared secret and other concat kdf parameters.
|
public byte[] deriveKey(byte[] sharedSecret,
ConcatKDFParams concatKDFParams)
throws XMLSecurityException
deriveKey in interface DerivationAlgorithm<ConcatKDFParams>sharedSecret - The "shared" secret used for the key derivation (e.g. the secret key)concatKDFParams - The concat key derivation parametersIllegalArgumentException - if the concat KDF parameters are not setXMLSecurityException - if the key derivation parameters are invalidCopyright © 2000–2024 The Apache Software Foundation. All rights reserved.