MLDsa.ImportMLDsaPrivateKey メソッド

定義

オーバーロード

名前 説明
ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

FIPS 204 秘密キー形式で ML-DSA 秘密キーをインポートします。

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

FIPS 204 秘密キー形式で ML-DSA 秘密キーをインポートします。

ImportMLDsaPrivateKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

ソース:
MLDsa.cs
ソース:
MLDsa.cs
ソース:
MLDsa.cs

FIPS 204 秘密キー形式で ML-DSA 秘密キーをインポートします。

public:
 static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateKey(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateKey(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPrivateKey : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateKey (algorithm As MLDsaAlgorithm, source As ReadOnlySpan(Of Byte)) As MLDsa

パラメーター

algorithm
MLDsaAlgorithm

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

source
ReadOnlySpan<Byte>

FIPS 204 秘密キーのバイト。

返品

インポートされたキー。

例外

algorithm は有効な ML-DSA アルゴリズム識別子ではありません。

-又は-

source は、指定されたアルゴリズムの正しいサイズではありません。

-又は-

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

適用対象

ImportMLDsaPrivateKey(MLDsaAlgorithm, Byte[])

ソース:
MLDsa.cs
ソース:
MLDsa.cs
ソース:
MLDsa.cs

FIPS 204 秘密キー形式で ML-DSA 秘密キーをインポートします。

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

パラメーター

algorithm
MLDsaAlgorithm

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

source
Byte[]

FIPS 204 秘密キーのバイト。

返品

インポートされたキー。

例外

algorithm または sourcenull

適用対象