CryptoConfig: CreateFromName

CreateFromName

Creates a cryptography object based on the name.



 Public Function CreateFromName(
	  ByVal AlgName As String ) As Object

Parameters

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

Return Values

Object -  An instance of the object or Nothing if an empty name is provided.

Remarks

The supported names are:

 DES
 3DES
 TripleDES
 Triple DES
 RC2
 Rijndael
 SHA
 SHA1
 HashAlgorithm
 SHA256
 SHA-256
 SHA384
 SHA-384
 SHA512
 SHA-512
 MD5
 HMACSHA1
 HMACSHA256
 HMACSHA384
 HMACSHA512
 HMACMD5
 HMACRIPEMD160
 MACTripleDES
 RSA
 DSA
 
If a custom object is required, then the standard . format can be used.

See Also

Project VBCorLib Overview Class CryptoConfig Overview CryptoConfig Properties CryptoConfig Methods EncodeOID