X509Certificate2.GetMLKemPrivateKey メソッド

定義

この証明書から MLKem 秘密キーを取得します。

public:
 System::Security::Cryptography::MLKem ^ GetMLKemPrivateKey();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Security.Cryptography.MLKem? GetMLKemPrivateKey();
public System.Security.Cryptography.MLKem? GetMLKemPrivateKey();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.GetMLKemPrivateKey : unit -> System.Security.Cryptography.MLKem
member this.GetMLKemPrivateKey : unit -> System.Security.Cryptography.MLKem
Public Function GetMLKemPrivateKey () As MLKem

返品

秘密キー。または、この証明書に ML-KEM 秘密キーがない場合に null します。

属性

例外

秘密キーへのアクセス中にエラーが発生しました。

適用対象