public final class X963KeyDerivationFunction extends Object implements KeyDerivationFunction
References:
[1] ANSI X9.63-2001, "American National Standard for Financial Services - Key Agreement and Key Transport Using Elliptic Curve Cryptography" , November 2001.
[2] Certicom Research. 2009. Standards for Efficient Cryptography - SEC 1: Elliptic Curve Cryptography v2.0
| Constructor and Description |
|---|
X963KeyDerivationFunction() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
engineGenerateKey(byte[] secret)
Derives the symmetric key from a shared secret and returns it.
|
byte[] |
engineGenerateKey(byte[] secret,
int keyLength)
Derives the symmetric key from a shared secret and returns it.
|
void |
engineInit(KDFParameterSpec params)
Initializes this KDF.
|
public void engineInit(KDFParameterSpec params)
KeyDerivationFunctionengineInit in interface KeyDerivationFunctionparams - the KDF parameterspublic byte[] engineGenerateKey(byte[] secret)
KeyDerivationFunctionengineGenerateKey in interface KeyDerivationFunctionsecret - the secret, from which the key is going to be derivedpublic byte[] engineGenerateKey(byte[] secret,
int keyLength)
KeyDerivationFunctionengineGenerateKey in interface KeyDerivationFunctionsecret - the secret, from which the key is going to be derivedkeyLength - the length of the key in bitsCopyright © 2011–2022 Stiftung SIC. All rights reserved.