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