T
- the parameters type associated with the final implementation of this key agreement.public abstract class FipsAgreement<T extends Parameters> extends java.lang.Object implements Agreement<T>
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
calculate(AsymmetricPublicKey key)
Calculate the agreement using the passed in public key.
|
abstract T |
getParameters()
Return the parameters being used by this agreement.
|
public abstract T getParameters()
Agreement
getParameters
in interface Agreement<T extends Parameters>
public abstract byte[] calculate(AsymmetricPublicKey key)
Agreement
calculate
in interface Agreement<T extends Parameters>
key
- the public key of the other party.