X509Certificate2.GetMLDsaPublicKey メソッド

定義

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

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

返品

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

属性

例外

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

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

適用対象