public static final class EdEC.XDHAgreementFactory extends java.lang.Object implements AgreementFactory<EdEC.Parameters>
Constructor and Description |
---|
XDHAgreementFactory() |
Modifier and Type | Method and Description |
---|---|
Agreement<EdEC.Parameters> |
createAgreement(AsymmetricPrivateKey key,
EdEC.Parameters parameters)
Return an initialised agreement set up for the passed in key.
|
public Agreement<EdEC.Parameters> createAgreement(AsymmetricPrivateKey key, EdEC.Parameters parameters)
AgreementFactory
createAgreement
in interface AgreementFactory<EdEC.Parameters>
key
- the key to base the agreement on.parameters
- agreement parameters.