SignerInfo 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
SignerInfo 類別,表示與 SignedCms 物件 (表示 CMS/PKCS #7 訊息) 關聯的簽署人。
public ref class SignerInfo sealed
public sealed class SignerInfo
type SignerInfo = class
Public NotInheritable Class SignerInfo
- 繼承
-
SignerInfo
備註
類別所代表的 SignerInfo 簽章可以透過訊息內容或簽章。 後者的簽章稱為 反簽署。
此 CMS/PKCS #7 實作僅支援一層的計數器簽署。 也就是說,簽章可以簽署,這形成計數器簽署,但無法再次簽署該反簽署。
這個類別沒有公用建構函式;因此,它無法公開具現化。 它是可從 屬性存取 SignedCms.SignerInfos 的唯讀類別。
屬性
Certificate |
Certificate 屬性 (Property) 擷取與簽署人資訊關聯的簽章憑證。 |
CounterSignerInfos |
CounterSignerInfos 屬性 (Property) 擷取與簽署人資訊關聯的副簽署人組。 |
DigestAlgorithm |
DigestAlgorithm 屬性 (Property),擷取表示用來計算簽章之雜湊演算法的 Oid 物件。 |
SignatureAlgorithm |
取得目前 SignerInfo 物件使用的簽章演算法識別碼。 |
SignedAttributes |
SignedAttributes 屬性 (Property) 會擷取與簽署人資訊關聯之已簽署屬性 (Attribute) 的 CryptographicAttributeObjectCollection 集合。 已簽署的屬性 (Attribute) 是和其餘的訊息內容一起簽署。 |
SignerIdentifier |
SignerIdentifier 屬性 (Property),擷取與簽署人資訊關聯的簽署人憑證識別項。 |
UnsignedAttributes |
UnsignedAttributes 屬性 (Property),擷取與 CryptographicAttributeObjectCollection 內容關聯的未簽署屬性 (Attribute) 的 SignerInfo 集合。 可在不使簽章失效的情況下修改未簽署的屬性。 |
Version |
Version 屬性 (Property) 擷取簽署人資訊版本。 |
方法
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應