public static final class FipsDH.MQVAgreementFactory extends FipsAgreementFactory<FipsDH.MQVAgreementParameters>
Constructor and Description |
---|
MQVAgreementFactory() |
Modifier and Type | Method and Description |
---|---|
FipsAgreement<FipsDH.MQVAgreementParameters> |
createAgreement(AsymmetricPrivateKey key,
FipsDH.MQVAgreementParameters parameters)
Return an Agreement operator based on MQV using Diffie-Hellman keys.
|
public FipsAgreement<FipsDH.MQVAgreementParameters> createAgreement(AsymmetricPrivateKey key, FipsDH.MQVAgreementParameters parameters)
createAgreement
in interface AgreementFactory<FipsDH.MQVAgreementParameters>
createAgreement
in class FipsAgreementFactory<FipsDH.MQVAgreementParameters>
key
- the private key to initialize the Agreement with.parameters
- the parameters for configuring the agreement.