public interface KeyAgreement
Modifier and Type | Field and Description |
---|---|
static long |
CKD_SHA224_KDF |
static long |
CKD_SHA256_KDF |
static long |
CKD_SHA384_KDF |
static long |
CKD_SHA512_KDF |
Modifier and Type | Method and Description |
---|---|
javax.crypto.SecretKey |
generateKey(java.security.Key aKey,
Algorithm alg) |
void |
init(java.security.Key aKey,
AlgorithmParams aParams) |
static final long CKD_SHA224_KDF
static final long CKD_SHA256_KDF
static final long CKD_SHA384_KDF
static final long CKD_SHA512_KDF
void init(java.security.Key aKey, AlgorithmParams aParams) throws CryptoException
aKey
- private key for ECDHaParams
- parameters that may be needed in the KeyGenerationCryptoException
javax.crypto.SecretKey generateKey(java.security.Key aKey, Algorithm alg) throws CryptoException
aKey
- public key for ECDHalg
- the requested secret key algorithmCryptoException
Copyright © 2025. All rights reserved.