MLDsa.ImportMLDsaPrivateSeed Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[]) |
Importa uma chave privada ML-DSA do seu valor semente privado. |
| ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>) |
Importa uma chave privada ML-DSA do seu valor semente privado. |
ImportMLDsaPrivateSeed(MLDsaAlgorithm, Byte[])
- Origem:
- MLDsa.cs
- Origem:
- MLDsa.cs
- Origem:
- MLDsa.cs
Importa uma chave privada ML-DSA do seu valor semente privado.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, cli::array <System::Byte> ^ source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, byte[] source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * byte[] -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As Byte()) As MLDsa
Parâmetros
- algorithm
- MLDsaAlgorithm
O algoritmo específico ML-DSA para esta chave.
- source
- Byte[]
Os bytes são a semente chave.
Devoluções
A chave importada.
Exceções
algorithm ou source é null.
Aplica-se a
ImportMLDsaPrivateSeed(MLDsaAlgorithm, ReadOnlySpan<Byte>)
- Origem:
- MLDsa.cs
- Origem:
- MLDsa.cs
- Origem:
- MLDsa.cs
Importa uma chave privada ML-DSA do seu valor semente privado.
public:
static System::Security::Cryptography::MLDsa ^ ImportMLDsaPrivateSeed(System::Security::Cryptography::MLDsaAlgorithm ^ algorithm, ReadOnlySpan<System::Byte> source);
public static System.Security.Cryptography.MLDsa ImportMLDsaPrivateSeed(System.Security.Cryptography.MLDsaAlgorithm algorithm, ReadOnlySpan<byte> source);
static member ImportMLDsaPrivateSeed : System.Security.Cryptography.MLDsaAlgorithm * ReadOnlySpan<byte> -> System.Security.Cryptography.MLDsa
Public Shared Function ImportMLDsaPrivateSeed (algorithm As MLDsaAlgorithm, source As ReadOnlySpan(Of Byte)) As MLDsa
Parâmetros
- algorithm
- MLDsaAlgorithm
O algoritmo específico ML-DSA para esta chave.
- source
- ReadOnlySpan<Byte>
Os bytes são a semente chave.
Devoluções
A chave importada.
Exceções
algorithm não é um identificador válido ML-DSA algoritmo.
-ou-
source não é o tamanho correto para o algoritmo especificado.
-ou-
Ocorreu um erro durante a importação da chave.