MLKem.ImportPrivateSeed メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| ImportPrivateSeed(MLKemAlgorithm, Byte[]) |
プライベート シード値から ML-KEM キーをインポートします。 |
| ImportPrivateSeed(MLKemAlgorithm, ReadOnlySpan<Byte>) |
プライベート シード値から ML-KEM キーをインポートします。 |
ImportPrivateSeed(MLKemAlgorithm, Byte[])
- ソース:
- MLKem.cs
- ソース:
- MLKem.cs
- ソース:
- MLKem.cs
プライベート シード値から ML-KEM キーをインポートします。
public:
static System::Security::Cryptography::MLKem ^ ImportPrivateSeed(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLKem ImportPrivateSeed(System.Security.Cryptography.MLKemAlgorithm algorithm, byte[] source);
static member ImportPrivateSeed : System.Security.Cryptography.MLKemAlgorithm * byte[] -> System.Security.Cryptography.MLKem
Public Shared Function ImportPrivateSeed (algorithm As MLKemAlgorithm, source As Byte()) As MLKem
パラメーター
- algorithm
- MLKemAlgorithm
このキーの特定の ML-KEM アルゴリズム。
- source
- Byte[]
プライベート シード。
返品
インポートされたキー。
例外
sourceには、algorithmからのPrivateSeedSizeInBytesではない長さがあります。
キーのインポート中にエラーが発生しました。
プラットフォームは ML-KEM をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-KEM をサポートしているかどうかを判断できます。
適用対象
ImportPrivateSeed(MLKemAlgorithm, ReadOnlySpan<Byte>)
- ソース:
- MLKem.cs
- ソース:
- MLKem.cs
- ソース:
- MLKem.cs
プライベート シード値から ML-KEM キーをインポートします。
public:
static System::Security::Cryptography::MLKem ^ ImportPrivateSeed(System::Security::Cryptography::MLKemAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLKem ImportPrivateSeed(System.Security.Cryptography.MLKemAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportPrivateSeed : System.Security.Cryptography.MLKemAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLKem
Public Shared Function ImportPrivateSeed (algorithm As MLKemAlgorithm, source As ReadOnlySpan(Of Byte)) As MLKem
パラメーター
- algorithm
- MLKemAlgorithm
このキーの特定の ML-KEM アルゴリズム。
- source
- ReadOnlySpan<Byte>
プライベート シード。
返品
インポートされたキー。
例外
sourceには、algorithmからのPrivateSeedSizeInBytesではない長さがあります。
algorithm は nullです。
キーのインポート中にエラーが発生しました。
プラットフォームは ML-KEM をサポートしていません。 呼び出し元は、 IsSupported プロパティを使用して、プラットフォームが ML-KEM をサポートしているかどうかを判断できます。