CompositeMLDsa.ImportCompositeMLDsaPrivateKey メソッド

定義

オーバーロード

名前 説明
ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm, Byte[])

複合 ML-DSA 秘密キーをインポートします。

ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm, ReadOnlySpan<Byte>)

複合 ML-DSA 秘密キーをインポートします。

ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm, Byte[])

ソース:
CompositeMLDsa.cs
ソース:
CompositeMLDsa.cs
ソース:
CompositeMLDsa.cs

複合 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 または sourcenull

適用対象

ImportCompositeMLDsaPrivateKey(CompositeMLDsaAlgorithm, ReadOnlySpan<Byte>)

ソース:
CompositeMLDsa.cs
ソース:
CompositeMLDsa.cs
ソース:
CompositeMLDsa.cs

複合 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>

公開キーのバイト数。

返品

インポートされたキー。

例外

source length は、指定されたアルゴリズムの間違ったサイズです。

-又は-

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

プラットフォームは、指定された複合 ML-DSA アルゴリズムをサポートしていません。 呼び出し元は、 IsAlgorithmSupported(CompositeMLDsaAlgorithm) を使用して、アルゴリズムがサポートされているかどうかを判断できます。

適用対象