MLKem.ImportDecapsulationKey メソッド

定義

オーバーロード

名前 説明
ImportDecapsulationKey(MLKemAlgorithm, Byte[])

カプセル化解除キーから ML-KEM キーをインポートします。

ImportDecapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

カプセル化解除キーから ML-KEM キーをインポートします。

ImportDecapsulationKey(MLKemAlgorithm, Byte[])

ソース:
MLKem.cs
ソース:
MLKem.cs
ソース:
MLKem.cs

カプセル化解除キーから ML-KEM キーをインポートします。

public:
 static System::Security::Cryptography::MLKem ^ ImportDecapsulationKey(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLKem ImportDecapsulationKey(System.Security.Cryptography.MLKemAlgorithm algorithm, byte[] source);
static member ImportDecapsulationKey : System.Security.Cryptography.MLKemAlgorithm * byte[] -> System.Security.Cryptography.MLKem
Public Shared Function ImportDecapsulationKey (algorithm As MLKemAlgorithm, source As Byte()) As MLKem

パラメーター

algorithm
MLKemAlgorithm

このキーの特定の ML-KEM アルゴリズム。

source
Byte[]

カプセル化解除キー。

返品

インポートされたキー。

例外

source には、ML-KEM アルゴリズムに対して無効な長さがあります。

algorithmnullです。

-又は-

sourcenullです。

キーのインポート中にエラーが発生しました。

プラットフォームは ML-KEM をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-KEM をサポートしているかどうかを判断できます。

適用対象

ImportDecapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

ソース:
MLKem.cs
ソース:
MLKem.cs
ソース:
MLKem.cs

カプセル化解除キーから ML-KEM キーをインポートします。

public:
 static System::Security::Cryptography::MLKem ^ ImportDecapsulationKey(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLKem ImportDecapsulationKey(System.Security.Cryptography.MLKemAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportDecapsulationKey : System.Security.Cryptography.MLKemAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
Public Shared Function ImportDecapsulationKey (algorithm As MLKemAlgorithm, source As ReadOnlySpan(Of Byte)) As MLKem

パラメーター

algorithm
MLKemAlgorithm

このキーの特定の ML-KEM アルゴリズム。

source
ReadOnlySpan<Byte>

カプセル化解除キー。

返品

インポートされたキー。

例外

source には、ML-KEM アルゴリズムに対して無効な長さがあります。

algorithmnullです。

キーのインポート中にエラーが発生しました。

プラットフォームは ML-KEM をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-KEM をサポートしているかどうかを判断できます。

適用対象