- algorithm
- the name of the key agreement algorithm to create.
- provider
- the name of 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.Security.NoSuchProviderException if the specified provider does not exist. Java.Lang.IllegalArgumentException if the specified provider name is null or empty.
Creates a new KeyAgreement for the specified algorithm from the specified provider.