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