CryptoConfig

CryptoConfig


Accesses the cryptography configuration information.


Public:

Methods:

NameDescription
 AddAlgorithm Adds a set of names to algorithm mappings to be used for the current application domain.  
 CreateFromName Creates a cryptography object based on the name.  
 EncodeOID Returns the encoded version of an Object Identifier.  
 MapNameToOID Returns an object identifier (OID) for a specific name.  

Remarks

The following table shows the simple names recognized by this class and the default algorithm implementations to which they map.
Simple nameAlgorithm implemntation
DES, CorLib.DESDESCryptoServiceProvider
3DES, TripleDES, Triple DESTripleDESCryptoServiceProvider
RC2, CorLib.RC2RC2CryptoServiceProvider
Rinjdael, CorLib.Rinjdael, CorLib.SymmertricAlgorithmRijndaelManaged
SHA, SHA1, CorLib.SHA1, CorLib.SHA1CryptoServiceProvider, CorLib.HashAlgorithmSHA1CryptoServiceProvider
SHA256, SHA-256, CorLib.SHA256SHA256Managed
SHA512, SHA-512, CorLib.SHA512SHA512Managed
SHA384, SHA-384, CorLib.SHA384SHA384Managed
MD5, CorLib.MD5, CorLib.MD5CryptoServiceProviderMD5CryptoServiceProvider
HMACSHA1, CorLib.HMAC, CorLib.HMACSHA1, CorLib.KeyedHashAlgorithmHMACSHA1
HMACSHA256, CorLib.HMACSHA256HMACSHA256
HMACSHA384, CorLib.HMACSHA384HMACSHA384
HMACSHA512, CorLib.HMACSHA512HMACSHA512
HMACMD5, CorLib.HMACMD5HMACMD5
HMACRIPEMD160, CorLib.HMACRIPEMD160HMACRIPEMD160
MACTripleDES, CorLib.MACTripleDESMACTripleDES
RSA, CorLib.RSA, CorLib.AsymmetricAlgorithmRSACryptoServiceProvider
DSA, CorLib.DSADSACryptoServiceProvider
RandomNumberGenerator, CorLib.RandomNumberGeneratorRNGCryptoServiceProvider
RIPEMD160, RIPEMD-160, CorLib.RIPEMD160RIPEMD160Managed

See Also

Project CorLib Overview

Class CryptoConfig Overview