CngKeyCreationParameters.Parameters 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用 CngKey 物件,該物件會以金鑰做最終處理之前設定的額外屬性建立。
public:
property System::Security::Cryptography::CngPropertyCollection ^ Parameters { System::Security::Cryptography::CngPropertyCollection ^ get(); };
public System.Security.Cryptography.CngPropertyCollection Parameters { get; }
member this.Parameters : System.Security.Cryptography.CngPropertyCollection
Public ReadOnly Property Parameters As CngPropertyCollection
屬性值
集合物件,包含建立金鑰時,必須在 CngKey 物件上設定的任何額外參數。
備註
類別 CngKeyCreationParameters 可讓您建立新的 CngKey 物件,並使用通用屬性加以初始化。 如果您必須在金鑰建立期間設定其他屬性,請遵循下列步驟:
Create 您必須設定之每個額外屬性的新 CngProperty 物件。
Parameters呼叫 屬性以取得空CngPropertyCollection的物件。
將 CngProperty 物件新增至 CngPropertyCollection 物件。
Create(CngAlgorithm, String, CngKeyCreationParameters)呼叫 方法多載,並將初始化CngKeyCreationParameters的對象傳遞給它。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應