- algorithm
- the name of the requested MAC algorithm.
- provider
- the name of the provider that is providing the algorithm.
Documentation for this section has not yet been entered.
Type Reason Java.Security.NoSuchAlgorithmException if the specified algorithm is not provided by the specified provider. Java.Security.NoSuchProviderException if the specified provider is not available. Java.Lang.IllegalArgumentException if the specified provider name is null or empty. Java.Lang.NullPointerException if algorithm is null (instead of NoSuchAlgorithmException as in 1.4 release).
Creates a new Mac instance that provides the specified MAC algorithm from the specified provider.