CryptoConfig Class
Accesses the cryptography configuration information.
For a list of all members of this type, see CryptoConfig Members.
System.Object
System.Security.Cryptography.CryptoConfig
[Visual Basic] Public Class CryptoConfig [C#] public class CryptoConfig [C++] public __gc class CryptoConfig [JScript] public class CryptoConfig
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
The following table shows the simple names recognized by this class and the algorithm implementations to which they map.
| Simple Name | Algorithm Implementation |
|---|---|
| SHA | SHA1CryptoServiceProvider |
| SHA1 | SHA1CryptoServiceProvider |
| System.Security.Cryptography.SHA1 | SHA1CryptoServiceProvider |
| System.Security.Cryptography.HashAlgorithm | SHA1CryptoServiceProvider |
| MD5 | MD5CryptoServiceProvider |
| System.Security.Cryptography.MD5 | MD5CryptoServiceProvider |
| SHA256 | SHA256Managed |
| SHA-256 | SHA256Managed |
| System.Security.Cryptography.SHA256 | SHA256Managed |
| SHA384 | SHA384Managed |
| SHA-384 | SHA384Managed |
| System.Security.Cryptography.SHA384 | SHA384Managed |
| SHA512 | SHA512Managed |
| SHA-512 | SHA512Managed |
| System.Security.Cryptography.SHA512 | SHA512Managed |
| RSA | RSACryptoServiceProvider |
| System.Security.Cryptography.RSA | RSACryptoServiceProvider |
| System.Security.Cryptography.AsymmetricAlgorithm | RSACryptoServiceProvider |
| DSA | DSACryptoServiceProvider |
| System.Security.Cryptography.DSA | DSACryptoServiceProvider |
| DES | DESCryptoServiceProvider |
| System.Security.Cryptography.DES | DESCryptoServiceProvider |
| 3DES | TripleDESCryptoServiceProvider |
| TripleDES | TripleDESCryptoServiceProvider |
| Triple DES | TripleDESCryptoServiceProvider |
| System.Security.Cryptography.TripleDES | TripleDESCryptoServiceProvider |
| System.Security.Cryptography.SymmetricAlgorithm | TripleDESCryptoServiceProvider |
| RC2 | RC2CryptoServiceProvider |
| System.Security.Cryptography.RC2 | RC2CryptoServiceProvider |
| Rijndael | RijndaelManaged |
| System.Security.Cryptography.Rijndael | RijndaelManaged |
Requirements
Namespace: System.Security.Cryptography
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
CryptoConfig Members | System.Security.Cryptography Namespace | Cryptographic Services