System.Security.Cryptography
TOC
Collapse the table of content
Expand the table of content

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
System_CAPS_pubclassAes

Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit.

System_CAPS_pubclassAesCryptoServiceProvider

Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.

System_CAPS_pubclassAesManaged

Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm.

System_CAPS_pubclassAsnEncodedData

Represents Abstract Syntax Notation One (ASN.1)-encoded data.

System_CAPS_pubclassAsnEncodedDataCollection

Represents a collection of AsnEncodedData objects. This class cannot be inherited.

System_CAPS_pubclassAsnEncodedDataEnumerator

Provides the ability to navigate through an AsnEncodedDataCollection object. This class cannot be inherited.

System_CAPS_pubclassAsymmetricAlgorithm

Represents the abstract base class from which all implementations of asymmetric algorithms must inherit.

System_CAPS_pubclassAsymmetricKeyExchangeDeformatter

Represents the base class from which all asymmetric key exchange deformatters derive.

System_CAPS_pubclassAsymmetricKeyExchangeFormatter

Represents the base class from which all asymmetric key exchange formatters derive.

System_CAPS_pubclassAsymmetricSignatureDeformatter

Represents the abstract base class from which all implementations of asymmetric signature deformatters derive.

System_CAPS_pubclassAsymmetricSignatureFormatter

Represents the base class from which all implementations of asymmetric signature formatters derive.

System_CAPS_pubclassCngAlgorithm

Encapsulates the name of an encryption algorithm.

System_CAPS_pubclassCngAlgorithmGroup

Encapsulates the name of an encryption algorithm group.

System_CAPS_pubclassCngKey

Defines the core functionality for keys that are used with Cryptography Next Generation (CNG) objects.

System_CAPS_pubclassCngKeyBlobFormat

Specifies a key BLOB format for use with Microsoft Cryptography Next Generation (CNG) objects.

System_CAPS_pubclassCngKeyCreationParameters

Contains advanced properties for key creation.

System_CAPS_pubclassCngPropertyCollection

Provides a strongly typed collection of Cryptography Next Generation (CNG) properties.

System_CAPS_pubclassCngProvider

Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.

System_CAPS_pubclassCngUIPolicy

Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.

System_CAPS_pubclassCryptoAPITransform

Performs a cryptographic transformation of data. This class cannot be inherited.

System_CAPS_pubclassCryptoConfig

Accesses the cryptography configuration information.

System_CAPS_pubclassCryptographicAttributeObject

Contains a type and a collection of values associated with that type.

System_CAPS_pubclassCryptographicAttributeObjectCollection

Contains a set of CryptographicAttributeObject objects.

System_CAPS_pubclassCryptographicAttributeObjectEnumerator

Provides enumeration functionality for the CryptographicAttributeObjectCollection collection. This class cannot be inherited.

System_CAPS_pubclassCryptographicException

The exception that is thrown when an error occurs during a cryptographic operation.

System_CAPS_pubclassCryptographicUnexpectedOperationException

The exception that is thrown when an unexpected operation occurs during a cryptographic operation.

System_CAPS_pubclassCryptoStream

Defines a stream that links data streams to cryptographic transformations.

System_CAPS_pubclassCspKeyContainerInfo

Provides additional information about a cryptographic key pair. This class cannot be inherited.

System_CAPS_pubclassCspParameters

Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.

System_CAPS_pubclassDataProtector

Provides the base class for data protectors.

System_CAPS_pubclassDeriveBytes

Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.

System_CAPS_pubclassDES

Represents the base class for the Data Encryption Standard (DES) algorithm from which all DES implementations must derive.

System_CAPS_pubclassDESCryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (DES) algorithm. This class cannot be inherited.

System_CAPS_pubclassDpapiDataProtector

Provides simple data protection methods.

System_CAPS_pubclassDSA

Represents the abstract base class from which all implementations of the Digital Signature Algorithm (DSA) must inherit.

System_CAPS_pubclassDSACryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. This class cannot be inherited.

System_CAPS_pubclassDSASignatureDeformatter

Verifies a Digital Signature Algorithm (DSA) PKCS#1 v1.5 signature.

System_CAPS_pubclassDSASignatureFormatter

Creates a Digital Signature Algorithm (DSA) signature.

System_CAPS_pubclassECDiffieHellman

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.

System_CAPS_pubclassECDiffieHellmanCng

Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Diffie-Hellman (ECDH) algorithm. This class is used to perform cryptographic operations.

System_CAPS_pubclassECDiffieHellmanCngPublicKey

Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.

System_CAPS_pubclassECDiffieHellmanPublicKey

Provides an abstract base class from which all ECDiffieHellmanCngPublicKey implementations must inherit.

System_CAPS_pubclassECDsa

Provides an abstract base class that encapsulates the Elliptic Curve Digital Signature Algorithm (ECDSA).

System_CAPS_pubclassECDsaCng

Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA).

System_CAPS_pubclassFromBase64Transform

Converts a CryptoStream from base 64.

System_CAPS_pubclassHashAlgorithm

Represents the base class from which all implementations of cryptographic hash algorithms must derive.

System_CAPS_pubclassHMAC

Represents the abstract class from which all implementations of Hash-based Message Authentication Code (HMAC) must derive.

System_CAPS_pubclassHMACMD5

Computes a Hash-based Message Authentication Code (HMAC) by using the MD5 hash function.

System_CAPS_pubclassHMACRIPEMD160

Computes a Hash-based Message Authentication Code (HMAC) by using the RIPEMD160 hash function.

System_CAPS_pubclassHMACSHA1

Computes a Hash-based Message Authentication Code (HMAC) using the SHA1 hash function.

System_CAPS_pubclassHMACSHA256

Computes a Hash-based Message Authentication Code (HMAC) by using the SHA256 hash function.

System_CAPS_pubclassHMACSHA384

Computes a Hash-based Message Authentication Code (HMAC) using the SHA384 hash function.

System_CAPS_pubclassHMACSHA512

Computes a Hash-based Message Authentication Code (HMAC) using the SHA512 hash function.

System_CAPS_pubclassKeyedHashAlgorithm

Represents the abstract class from which all implementations of keyed hash algorithms must derive.

System_CAPS_pubclassKeySizes

Determines the set of valid key sizes for the symmetric cryptographic algorithms.

System_CAPS_pubclassMACTripleDES

Computes a Message Authentication Code (MAC) using TripleDES for the input data CryptoStream.

System_CAPS_pubclassManifestSignatureInformation

Provides information for a manifest signature.

System_CAPS_pubclassManifestSignatureInformationCollection

Represents a read-only collection of ManifestSignatureInformation objects. 

System_CAPS_pubclassMaskGenerationMethod

Represents the abstract class from which all mask generator algorithms must derive.

System_CAPS_pubclassMD5

Represents the abstract class from which all implementations of the MD5 hash algorithm inherit.

System_CAPS_pubclassMD5Cng

Provides a CNG (Cryptography Next Generation) implementation of the MD5 (Message Digest 5) 128-bit hashing algorithm.

System_CAPS_pubclassMD5CryptoServiceProvider

Computes the MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.

System_CAPS_pubclassOid

Represents a cryptographic object identifier. This class cannot be inherited.

System_CAPS_pubclassOidCollection

Represents a collection of Oid objects. This class cannot be inherited.

System_CAPS_pubclassOidEnumerator

Provides the ability to navigate through an OidCollection object. This class cannot be inherited.

System_CAPS_pubclassPasswordDeriveBytes

Derives a key from a password using an extension of the PBKDF1 algorithm.

System_CAPS_pubclassPKCS1MaskGenerationMethod

Computes masks according to PKCS #1 for use by key exchange algorithms.

System_CAPS_pubclassProtectedData

Provides methods for encrypting and decrypting data. This class cannot be inherited.

System_CAPS_pubclassProtectedMemory

Provides methods for protecting and unprotecting memory. This class cannot be inherited.

System_CAPS_pubclassRandomNumberGenerator

Represents the abstract class from which all implementations of cryptographic random number generators derive.

System_CAPS_pubclassRC2

Represents the base class from which all implementations of the RC2 algorithm must derive.

System_CAPS_pubclassRC2CryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. This class cannot be inherited.

System_CAPS_pubclassRfc2898DeriveBytes

Implements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on HMACSHA1.

System_CAPS_pubclassRijndael

Represents the base class from which all implementations of the Rijndael symmetric encryption algorithm must inherit.

System_CAPS_pubclassRijndaelManaged

Accesses the managed version of the Rijndael algorithm. This class cannot be inherited.

System_CAPS_pubclassRijndaelManagedTransform

Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.

System_CAPS_pubclassRIPEMD160

Represents the abstract class from which all implementations of the MD160 hash algorithm inherit.

System_CAPS_pubclassRIPEMD160Managed

Computes the RIPEMD160 hash for the input data using the managed library.

System_CAPS_pubclassRNGCryptoServiceProvider

Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.

System_CAPS_pubclassRSA

Represents the base class from which all implementations of the RSA algorithm inherit.

System_CAPS_pubclassRSACng

Provides a Cryptography Next Generation (CNG) implementation of the RSA algorithm.

System_CAPS_pubclassRSACryptoServiceProvider

Performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP). This class cannot be inherited.

System_CAPS_pubclassRSAEncryptionPadding

Specifies the padding mode and parameters to use with RSA encryption or decryption operations.

System_CAPS_pubclassRSAOAEPKeyExchangeDeformatter

Decrypts Optimal Asymmetric Encryption Padding (OAEP) key exchange data.

System_CAPS_pubclassRSAOAEPKeyExchangeFormatter

Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using RSA.

System_CAPS_pubclassRSAPKCS1KeyExchangeDeformatter

Decrypts the PKCS #1 key exchange data.

System_CAPS_pubclassRSAPKCS1KeyExchangeFormatter

Creates the PKCS#1 key exchange data using RSA.

System_CAPS_pubclassRSAPKCS1SignatureDeformatter

Verifies an RSA PKCS #1 version 1.5 signature.

System_CAPS_pubclassRSAPKCS1SignatureFormatter

Creates an RSA PKCS #1 version 1.5 signature.

System_CAPS_pubclassRSASignaturePadding

Specifies the padding mode and parameters to use with RSA signature creation or verification operations.

System_CAPS_pubclassSHA1

Computes the SHA1 hash for the input data.

System_CAPS_pubclassSHA1Cng

Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA).

System_CAPS_pubclassSHA1CryptoServiceProvider

Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.

System_CAPS_pubclassSHA1Managed

Computes the SHA1 hash for the input data using the managed library.

System_CAPS_pubclassSHA256

Computes the SHA256 hash for the input data.

System_CAPS_pubclassSHA256Cng

Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 256-bit hash values.

System_CAPS_pubclassSHA256CryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA256 algorithm.

System_CAPS_pubclassSHA256Managed

Computes the SHA256 hash for the input data using the managed library.

System_CAPS_pubclassSHA384

Computes the SHA384 hash for the input data.

System_CAPS_pubclassSHA384Cng

Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 384-bit hash values.

System_CAPS_pubclassSHA384CryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA384 algorithm.

System_CAPS_pubclassSHA384Managed

Computes the SHA384 hash for the input data using the managed library.

System_CAPS_pubclassSHA512

Computes the SHA512 hash for the input data.

System_CAPS_pubclassSHA512Cng

Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 512-bit hash values.

System_CAPS_pubclassSHA512CryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA512 algorithm.

System_CAPS_pubclassSHA512Managed

Computes the SHA512 hash algorithm for the input data using the managed library.

System_CAPS_pubclassSignatureDescription

Contains information about the properties of a digital signature.

System_CAPS_pubclassStrongNameSignatureInformation

Holds the strong name signature information for a manifest.

System_CAPS_pubclassSymmetricAlgorithm

Represents the abstract base class from which all implementations of symmetric algorithms must inherit.

System_CAPS_pubclassToBase64Transform

Converts a CryptoStream to base 64.

System_CAPS_pubclassTripleDES

Represents the base class for Triple Data Encryption Standard algorithms from which all TripleDES implementations must derive.

System_CAPS_pubclassTripleDESCryptoServiceProvider

Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. This class cannot be inherited.

StructureDescription
System_CAPS_pubstructureCngProperty

Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.

System_CAPS_pubstructureDSAParameters

Contains the typical parameters for the DSA algorithm.

System_CAPS_pubstructureHashAlgorithmName

Specifies the name of a cryptographic hash algorithm.

System_CAPS_pubstructureRSAParameters

Represents the standard parameters for the RSA algorithm.

InterfaceDescription
System_CAPS_pubinterfaceICryptoTransform

Defines the basic operations of cryptographic transformations.

System_CAPS_pubinterfaceICspAsymmetricAlgorithm

Defines methods that allow an AsymmetricAlgorithm class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)–compatible key blobs.

EnumerationDescription
System_CAPS_pubenumCipherMode

Specifies the block cipher mode to use for encryption.

System_CAPS_pubenumCngExportPolicies

Specifies the key export policies for a key.

System_CAPS_pubenumCngKeyCreationOptions

Specifies options used for key creation.

System_CAPS_pubenumCngKeyHandleOpenOptions

Specifies options for opening key handles.

System_CAPS_pubenumCngKeyOpenOptions

Specifies options for opening a key.

System_CAPS_pubenumCngKeyUsages

Specifies the cryptographic operations that a Cryptography Next Generation (CNG) key may be used with.

System_CAPS_pubenumCngPropertyOptions

Specifies Cryptography Next Generation (CNG) key property options.

System_CAPS_pubenumCngUIProtectionLevels

Specifies the protection level for the key in user interface (UI) prompting scenarios.

System_CAPS_pubenumCryptoStreamMode

Specifies the mode of a cryptographic stream.

System_CAPS_pubenumCspProviderFlags

Specifies flags that modify the behavior of the cryptographic service providers (CSP).

System_CAPS_pubenumDataProtectionScope

Specifies the scope of the data protection to be applied by the Protect method.

System_CAPS_pubenumECDiffieHellmanKeyDerivationFunction

Specifies the key derivation function that the ECDiffieHellmanCng class will use to convert secret agreements into key material.

System_CAPS_pubenumECKeyXmlFormat

Defines XML serialization formats for elliptic curve keys.

System_CAPS_pubenumFromBase64TransformMode

Specifies whether white space should be ignored in the base 64 transformation.

System_CAPS_pubenumKeyNumber

Specifies whether to create an asymmetric signature key or an asymmetric exchange key.

System_CAPS_pubenumMemoryProtectionScope

Specifies the scope of memory protection to be applied by the Protect method.

System_CAPS_pubenumOidGroup

Identifies Windows cryptographic object identifier (OID) groups.

System_CAPS_pubenumPaddingMode

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.

System_CAPS_pubenumRSAEncryptionPaddingMode

Specifies the padding mode to use with RSA encryption or decryption operations.

System_CAPS_pubenumRSASignaturePaddingMode

Specifies the padding mode to use with RSA signature creation or verification operations.

System_CAPS_pubenumSignatureVerificationResult

Specifies most of the result codes for signature verification.

Return to top
Show:
© 2016 Microsoft