共用方式為


CmsSigner.PrivateKey 屬性

定義

取得或設定要在簽署期間使用的私密金鑰物件。

public:
 property System::Security::Cryptography::AsymmetricAlgorithm ^ PrivateKey { System::Security::Cryptography::AsymmetricAlgorithm ^ get(); void set(System::Security::Cryptography::AsymmetricAlgorithm ^ value); };
public System.Security.Cryptography.AsymmetricAlgorithm? PrivateKey { get; set; }
public System.Security.Cryptography.AsymmetricAlgorithm PrivateKey { get; set; }
member this.PrivateKey : System.Security.Cryptography.AsymmetricAlgorithm with get, set
Public Property PrivateKey As AsymmetricAlgorithm

屬性值

簽署期間要使用的私鑰,或使用 null 與 屬性相關聯的 Certificate 私鑰。

適用於

另請參閱