System.Security.Cryptography 命名空间

System.Security.Cryptography 命名空间提供加密服务,包括安全的数据编码和解码,以及许多其他操作,例如散列法、随机数字生成和消息身份验证。 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.

Aes

表示高级加密标准 (AES) 的所有实现必须从中继承的抽象基类。Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit.

AesCcm

表示一个高级加密标准 (AES) 密钥,该密钥用于采用 CBC-MAC (CCM) 操作模式的计数器。Represents an Advanced Encryption Standard (AES) key to be used with the Counter with CBC-MAC (CCM) mode of operation.

AesCng

提供高级加密标准 (AES) 算法的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Advanced Encryption Standard (AES) algorithm.

AesCryptoServiceProvider

使用高级加密标准 (AES) 算法的加密应用程序编程接口 (CAPI) 实现来执行对称加密和解密。Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.

AesGcm

表示一个高级加密标准 (AES) 密钥,该密钥用于 Galois/Counter Mode (GCM) 操作模式。Represents an Advanced Encryption Standard (AES) key to be used with the Galois/Counter Mode (GCM) mode of operation.

AesManaged

提供高级加密标准 (AES) 对称算法的托管实现。Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm.

AsnEncodedData

表示抽象语法表示法一 (ASN.1) 编码的数据。Represents Abstract Syntax Notation One (ASN.1)-encoded data.

AsnEncodedDataCollection

表示 AsnEncodedData 对象集合。Represents a collection of AsnEncodedData objects. 此类不能被继承。This class cannot be inherited.

AsnEncodedDataEnumerator

提供在 AsnEncodedDataCollection 对象中导航的能力。Provides the ability to navigate through an AsnEncodedDataCollection object. 此类不能被继承。This class cannot be inherited.

AsymmetricAlgorithm

表示非对称算法的所有实现都必须从中继承的抽象基类。Represents the abstract base class from which all implementations of asymmetric algorithms must inherit.

AsymmetricKeyExchangeDeformatter

表示所有非对称密钥交换反格式化程序均从中派生的基类。Represents the base class from which all asymmetric key exchange deformatters derive.

AsymmetricKeyExchangeFormatter

表示从中派生出所有非对称密钥交换格式化程序的基类。Represents the base class from which all asymmetric key exchange formatters derive.

AsymmetricSignatureDeformatter

表示从中派生非对称签名反格式化程序的所有实现的抽象基类。Represents the abstract base class from which all implementations of asymmetric signature deformatters derive.

AsymmetricSignatureFormatter

表示从中继承非对称算法的所有实现的基类。Represents the base class from which all implementations of asymmetric signature formatters derive.

CngAlgorithm

封装加密算法的名称。Encapsulates the name of an encryption algorithm.

CngAlgorithmGroup

封装加密算法组的名称。Encapsulates the name of an encryption algorithm group.

CngKey

定义与下一代加密技术 (CNG) 对象一起使用的密钥的核心功能。Defines the core functionality for keys that are used with Cryptography Next Generation (CNG) objects.

CngKeyBlobFormat

指定与 Microsoft 下一代加密技术 (CNG) 对象一起使用的密钥 BLOB 格式。Specifies a key BLOB format for use with Microsoft Cryptography Next Generation (CNG) objects.

CngKeyCreationParameters

包含密钥创建的高级属性。Contains advanced properties for key creation.

CngPropertyCollection

提供下一代加密技术 (CNG) 属性的强类型集合。Provides a strongly typed collection of Cryptography Next Generation (CNG) properties.

CngProvider

封装与下一代加密技术 (CNG) 对象一起使用的密钥存储提供程序 (KSP) 的名称。Encapsulates the name of a key storage provider (KSP) for use with Cryptography Next Generation (CNG) objects.

CngUIPolicy

封装访问受保护密钥时下一代加密技术 (CNG) 所显示用户界面 (UI) 的可选配置参数。Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.

CryptoAPITransform

执行数据的加密转换。Performs a cryptographic transformation of data. 此类不能被继承。This class cannot be inherited.

CryptoConfig

访问加密配置信息。Accesses the cryptography configuration information.

CryptographicAttributeObject

包含一个类型和与该类型相关联的值的集合。Contains a type and a collection of values associated with that type.

CryptographicAttributeObjectCollection

包含 CryptographicAttributeObject 对象的集合。Contains a set of CryptographicAttributeObject objects.

CryptographicAttributeObjectEnumerator

提供 CryptographicAttributeObjectCollection 集合的枚举功能。Provides enumeration functionality for the CryptographicAttributeObjectCollection collection. 此类不能被继承。This class cannot be inherited.

CryptographicException

当加密操作中出现错误时引发的异常。The exception that is thrown when an error occurs during a cryptographic operation.

CryptographicOperations
CryptographicUnexpectedOperationException

当加密操作中出现意外操作时引发的异常。The exception that is thrown when an unexpected operation occurs during a cryptographic operation.

CryptoStream

定义将数据流链接到加密转换的流。Defines a stream that links data streams to cryptographic transformations.

CspKeyContainerInfo

提供有关加密密钥对的附加信息。Provides additional information about a cryptographic key pair. 此类不能被继承。This class cannot be inherited.

CspParameters

包含传递给执行加密计算的加密服务提供程序 (CSP) 的参数。Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. 此类不能被继承。This class cannot be inherited.

DataProtector

提供数据保护程序的基类。Provides the base class for data protectors.

DeriveBytes

表示抽象基类,导出指定长度字节序列的所有类都从该基类继承。Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.

DES

表示所有 DES 实现都必须从中派生的数据加密标准 (DES) 算法的基类。Represents the base class for the Data Encryption Standard (DES) algorithm from which all DES implementations must derive.

DESCryptoServiceProvider

定义访问数据加密标准 (DES) 算法的加密服务提供程序 (CSP) 版本的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (DES) algorithm. 此类不能被继承。This class cannot be inherited.

DpapiDataProtector

提供简单数据保护方法。Provides simple data protection methods.

DSA

表示数字签名算法(DSA)的所有实现都必须从中继承的抽象基类。Represents the abstract base class from which all implementations of the Digital Signature Algorithm (DSA) must inherit.

DSACng

提供数字签名算法 (DSA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Digital Signature Algorithm (DSA).

DSACryptoServiceProvider

定义访问 DSA 算法的加密服务提供程序 (CSP) 实现的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm. 此类不能被继承。This class cannot be inherited.

DSAOpenSsl
DSASignatureDeformatter

验证数字签名算法 (DSA) PKCS#1 1.5 版签名。Verifies a Digital Signature Algorithm (DSA) PKCS#1 v1.5 signature.

DSASignatureFormatter

创建数字签名算法 (DSA) 签名。Creates a Digital Signature Algorithm (DSA) signature.

ECCurve.NamedCurves

表示用于创建已命名曲线的工厂类。Represents a factory class for creating named curves.

ECDiffieHellman

提供一个抽象基类,可以从它派生椭圆曲线 Diffie-Hellman (ECDH) 算法实现。Provides an abstract base class that Elliptic Curve Diffie-Hellman (ECDH) algorithm implementations can derive from. 此类提供一个所有 ECDH 实现都必须支持的基本操作集。This class provides the basic set of operations that all ECDH implementations must support.

ECDiffieHellmanCng

提供椭圆曲线 Diffie-Hellman (ECDH) 算法的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Diffie-Hellman (ECDH) algorithm. 此类用于执行加密操作。This class is used to perform cryptographic operations.

ECDiffieHellmanCngPublicKey

指定与 ECDiffieHellmanCng 类一起使用的椭圆曲线 Diffie-Hellman (ECDH) 公钥。Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.

ECDiffieHellmanOpenSsl
ECDiffieHellmanPublicKey

提供所有 ECDiffieHellmanCngPublicKey 实现必须从中继承的抽象基类。Provides an abstract base class from which all ECDiffieHellmanCngPublicKey implementations must inherit.

ECDsa

提供用于封装椭圆曲线数字签名算法 (ECDSA) 的抽象基类。Provides an abstract base class that encapsulates the Elliptic Curve Digital Signature Algorithm (ECDSA).

ECDsaCng

提供椭圆曲线数字签名算法 (ECDSA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA).

ECDsaOpenSsl
FromBase64Transform

从 Base 64 转换 CryptoStreamConverts a CryptoStream from base 64.

HashAlgorithm

表示所有加密哈希算法实现均必须从中派生的基类。Represents the base class from which all implementations of cryptographic hash algorithms must derive.

HMAC

表示基于哈希的消息验证代码 (HMAC) 的所有实现必须从中派生的抽象类。Represents the abstract class from which all implementations of Hash-based Message Authentication Code (HMAC) must derive.

HMACMD5

使用 MD5 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) by using the MD5 hash function.

HMACRIPEMD160

使用 RIPEMD160 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) by using the RIPEMD160 hash function.

HMACSHA1

使用 SHA1 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) using the SHA1 hash function.

HMACSHA256

使用 SHA256 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) by using the SHA256 hash function.

HMACSHA384

使用 SHA384 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) using the SHA384 hash function.

HMACSHA512

使用 SHA512 哈希函数计算基于哈希值的消息验证代码 (HMAC)。Computes a Hash-based Message Authentication Code (HMAC) using the SHA512 hash function.

IncrementalHash

支持跨多个段以增量方式计算哈希或基于哈希的消息验证代码 (HMAC) 值。Provides support for computing a hash or Hash-based Message Authentication Code (HMAC) value incrementally across several segments.

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.

MACTripleDES

使用 TripleDES 计算输入数据 CryptoStream 的消息验证代码 (MAC)。Computes a Message Authentication Code (MAC) using TripleDES for the input data CryptoStream.

ManifestSignatureInformation

提供清单签名的相关信息。Provides information for a manifest signature.

ManifestSignatureInformationCollection

表示 ManifestSignatureInformation 对象的只读集合。Represents a read-only collection of ManifestSignatureInformation objects.

MaskGenerationMethod

表示所有掩码生成器算法均必须从中派生的抽象类。Represents the abstract class from which all mask generator algorithms must derive.

MD5

表示 MD5 哈希算法的所有实现均从中继承的抽象类。Represents the abstract class from which all implementations of the MD5 hash algorithm inherit.

MD5Cng

提供 MD5(消息摘要 5)128 位哈希算法的 CNG(下一代加密技术)实现。Provides a CNG (Cryptography Next Generation) implementation of the MD5 (Message Digest 5) 128-bit hashing algorithm.

MD5CryptoServiceProvider

使用加密服务提供程序 (CSP) 提供的实现,计算输入数据的 MD5 哈希值。Computes the MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). 此类不能被继承。This class cannot be inherited.

Oid

表示加密对象标识符。Represents a cryptographic object identifier. 此类不能被继承。This class cannot be inherited.

OidCollection

表示 Oid 对象集合。Represents a collection of Oid objects. 此类不能被继承。This class cannot be inherited.

OidEnumerator

提供在 OidCollection 对象中导航的能力。Provides the ability to navigate through an OidCollection object. 此类不能被继承。This class cannot be inherited.

PasswordDeriveBytes

使用 PBKDF1 算法的扩展从密码派生密钥。Derives a key from a password using an extension of the PBKDF1 algorithm.

PbeParameters

表示用于基于密码加密 (PBE) 的参数。Represents parameters to be used for Password-Based Encryption (PBE).

PKCS1MaskGenerationMethod

根据 PKCS #1 计算用于密钥交换算法的掩码。Computes masks according to PKCS #1 for use by key exchange algorithms.

ProtectedData

提供用于加密和解密数据的方法。Provides methods for encrypting and decrypting data. 此类不能被继承。This class cannot be inherited.

ProtectedMemory

提供保护内存和取消内存保护的方法。Provides methods for protecting and unprotecting memory. 此类不能被继承。This class cannot be inherited.

RandomNumberGenerator

表示加密随机数生成器的所有实现从中派生的抽象类。Represents the abstract class from which all implementations of cryptographic random number generators derive.

RC2

表示 RC2 算法的所有实现都必须从中派生的基类。Represents the base class from which all implementations of the RC2 algorithm must derive.

RC2CryptoServiceProvider

定义访问 RC2 算法的加密服务提供程序 (CSP) 实现的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. 此类不能被继承。This class cannot be inherited.

Rfc2898DeriveBytes

通过使用基于 HMACSHA1 的伪随机数生成器,实现基于密码的密钥派生功能 (PBKDF2)。Implements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on HMACSHA1.

Rijndael

表示 Rijndael 对称加密算法的所有实现必须从其继承的基类。Represents the base class from which all implementations of the Rijndael symmetric encryption algorithm must inherit.

RijndaelManaged

访问 Rijndael 算法的托管版本。Accesses the managed version of the Rijndael algorithm. 此类不能被继承。This class cannot be inherited.

RijndaelManagedTransform

使用 Rijndael 算法执行数据的加密转换。Performs a cryptographic transformation of data using the Rijndael algorithm. 此类不能被继承。This class cannot be inherited.

RIPEMD160

表示 MD160 哈希算法的所有实现均从中继承的抽象类。Represents the abstract class from which all implementations of the MD160 hash algorithm inherit.

RIPEMD160Managed

使用托管库计算输入数据的 RIPEMD160 哈希值。Computes the RIPEMD160 hash for the input data using the managed library.

RNGCryptoServiceProvider

使用加密服务提供程序 (CSP) 提供的实现来实现加密随机数生成器 (RNG)。Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). 此类不能被继承。This class cannot be inherited.

RSA

表示 RSA 算法的所有实现均从中继承的基类。Represents the base class from which all implementations of the RSA algorithm inherit.

RSACng

提供 RSA 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the RSA algorithm.

RSACryptoServiceProvider

使用加密服务提供程序 (CSP) 提供的 RSA 算法的实现执行不对称加密和解密。Performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP). 此类不能被继承。This class cannot be inherited.

RSAEncryptionPadding

指定要用于 RSA 加密或解密操作的填充模式和参数。Specifies the padding mode and parameters to use with RSA encryption or decryption operations.

RSAOAEPKeyExchangeDeformatter

对最优不对称加密填充 (OAEP) 密钥交换数据进行解密。Decrypts Optimal Asymmetric Encryption Padding (OAEP) key exchange data.

RSAOAEPKeyExchangeFormatter

使用 RSA 创建最优不对称加密填充 (OAEP) 密钥交换数据。Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using RSA.

RSAOpenSsl
RSAPKCS1KeyExchangeDeformatter

对 PKCS #1 密钥交换数据进行解密。Decrypts the PKCS #1 key exchange data.

RSAPKCS1KeyExchangeFormatter

使用 RSA 创建 PKCS#1 密钥交换数据。Creates the PKCS#1 key exchange data using RSA.

RSAPKCS1SignatureDeformatter

验证 RSA PKCS #1 1.5 版签名。Verifies an RSA PKCS #1 version 1.5 signature.

RSAPKCS1SignatureFormatter

创建 RSA PKCS #1 1.5 版签名。Creates an RSA PKCS #1 version 1.5 signature.

RSASignaturePadding

指定要用于 RSA 签名创建或验证操作的填充模式和参数。Specifies the padding mode and parameters to use with RSA signature creation or verification operations.

SafeEvpPKeyHandle

表示来自 OpenSSL 的 EVP_PKEY* 指针类型。Represents the EVP_PKEY* pointer type from OpenSSL.

SHA1

计算输入数据的 SHA1 哈希值。Computes the SHA1 hash for the input data.

SHA1Cng

提供安全哈希算法 (SHA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA).

SHA1CryptoServiceProvider

使用加密服务提供程序 (CSP) 提供的实现,计算输入数据的 SHA1 哈希值。Computes the SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). 此类不能被继承。This class cannot be inherited.

SHA1Managed

使用托管库计算输入数据的 SHA1 哈希值。Computes the SHA1 hash for the input data using the managed library.

SHA256

计算输入数据的 SHA256 哈希值。Computes the SHA256 hash for the input data.

SHA256Cng

为 256 位哈希值提供安全哈希算法 (SHA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 256-bit hash values.

SHA256CryptoServiceProvider

定义访问 SHA256 算法的加密服务提供程序 (CSP) 实现的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA256 algorithm.

SHA256Managed

使用托管库计算输入数据的 SHA256 哈希值。Computes the SHA256 hash for the input data using the managed library.

SHA384

计算输入数据的 SHA384 哈希值。Computes the SHA384 hash for the input data.

SHA384Cng

为 384 位哈希值提供安全哈希算法 (SHA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 384-bit hash values.

SHA384CryptoServiceProvider

定义访问 SHA384 算法的加密服务提供程序 (CSP) 实现的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA384 algorithm.

SHA384Managed

使用托管库计算输入数据的 SHA384 哈希值。Computes the SHA384 hash for the input data using the managed library.

SHA512

计算输入数据的 SHA512 哈希值。Computes the SHA512 hash for the input data.

SHA512Cng

为 512 位哈希值提供安全哈希算法 (SHA) 的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 512-bit hash values.

SHA512CryptoServiceProvider

定义访问 SHA512 算法的加密服务提供程序 (CSP) 实现的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the SHA512 algorithm.

SHA512Managed

使用托管库计算输入数据的 SHA512 哈希算法。Computes the SHA512 hash algorithm for the input data using the managed library.

SignatureDescription

包含有关数字签名的属性的信息。Contains information about the properties of a digital signature.

StrongNameSignatureInformation

保存清单的强名称签名信息。Holds the strong name signature information for a manifest.

SymmetricAlgorithm

表示所有对称算法的实现都必须从中继承的抽象基类。Represents the abstract base class from which all implementations of symmetric algorithms must inherit.

ToBase64Transform

CryptoStream 转换为 Base 64。Converts a CryptoStream to base 64.

TripleDES

表示三重数据加密标准算法的基类,TripleDES 的所有实现都必须从此基类派生。Represents the base class for Triple Data Encryption Standard algorithms from which all TripleDES implementations must derive.

TripleDESCng

提供三重数据加密标准 (3DES) 算法的下一代加密技术 (CNG) 实现。Provides a Cryptography Next Generation (CNG) implementation of the Triple Data Encryption Standard (3DES) algorithm.

TripleDESCryptoServiceProvider

定义访问 TripleDES 算法的加密服务提供程序 (CSP) 版本的包装对象。Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. 此类不能被继承。This class cannot be inherited.

结构

CngProperty

封装下一代加密技术 (CNG) 密钥或提供程序的属性。Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.

DSAParameters

包含 DSA 算法的典型参数。Contains the typical parameters for the DSA algorithm.

ECCurve

表示椭圆曲线。Represents an elliptic curve.

ECParameters

表示椭圆曲线加密 (ECC) 算法的标准参数。Represents the standard parameters for the elliptic curve cryptography (ECC) algorithm.

ECPoint

表示椭圆曲线加密 (ECC) 结构的 (X,Y) 坐标对。Represents a (X,Y) coordinate pair for elliptic curve cryptography (ECC) structures.

HashAlgorithmName

指定加密哈希算法的名称。Specifies the name of a cryptographic hash algorithm.

RSAParameters

表示 RSA 算法的标准参数。Represents the standard parameters for the RSA algorithm.

接口

ICryptoTransform

定义加密转换的基本操作。Defines the basic operations of cryptographic transformations.

ICspAsymmetricAlgorithm

定义允许 AsymmetricAlgorithm 类枚举密钥容器信息,并导入和导出与 Microsoft 加密 API (CAPI) 兼容的密钥 blob 的方法。Defines methods that allow an AsymmetricAlgorithm class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)-compatible key blobs.

枚举

CipherMode

指定要用于加密的块密码模式。Specifies the block cipher mode to use for encryption.

CngExportPolicies

指定密钥的密钥导出策略。Specifies the key export policies for a key.

CngKeyCreationOptions

指定用于密钥创建的选项。Specifies options used for key creation.

CngKeyHandleOpenOptions

指定用于打开密钥句柄的选项。Specifies options for opening key handles.

CngKeyOpenOptions

指定用于打开密钥的选项。Specifies options for opening a key.

CngKeyUsages

指定下一代加密技术 (CNG) 密钥可能用于的加密操作。Specifies the cryptographic operations that a Cryptography Next Generation (CNG) key may be used with.

CngPropertyOptions

指定下一代加密技术 (CNG) 密钥属性选项。Specifies Cryptography Next Generation (CNG) key property options.

CngUIProtectionLevels

指定用户界面 (UI) 提示方案中密钥的保护级别。Specifies the protection level for the key in user interface (UI) prompting scenarios.

CryptoStreamMode

指定加密流的模式。Specifies the mode of a cryptographic stream.

CspProviderFlags

指定修改加密服务提供程序 (CSP) 行为的标志。Specifies flags that modify the behavior of the cryptographic service providers (CSP).

DataProtectionScope

指定 Protect(Byte[], Byte[], DataProtectionScope) 方法要应用的数据保护范围。Specifies the scope of the data protection to be applied by the Protect(Byte[], Byte[], DataProtectionScope) method.

ECCurve.ECCurveType

指示如何解释 ECCurve 对象中包含的数据。Indicates how to interpret the data contained in an ECCurve object.

ECDiffieHellmanKeyDerivationFunction

指定密钥派生函数,ECDiffieHellmanCng 类将使用此函数将机密协议转换为密钥材料。Specifies the key derivation function that the ECDiffieHellmanCng class will use to convert secret agreements into key material.

ECKeyXmlFormat

为椭圆曲线密钥定义 XML 序列化格式。Defines XML serialization formats for elliptic curve keys.

FromBase64TransformMode

指定在 Base 64 转换中是否应该忽略空白。Specifies whether white space should be ignored in the base 64 transformation.

KeyNumber

指定是创建不对称签名密钥还是创建不对称交换密钥。Specifies whether to create an asymmetric signature key or an asymmetric exchange key.

MemoryProtectionScope

指定将由 Protect(Byte[], MemoryProtectionScope) 方法应用的内存保护范围。Specifies the scope of memory protection to be applied by the Protect(Byte[], MemoryProtectionScope) method.

OidGroup

标识 Windows 加密对象标识符 (OID) 团队。Identifies Windows cryptographic object identifier (OID) groups.

PaddingMode

指定在消息数据块比加密操作所需的全部字节数短时应用的填充类型。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.

PbeEncryptionAlgorithm

指定要与基于密码加密 (PBE) 一起使用的加密算法。Specifies encryption algorithms to be used with Password-Based Encryption (PBE).

RSAEncryptionPaddingMode

指定要与 RSA 加密或解密操作一起使用的填充模式。Specifies the padding mode to use with RSA encryption or decryption operations.

RSASignaturePaddingMode

指定要使用 RSA 签名创建或验证操作的填充模式。Specifies the padding mode to use with RSA signature creation or verification operations.

SignatureVerificationResult

指定签名验证的大部分结果代码。Specifies most of the result codes for signature verification.