CryptoConfig: AddAlgorithm

AddAlgorithm

Adds a set of names to algorithm mappings to be used for the current application domain.



 Public Sub AddAlgorithm(
	  ByRef Algorithm As String,
	  ParamArray Names ( ) As Variant )

Parameters

Algorithm
[ByRef] String. The algorithm to map to.
Names
[ByRef] Variant. An array of names to map to the algorithm.

Remarks

The specified mappings take precedence over the built-in mappings.

Exceptions

Exception Condition
ArgumentException The Algorithm parameter is empty.
-or-
One of the entries in the Names parameter is empty.
InvalidCastException One of the entries in the Names parameter is not a string.

See Also

Project CorLib Overview

Class CryptoConfig Overview