public static final class FipsDH.MQVAgreementParametersBuilder extends FipsParameters
Modifier and Type | Method and Description |
---|---|
FipsDH.MQVAgreementParameters |
using(AsymmetricDHPrivateKey ephemeralPrivateKey,
AsymmetricDHPublicKey otherPartyEphemeralKey)
Constructor for DH MQV parameters which assumes later calculation of our ephemeral public key.
|
FipsDH.MQVAgreementParameters |
using(AsymmetricDHPublicKey ephemeralPublicKey,
AsymmetricDHPrivateKey ephemeralPrivateKey,
AsymmetricDHPublicKey otherPartyEphemeralKey)
Constructor for DH MQV parameters which results in an agreement returning the raw value.
|
FipsDH.MQVAgreementParameters |
using(AsymmetricKeyPair ephemeralKeyPair,
AsymmetricDHPublicKey otherPartyEphemeralKey)
Constructor for DH MQV parameters from an ephemeral public/private key pair.
|
getAlgorithm
public FipsDH.MQVAgreementParameters using(AsymmetricKeyPair ephemeralKeyPair, AsymmetricDHPublicKey otherPartyEphemeralKey)
ephemeralKeyPair
- our ephemeral public/private key pair.otherPartyEphemeralKey
- the other party's ephemeral public key.public FipsDH.MQVAgreementParameters using(AsymmetricDHPrivateKey ephemeralPrivateKey, AsymmetricDHPublicKey otherPartyEphemeralKey)
ephemeralPrivateKey
- our ephemeral private key.otherPartyEphemeralKey
- the other party's ephemeral public key.public FipsDH.MQVAgreementParameters using(AsymmetricDHPublicKey ephemeralPublicKey, AsymmetricDHPrivateKey ephemeralPrivateKey, AsymmetricDHPublicKey otherPartyEphemeralKey)
ephemeralPublicKey
- our ephemeral public key.ephemeralPrivateKey
- our ephemeral private key.otherPartyEphemeralKey
- the other party's ephemeral public key.