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 | |
---|---|---|
AesCryptoServiceProvider | Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm. | |
AsymmetricAlgorithm | Represents the abstract base class from which all implementations of asymmetric algorithms must inherit. | |
CryptographicException | ||
CryptographicUnexpectedOperationException | The exception that is thrown when an unexpected operation occurs during a cryptographic operation. | |
CryptoKey | ||
DSACryptoServiceProvider | Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited. | |
ECDiffieHellmanCryptoServiceProvider | Provides a wrapper Elliptic Curve Diffie-Hellman key exchange. | |
ECDsaCryptoServiceProvider | Provides the Elliptic Curve Digital Signature Algorithm (ECDSA). | |
HashAlgorithm | Represents the base class from which all implementations of cryptographic hash algorithms must derive. | |
KeyedHashAlgorithm | Represents the abstract class from which all implementations of keyed hash algorithms must derive. | |
KeySizes | Determines the set of valid key sizes for the symmetric cryptographic algorithms. | |
RNGCryptoServiceProvider | Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited. | |
RSACryptoServiceProvider | Performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP). | |
SymmetricAlgorithm | Represents the abstract base class from which all implementations of symmetric algorithms must inherit. | |
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 | |
---|---|---|
DSAParameters | Contains the typical parameters for the DSA algorithm. | |
RSAParameters | Represents the standard parameters for the RSA algorithm. |
Interfaces
Interface | Description | |
---|---|---|
ICryptoTransform |
Enumerations
Enumeration | Description | |
---|---|---|
CipherMode | ||
CryptoKey. . :: . .KeyClass | ||
CryptoKey. . :: . .KeyType | ||
ECDiffieHellmanKeyDerivationFunction | Specifies the key derivation function that the ECDiffieHellmanCng class will use to convert secret agreements into key material. | |
HashAlgorithmType | Specifies the types of supported hash algorithms. | |
KeyedHashAlgorithmType | Specifies the types of supported keyed hash algorithms. | |
PaddingMode |