public static Algorithm CreateInstanceByOid( string oid )
Public Shared Function CreateInstanceByOid ( oid As String ) As Algorithm
To view the full list of encryption and hash algorithms, refer to CRYPT_ALGORITHM_IDENTIFIER page of MSDN library.
For instance, to obtain RC4 algorithm (used for encryption), pass "1.2.840.113549.3.4" string to this method.
Or, to obtain MD5 hash algorithm (used for signing), pass "1.2.840.113522.214.171.124" string instead.
|RC4 and MD5 will not be available if the current system is FIPS compliant. They are considered weak.|