MLKem.ImportEncapsulationKey メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| 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 アルゴリズムに対して無効な長さがあります。
キーのインポート中にエラーが発生しました。
プラットフォームは 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 アルゴリズムに対して無効な長さがあります。
algorithm は null です
キーのインポート中にエラーが発生しました。
プラットフォームは ML-KEM をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-KEM をサポートしているかどうかを判断できます。