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每當對應簽署者的 屬性不是空白時, CmsSigner.SignedAttributes 就會自動產生物件並放在 SignerInfo.SignedAttributes 屬性中。

建構函式

Pkcs9ContentType()

Pkcs9ContentType() 建構函式會建立 Pkcs9ContentType 類別的執行個體。

屬性

ContentType

ContentType 屬性會取得含有內容類型的 Oid 物件。

Oid

取得Oid 物件,其表示與這個 Pkcs9AttributeObject 物件關聯的屬性型別。

(繼承來源 Pkcs9AttributeObject)
RawData

取得或設定以位元組陣列表示的 Abstract Syntax Notation One (ASN.1) 編碼資料。

(繼承來源 AsnEncodedData)

方法

CopyFrom(AsnEncodedData)

AsnEncodedData 物件複製資訊。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Format(Boolean)

以字串的方式,傳回使用 Abstract Syntax Notation One (ASN.1) 編碼的資料之格式化版本。

(繼承來源 AsnEncodedData)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱