T
- the type for the parameters for the operator made by this factory.public interface AgreementFactory<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
Agreement<T> |
createAgreement(AsymmetricPrivateKey key,
T parameters)
Return an initialised agreement set up for the passed in key.
|
Agreement<T> createAgreement(AsymmetricPrivateKey key, T parameters)
key
- the key to base the agreement on.parameters
- agreement parameters.