public class EcdhWithX963Sha1Kdf
extends javax.crypto.KeyAgreementSpi
EcdhWithX963Sha1Kdf extends KeyAgreementSpi for establishing a shared secret key
with ECDH with X9.63 SHA1 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 |
|---|
EcdhWithX963Sha1Kdf(CloudHsmProvider provider)
Constructs this
KeyAgreementSpi for ECDH with X9.63 SHA1 KDF. |
public EcdhWithX963Sha1Kdf(CloudHsmProvider provider) throws java.lang.IllegalStateException
KeyAgreementSpi for ECDH with X9.63 SHA1 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