- algorithm
- the name of the key agreement algorithm to create.
- provider
- the provider that provides the requested algorithm.
Documentation for this section has not yet been entered.
Type Reason Java.Security.NoSuchAlgorithmException if the specified provider cannot provide the requested algorithm. Java.Lang.IllegalArgumentException if the specified provider is null. Java.Lang.NullPointerException if the specified algorithm name is null.
Create a new KeyAgreement for the specified algorithm from the specified provider. The provider supplied does not have to be registered.