PublicKey.GetMLKemPublicKey メソッド

定義

MLKem公開キーを取得します。キーが ML-KEM キーでない場合はnullします。

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

返品

公開キー。キーが ML-KEM キーでない場合は null

属性

例外

オブジェクトは ML-KEM 公開キーを表しますが、プラットフォームはアルゴリズムをサポートしていません。

キーの内容が破損しているか、正常に読み取れませんでした。

適用対象