MLKem.ImportEncapsulationKey メソッド

定義

オーバーロード

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

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

ImportEncapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

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

ImportEncapsulationKey(MLKemAlgorithm, Byte[])

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

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

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

パラメーター

algorithm
MLKemAlgorithm

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

source
Byte[]

カプセル化キー。

返品

インポートされたキー。

例外

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

algorithmnullです。

-又は-

sourcenullです。

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

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

適用対象

ImportEncapsulationKey(MLKemAlgorithm, ReadOnlySpan<Byte>)

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

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

public:
 static System::Security::Cryptography::MLKem ^ ImportEncapsulationKey(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLKem ImportEncapsulationKey(System.Security.Cryptography.MLKemAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportEncapsulationKey : System.Security.Cryptography.MLKemAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
Public Shared Function ImportEncapsulationKey (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 をサポートしているかどうかを判断できます。

適用対象