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