语言

Pkcs9ContentType 类

定义

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

public ref class Pkcs9ContentType sealed : System::Security::Cryptography::Pkcs::Pkcs9AttributeObject
public sealed class Pkcs9ContentType : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
type Pkcs9ContentType = class
    inherit Pkcs9AttributeObject
Public NotInheritable Class Pkcs9ContentType
Inherits Pkcs9AttributeObject
继承

注解

Pkcs9ContentType每当SignerInfo.SignedAttributes相应签名者的属性不为空时,都会自动生成对象并将其放置在CmsSigner.SignedAttributes该属性中。

构造函数

名称 说明
Pkcs9ContentType()

构造 Pkcs9ContentType() 函数创建类的 Pkcs9ContentType 实例。

属性

名称 说明
ContentType

该 ContentType 属性获取 Oid 包含内容类型的对象。

Oid

获取一个 Oid 对象,该对象表示与此 Pkcs9AttributeObject 对象关联的属性的类型。

(继承自 Pkcs9AttributeObject)
RawData
已过时.

获取或设置字节数组中表示的抽象语法表示法一(ASN.1)编码的数据。

(继承自 AsnEncodedData)

方法

名称 说明
CopyFrom(AsnEncodedData)

从 AsnEncodedData 对象复制信息。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
Format(Boolean)

以字符串形式返回抽象语法表示法一(ASN.1)编码数据的格式化版本。

(继承自 AsnEncodedData)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅