X509Certificate2.GetMLKemPublicKey メソッド

定義

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

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

返品

公開キー。この証明書に ML-KEM 公開キーがない場合は null

属性

例外

証明書には ML-KEM 公開キーがありますが、プラットフォームは ML-KEM をサポートしていません。

公開キーが無効であるか、インポートできませんでした。

適用対象