CryptoConfig: CreateFromName

CreateFromName

Creates a cryptography object based on the name.



 Public Function CreateFromName(
	  ByRef AlgName As String ) As Object

Parameters

AlgName
[ByRef] String. The name of the cryptography object to be created.

Return Values

Object -  An instance of the specified cryptographic object or Nothing if not found.

Remarks

If the algorithm name is not found, then an attempt to create the object using CreateObject(Server.Class) is used. If no cryptographic object can be created then Nothing is returned.

For a list of simple names recognized by this class, see CryptoConfig.

See Also

Project CorLib Overview

Class CryptoConfig Overview