Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
System.Security.Cryptography Namespace

The System.Security.Cryptography namespace provides cryptographic services, including secure encoding and decoding of data, as well as many other operations, such as hashing, random number generation, and message authentication. For more information, see Cryptographic Services.

  ClassDescription
Public classAes Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit.
Public classAesCryptoServiceProvider Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.
Public classAesManaged Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm.
Public classAsnEncodedData Represents Abstract Syntax Notation One (ASN.1)-encoded data.
Public classAsnEncodedDataCollection Represents a collection of AsnEncodedData objects. This class cannot be inherited.
Public classAsnEncodedDataEnumerator Provides the ability to navigate through an AsnEncodedDataCollection object. This class cannot be inherited.
Public classAsymmetricAlgorithmRepresents the abstract base class from which all implementations of asymmetric algorithms must inherit.
Public classAsymmetricKeyExchangeDeformatter Represents the base class from which all asymmetric key exchange deformatters derive.
Public classAsymmetricKeyExchangeFormatter Represents the base class from which all asymmetric key exchange formatters derive.
Public classAsymmetricSignatureDeformatter Represents the abstract base class from which all implementations of asymmetric signature deformatters derive.
Public classAsymmetricSignatureFormatter Represents the base class from which all implementations of asymmetric signature formatters derive.
Public classCngAlgorithm Encapsulates the name of an encryption algorithm.
Public classCngAlgorithmGroup Encapsulates the name of an encryption algorithm group.
Public classCngKey Defines the core functionality for keys that are used with Cryptography Next Generation (CNG) objects.
Public classCngKeyBlobFormat Specifies a key BLOB format for use with Microsoft Cryptography Next Generation (CNG) objects.
Public classCngKeyCreationParameters Contains advanced properties for key creation.
Public classCngPropertyCollection Provides a strongly typed collection of Cryptography Next Generation (CNG) properties.
Public classCngProvider Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.
Public classCngUIPolicy Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.
Public classCryptoAPITransformPerforms a cryptographic transformation of data. This class cannot be inherited.
Public classCryptoConfig Accesses the cryptography configuration information.
Public classCryptographicAttributeObject Contains a type and a collection of values associated with that type.
Public classCryptographicAttributeObjectCollection Contains a set of CryptographicAttributeObject objects.
Public classCryptographicAttributeObjectEnumerator Provides enumeration functionality for the CryptographicAttributeObjectCollection collection. This class cannot be inherited.
Public classCryptographicException The exception that is thrown when an error occurs during a cryptographic operation.
Public classCryptographicUnexpectedOperationException The exception that is thrown when an unexpected operation occurs during a cryptographic operation.
Public classCryptoStream Defines a stream that links data streams to cryptographic transformations.
Public classCspKeyContainerInfo Provides additional information about a cryptographic key pair. This class cannot be inherited.
Public classCspParametersContains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.
Public classDeriveBytes Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.
Public classDESRepresents the base class for the Data Encryption Standard (DES) algorithm from which all DES implementations must derive.
Public classDESCryptoServiceProviderDefines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (DES) algorithm. This class cannot be inherited.
Public classDSA Represents the abstract base class from which all implementations of the Digital Signature Algorithm (DSA) must inherit.
Public classDSACryptoServiceProviderDefines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited.
Public classDSASignatureDeformatter Verifies a Digital Signature Algorithm (DSA) PKCS#1 v1.5 signature.
Public classDSASignatureFormatter Creates a Digital Signature Algorithm (DSA) signature.
Public classECDiffieHellman Provides an abstract base class that Elliptic Curve Diffie-Hellman (ECDH) algorithm implementations can derive from. This class provides the basic set of operations that all ECDH implementations must support.
Public classECDiffieHellmanCng Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Diffie-Hellman (ECDH) algorithm. This class is used to perform cryptographic operations.
Public classECDiffieHellmanCngPublicKey Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.
Public classECDiffieHellmanPublicKey Provides an abstract base class from which all ECDiffieHellmanCngPublicKey implementations must inherit.
Public classECDsa Provides an abstract base class that encapsulates the Elliptic Curve Digital Signature Algorithm (ECDSA).
Public classECDsaCngProvides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA).
Public classFromBase64Transform Converts a CryptoStream from base 64.
Public classHashAlgorithmRepresents the base class from which all implementations of cryptographic hash algorithms must derive.
Public classHMAC Represents the abstract class from which all implementations of Hash-based Message Authentication Code (HMAC) must derive.
Public classHMACMD5 Computes a Hash-based Message Authentication Code (HMAC) using the MD5 hash function.
Public classHMACRIPEMD160 Computes a Hash-based Message Authentication Code (HMAC) using the RIPEMD160 hash function.
Public classHMACSHA1Computes a Hash-based Message Authentication Code (HMAC) using the SHA1 hash function.
Public classHMACSHA256 Computes a Hash-based Message Authentication Code (HMAC) using the SHA256 hash function.
Public classHMACSHA384 Computes a Hash-based Message Authentication Code (HMAC) using the SHA384 hash function.
Public classHMACSHA512 Computes a Hash-based Message Authentication Code (HMAC) using the SHA512 hash function.
Public classKeyedHashAlgorithm Represents the abstract class from which all implementations of keyed hash algorithms must derive.
Public classKeySizes Determines the set of valid key sizes for the symmetric cryptographic algorithms.
Public classMACTripleDESComputes a Message Authentication Code (MAC) using TripleDES for the input data CryptoStream.
Public classManifestSignatureInformation Provides information for a manifest signature.
Public classManifestSignatureInformationCollection Represents a read-only collection of ManifestSignatureInformation objects. 
Public classMaskGenerationMethod Represents the abstract class from which all mask generator algorithms must derive.
Public classMD5Represents the abstract class from which all implementations of the MD5 hash algorithm inherit.
Public classMD5Cng Provides a CNG (Cryptography Next Generation) implementation of the MD5 (Message Digest 5) 128-bit hashing algorithm.
Public classMD5CryptoServiceProviderComputes the MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Public classOid Represents a cryptographic object identifier. This class cannot be inherited.
Public classOidCollection Represents a collection of Oid objects. This class cannot be inherited.
Public classOidEnumerator Provides the ability to navigate through an OidCollection object. This class cannot be inherited.
Public classPasswordDeriveBytes Derives a key from a password using an extension of the PBKDF1 algorithm.
Public classPKCS1MaskGenerationMethod Computes masks according to PKCS #1 for use by key exchange algorithms.
Public classProtectedData Provides methods for protecting and unprotecting data. This class cannot be inherited.
Public classProtectedMemory Provides methods for protecting and unprotecting memory. This class cannot be inherited.
Public classRandomNumberGenerator Represents the abstract class from which all implementations of cryptographic random number generators derive.
Public classRC2Represents the base class from which all implementations of the RC2 algorithm must derive.
Public classRC2CryptoServiceProviderDefines a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. This class cannot be inherited.
Public classRfc2898DeriveBytesImplements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on HMACSHA1.
Public classRijndael Represents the base class from which all implementations of the Rijndael symmetric encryption algorithm must inherit.
Public classRijndaelManaged Accesses the managed version of the Rijndael algorithm. This class cannot be inherited.
Public classRijndaelManagedTransform Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.
Public classRIPEMD160Represents the abstract class from which all implementations of the MD160 hash algorithm inherit.
Public classRIPEMD160ManagedComputes the RIPEMD160 hash for the input data using the managed library.
Public classRNGCryptoServiceProviderImplements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Public classRSA Represents the base class from which all implementations of the RSA algorithm inherit.
Public classRSACryptoServiceProviderPerforms asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP). This class cannot be inherited.
Public classRSAOAEPKeyExchangeDeformatter Decrypts Optimal Asymmetric Encryption Padding (OAEP) key exchange data.
Public classRSAOAEPKeyExchangeFormatter Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using RSA.
Public classRSAPKCS1KeyExchangeDeformatter Decrypts the PKCS #1 key exchange data.
Public classRSAPKCS1KeyExchangeFormatter Creates the PKCS#1 key exchange data using RSA.
Public classRSAPKCS1SignatureDeformatter Verifies an RSA PKCS #1 version 1.5 signature.
Public classRSAPKCS1SignatureFormatter Creates an RSA PKCS #1 version 1.5 signature.
Public classSHA1 Computes the SHA1 hash for the input data.
Public classSHA1Cng Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA).
Public classSHA1CryptoServiceProvider Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Public classSHA1Managed Computes the SHA1 hash for the input data using the managed library.
Public classSHA256 Computes the SHA256 hash for the input data.
Public classSHA256Cng Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 256-bit hash values.
Public classSHA256CryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA256 algorithm.
Public classSHA256Managed Computes the SHA256 hash for the input data using the managed library.
Public classSHA384 Computes the SHA384 hash for the input data.
Public classSHA384Cng Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 384-bit hash values.
Public classSHA384CryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA384 algorithm.
Public classSHA384Managed Computes the SHA384 hash for the input data using the managed library.
Public classSHA512 Computes the SHA512 hash for the input data.
Public classSHA512Cng Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 512-bit hash values.
Public classSHA512CryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA512 algorithm.
Public classSHA512Managed Computes the SHA512 hash algorithm for the input data using the managed library.
Public classSignatureDescription Contains information about the properties of a digital signature.
Public classStrongNameSignatureInformation Holds the strong name signature information for a manifest.
Public classSymmetricAlgorithm Represents the abstract base class from which all implementations of symmetric algorithms must inherit.
Public classToBase64Transform Converts a CryptoStream to base 64.
Public classTripleDESRepresents the base class for Triple Data Encryption Standard algorithms from which all TripleDES implementations must derive.
Public classTripleDESCryptoServiceProviderDefines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. This class cannot be inherited.
  StructureDescription
Public structureCngProperty Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.
Public structureDSAParameters Contains the typical parameters for the DSA algorithm.
Public structureRSAParameters Represents the standard parameters for the RSA algorithm.
  InterfaceDescription
Public interfaceICryptoTransform Defines the basic operations of cryptographic transformations.
Public interfaceICspAsymmetricAlgorithm Defines methods that allow an AsymmetricAlgorithm class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)–compatible key blobs.
  EnumerationDescription
Public enumerationCipherMode Specifies the block cipher mode to use for encryption.
Public enumerationCngExportPolicies Specifies the key export policies for a key.
Public enumerationCngKeyCreationOptions Specifies options used for key creation.
Public enumerationCngKeyHandleOpenOptions Specifies options for opening key handles.
Public enumerationCngKeyOpenOptions Specifies options for opening a key.
Public enumerationCngKeyUsages Specifies the cryptographic operations that a Cryptography Next Generation (CNG) key may be used with.
Public enumerationCngPropertyOptions Specifies Cryptography Next Generation (CNG) key property options.
Public enumerationCngUIProtectionLevels Specifies the protection level for the key in user interface (UI) prompting scenarios.
Public enumerationCryptoStreamMode Specifies the mode of a cryptographic stream.
Public enumerationCspProviderFlags Specifies flags that modify the behavior of the cryptographic service providers (CSP).
Public enumerationDataProtectionScope Specifies the scope of the data protection to be applied by the Protect method.
Public enumerationECDiffieHellmanKeyDerivationFunctionSpecifies the key derivation function that the ECDiffieHellmanCng class will use to convert secret agreements into key material.
Public enumerationECKeyXmlFormat Defines XML serialization formats for elliptic curve keys.
Public enumerationFromBase64TransformMode Specifies whether white space should be ignored in the base 64 transformation.
Public enumerationKeyNumber Specifies whether to create an asymmetric signature key or an asymmetric exchange key.
Public enumerationMemoryProtectionScope Specifies the scope of memory protection to be applied by the Protect method.
Public enumerationPaddingMode Specifies the type of padding to apply when the message data block is shorter than the full number of bytes needed for a cryptographic operation.
Public enumerationSignatureVerificationResult Specifies most of the result codes for signature verification.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker