System.Security.Cryptography Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

Classes

  Class Description
Public class AesCryptoServiceProvider Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.
Public class AsymmetricAlgorithm Represents the abstract base class from which all implementations of asymmetric algorithms must inherit.
Public class CryptographicException
Public class CryptographicUnexpectedOperationException The exception that is thrown when an unexpected operation occurs during a cryptographic operation.
Public class CryptoKey
Public class DSACryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited.
Public class ECDiffieHellmanCryptoServiceProvider Provides a wrapper Elliptic Curve Diffie-Hellman key exchange.
Public class ECDsaCryptoServiceProvider Provides the Elliptic Curve Digital Signature Algorithm (ECDSA).
Public class HashAlgorithm Represents the base class from which all implementations of cryptographic hash algorithms must derive.
Public class KeyedHashAlgorithm Represents the abstract class from which all implementations of keyed hash algorithms must derive.
Public class KeySizes Determines the set of valid key sizes for the symmetric cryptographic algorithms.
Public class RNGCryptoServiceProvider Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Public class RSACryptoServiceProvider Performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP).
Public class SymmetricAlgorithm Represents the abstract base class from which all implementations of symmetric algorithms must inherit.
Public class TripleDESCryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. This class cannot be inherited.

Structures

  Structure Description
Public structure DSAParameters Contains the typical parameters for the DSA algorithm.
Public structure RSAParameters Represents the standard parameters for the RSA algorithm.

Interfaces

  Interface Description
Public interface ICryptoTransform

Enumerations

  Enumeration Description
Public enumeration CipherMode
Public enumeration CryptoKey. . :: . .KeyClass
Public enumeration CryptoKey. . :: . .KeyType
Public enumeration ECDiffieHellmanKeyDerivationFunction Specifies the key derivation function that the ECDiffieHellmanCng class will use to convert secret agreements into key material.
Public enumeration HashAlgorithmType Specifies the types of supported hash algorithms.
Public enumeration KeyedHashAlgorithmType Specifies the types of supported keyed hash algorithms.
Public enumeration PaddingMode