語言

Pkcs9SigningTime 類別

定義

定義簽名的日期與時間。 Pkcs9SigningTime當數位簽章伴隨驗證日期與時間時,物件可作為物件的認證屬性CmsSigner使用。

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

備註

CAPICOM 也提供簽署時間屬性。 欲了解更多資訊,請參閱 CAPICOM_ATTRIBUTE。

建構函式

名稱 Description
Pkcs9SigningTime()

Pkcs9SigningTime()建構子會建立該Pkcs9SigningTime類別的實例。

Pkcs9SigningTime(Byte[])

Pkcs9SigningTime(Byte[])建構子透過使用指定的位元組陣列作為 CMS/PKCS #7 訊息內容的編碼簽署日期與時間,建立該Pkcs9SigningTime類別的實例。

Pkcs9SigningTime(DateTime)

Pkcs9SigningTime(DateTime)建構子會利用指定的簽約日期和時間建立該Pkcs9SigningTime類別的實例。

屬性

名稱 Description
Oid

取得 Oid 一個代表該 Pkcs9AttributeObject 物件屬性類型的物件。

(繼承來源 Pkcs9AttributeObject)
RawData
已淘汰.

取得或設定以位元組陣列表示的抽象語法符號 1(ASN.1)編碼資料。

(繼承來源 AsnEncodedData)
SigningTime

該 SigningTime 屬性會 DateTime 取得一個結構,代表訊息簽署的日期與時間。

方法

名稱 Description
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)

適用於