public class EcdhWithX963Sha224Kdf
extends javax.crypto.KeyAgreementSpi
EcdhWithX963Sha224Kdf extends KeyAgreementSpi for establishing a shared secret
key with ECDH with X9.63 SHA224 KDF.
An AlgorithmParameterSpec must be passed to engineInit to initialize this
operation.
This operation only supports generating SecretKey through engineGenerateSecret.
CloudHSM does not need a SecureRandom source, as the HSM handles randomness
internally. Any source of SecureRandom passed to KeyAgreementSpi methods will be
ignored.
KeyAgreementSpi| Constructor and Description |
|---|
EcdhWithX963Sha224Kdf(CloudHsmProvider provider)
Constructs this
KeyAgreementSpi for ECDH with X9.63 SHA224 KDF. |
public EcdhWithX963Sha224Kdf(CloudHsmProvider provider) throws java.lang.IllegalStateException
KeyAgreementSpi for ECDH with X9.63 SHA224 KDF.
This is normally called from KeyAgreement.getInstance(String,
Provider).
provider - CloudHSM provider that offers this service.java.lang.IllegalStateException - when provider is null.KeyAgreement