System.Security.Cryptography.Pkcs 命名空间

提供公钥加密标准(PKCS)的编程元素,包括签名数据、交换密钥、请求证书、公钥加密和解密以及其他安全功能的方法。

名称 说明
AlgorithmIdentifier

AlgorithmIdentifier 类定义用于加密操作的算法。

CmsRecipient

CmsRecipient 类定义 CMS/PKCS #7 消息的收件人。

CmsRecipientCollection

CmsRecipientCollection 类表示一组 CmsRecipient 对象。 CmsRecipientCollection ICollection实现接口。

CmsRecipientEnumerator

CmsRecipientEnumerator 类为 CmsRecipientCollection 集合提供枚举功能。 CmsRecipientEnumerator IEnumerator实现接口。

CmsSigner

表示 CMS/PKCS#7 签名消息的潜在签名者。

ContentInfo

ContentInfo 类表示 CMS/PKCS #7 ContentInfo 数据结构,如 CMS/PKCS #7 标准文档中定义。 此数据结构是所有 CMS/PKCS #7 消息的基础。

EnvelopedCms

表示信封数据的 CMS/PKCS#7 结构。

KeyAgreeRecipientInfo

KeyAgreeRecipientInfo 类定义关键协议收件人信息。 密钥协议算法通常使用 Diffie-Hellman 密钥协议算法,在该算法中,建立共享加密密钥的双方都参与其生成,根据定义,同意该密钥。 这与密钥传输算法形成鲜明对比,其中一方单方面生成密钥,并将其发送到另一方或将其传输到另一方。

KeyTransRecipientInfo

KeyTransRecipientInfo 类定义密钥传输收件人信息。 密钥传输 算法通常使用 RSA 算法,其中发起方通过生成该密钥并将其传输到收件人来与收件人建立共享加密密钥。 这与 密钥协议 算法形成鲜明对比,即使用加密密钥的双方都参与其生成,从而相互同意该密钥。

Pkcs12Builder

启用 PKCS#12 PFX 数据值的创建。 此类不能被继承。

Pkcs12CertBag

表示 PKCS#12 CertBag。 此类不能被继承。

Pkcs12Info

表示 PKCS#12 PFX 内容中的数据。 此类不能被继承。

Pkcs12KeyBag

表示 PKCS#12 中的 KeyBag,该容器的内容为 PKCS#8 PrivateKeyInfo。 此类不能被继承。

Pkcs12SafeBag

定义 PKCS#12 规范中 SafeBag 值的核心行为,并为派生类提供基。

Pkcs12SafeContents

表示 PKCS#12 SafeContents 值。 此类不能被继承。

Pkcs12SafeContentsBag

表示 PKCS#12 中的 SafeContentsBag,该容器的内容为 PKCS#12 SafeContents 值。 此类不能被继承。

Pkcs12SecretBag

表示 PKCS#12 中的 SecretBag,该容器的内容是具有类型标识符的任意数据。 此类不能被继承。

Pkcs12ShroudedKeyBag

表示 PKCS#12 中的 ShroudedKeyBag,该容器的内容为 PKCS#8 EncryptedPrivateKeyInfo。 此类不能被继承。

Pkcs8PrivateKeyInfo

启用对 PKCS#8 PrivateKeyInfo 和 EncryptedPrivateKeyInfo 值的检查和创建。 此类不能被继承。

Pkcs9AttributeObject

表示用于 CMS/PKCS #7 和 PKCS #9 操作的属性。

Pkcs9ContentType

Pkcs9ContentType 类定义 CMS/PKCS #7 消息的内容的类型。

Pkcs9DocumentDescription

Pkcs9DocumentDescription 类定义 CMS/PKCS #7 消息内容的说明。

Pkcs9DocumentName

Pkcs9DocumentName 类定义 CMS/PKCS #7 消息的名称。

Pkcs9LocalKeyId

表示 PKCS#9 中的 LocalKeyId 属性。

Pkcs9MessageDigest

Pkcs9MessageDigest 类定义 CMS/PKCS #7 消息的消息摘要。

Pkcs9SigningTime

定义签名的签名日期和时间。 Pkcs9SigningTime当经过身份验证的CmsSigner日期和时间随附数字签名时,对象可用作对象的经过身份验证的属性。

PublicKeyInfo

PublicKeyInfo 类表示与公钥关联的信息。

RecipientInfo

RecipientInfo 类表示有关 CMS/PKCS #7 消息收件人的信息。 类RecipientInfo是由类KeyAgreeRecipientInfo继承的KeyTransRecipientInfo抽象类。

RecipientInfoCollection

RecipientInfoCollection 类表示对象的集合 RecipientInfoRecipientInfoCollection ICollection实现接口。

RecipientInfoEnumerator

RecipientInfoEnumerator 类为 RecipientInfoCollection 集合提供枚举功能。 RecipientInfoEnumerator IEnumerator实现接口。

Rfc3161TimestampRequest

表示 IETF RFC 3161 的时间戳请求。

Rfc3161TimestampToken

表示 IETF RFC 3161 中的时间戳令牌。

Rfc3161TimestampTokenInfo

表示在 RFC3161 中定义为 TSTInfo 的时间戳令牌信息类。

SignedCms

SignedCms 类支持对 CMS/PKCS #7 消息进行签名和验证。

SignerInfo

SignerInfo 类表示与表示 CMS/PKCS #7 消息的对象关联的 SignedCms 签名者。

SignerInfoCollection

SignerInfoCollection 类表示对象的集合 SignerInfoSignerInfoCollection ICollection实现接口。

SignerInfoEnumerator

SignerInfoEnumerator 类为 SignerInfoCollection 集合提供枚举功能。 SignerInfoEnumerator IEnumerator实现接口。

SubjectIdentifier

SubjectIdentifier 类定义主题标识符的类型,如 CmsSignerCmsRecipient。 使用者可由证书颁发者、序列号或使用者密钥标识。

SubjectIdentifierOrKey

SubjectIdentifierOrKey 类定义主题标识符的类型,如 CmsSignerCmsRecipient。 使用者可以通过证书颁发者和序列号、使用者密钥的哈希或使用者密钥进行标识。

枚举

名称 说明
KeyAgreeKeyChoice

KeyAgreeKeyChoice 枚举定义密钥协议中使用的密钥类型。

Pkcs12ConfidentialityMode

表示与 PKCS#12 SafeContents 值关联的加密类型。

Pkcs12IntegrityMode

表示应用于 PKCS#12 PFX 值的防篡改类型。

RecipientInfoType

RecipientInfoType 枚举定义收件人信息的类型。

SubjectIdentifierOrKeyType

SubjectIdentifierOrKeyType 枚举定义如何识别主题。

SubjectIdentifierType

SubjectIdentifierType 枚举定义主题标识符的类型。