- key
- the key to initialize this key agreement.
- params
- the parameters for this key agreement algorithm.
- random
- the source for any randomness needed.
Type Reason Java.Security.InvalidKeyException if the specified key cannot be used to initialize this key agreement. Java.Security.InvalidAlgorithmParameterException if the specified parameters are invalid for this key agreement algorithm.
Initializes this KeyAgreementSpi with the specified key, algorithm parameters and randomness source.