MLDsa.ImportMLDsaPublicKey メソッド

定義

オーバーロード

名前 説明
ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[])

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

ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

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

ImportMLDsaPublicKey(MLDsaAlgorithm, Byte[])

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

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

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

パラメーター

algorithm
MLDsaAlgorithm

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

source
Byte[]

FIPS 204 公開キーのバイト数。

返品

インポートされたキー。

例外

algorithm または sourcenull

適用対象

ImportMLDsaPublicKey(MLDsaAlgorithm, ReadOnlySpan<Byte>)

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

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

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

パラメーター

algorithm
MLDsaAlgorithm

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

source
ReadOnlySpan<Byte>

FIPS 204 公開キーのバイト数。

返品

インポートされたキー。

例外

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

-又は-

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

-又は-

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

適用対象