T
- the parameters class for the particular version.public interface Agreement<T extends Parameters>
Modifier and Type | Method and Description |
---|---|
byte[] |
calculate(AsymmetricPublicKey key)
Calculate the agreement using the passed in public key.
|
T |
getParameters()
Return the parameters being used by this agreement.
|
T getParameters()
byte[] calculate(AsymmetricPublicKey key)
key
- the public key of the other party.