Lenguaje

MLDsa.SignMu Método

Definición

Firma el valor de firma mu (μ) calculado externamente especificado.

Sobrecargas

Nombre Description
SignMu(Byte[])

Firma el valor de firma mu (μ) calculado externamente especificado.

SignMu(ReadOnlySpan<Byte>)

Firma el valor de firma mu (μ) calculado externamente especificado.

SignMu(ReadOnlySpan<Byte>, Span<Byte>)

Firma el valor de firma mu (μ) calculado externamente especificado, escribiendo la firma en el búfer proporcionado.

SignMu(Byte[])

Source:
MLDsa.cs
Source:
MLDsa.cs
Source:
MLDsa.cs

Firma el valor de firma mu (μ) calculado externamente especificado.

public:
 cli::array <System::Byte> ^ SignMu(cli::array <System::Byte> ^ externalMu);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public byte[] SignMu(byte[] externalMu);
public byte[] SignMu(byte[] externalMu);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.SignMu : byte[] -> byte[]
member this.SignMu : byte[] -> byte[]
Public Function SignMu (externalMu As Byte()) As Byte()

Parámetros

externalMu
Byte[]

Valor mu de firma que se va a firmar.

Devoluciones

Byte[]

ML-DSA firma para el valor mu especificado.

Atributos

Excepciones

externalMu es null.

Se aplica a

SignMu(ReadOnlySpan<Byte>)

Source:
MLDsa.cs
Source:
MLDsa.cs
Source:
MLDsa.cs

Firma el valor de firma mu (μ) calculado externamente especificado.

public:
 cli::array <System::Byte> ^ SignMu(ReadOnlySpan<System::Byte> externalMu);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public byte[] SignMu(ReadOnlySpan<byte> externalMu);
public byte[] SignMu(ReadOnlySpan<byte> externalMu);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.SignMu : ReadOnlySpan<byte> -> byte[]
member this.SignMu : ReadOnlySpan<byte> -> byte[]
Public Function SignMu (externalMu As ReadOnlySpan(Of Byte)) As Byte()

Parámetros

externalMu
ReadOnlySpan<Byte>

Valor mu de firma que se va a firmar.

Devoluciones

Byte[]

ML-DSA firma para el valor mu especificado.

Atributos

Excepciones

El búfer de externalMu es la longitud incorrecta para el valor mu de firma.

Esta instancia se ha eliminado.

La instancia solo representa una clave pública.

-o bien-

Error al firmar el hash.

La plataforma actual no admite la firma con un valor mu calculado externamente.

Consulte también

Se aplica a

SignMu(ReadOnlySpan<Byte>, Span<Byte>)

Source:
MLDsa.cs
Source:
MLDsa.cs
Source:
MLDsa.cs

Firma el valor de firma mu (μ) calculado externamente especificado, escribiendo la firma en el búfer proporcionado.

public:
 void SignMu(ReadOnlySpan<System::Byte> externalMu, Span<System::Byte> destination);
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public void SignMu(ReadOnlySpan<byte> externalMu, Span<byte> destination);
public void SignMu(ReadOnlySpan<byte> externalMu, Span<byte> destination);
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.SignMu : ReadOnlySpan<byte> * Span<byte> -> unit
member this.SignMu : ReadOnlySpan<byte> * Span<byte> -> unit
Public Sub SignMu (externalMu As ReadOnlySpan(Of Byte), destination As Span(Of Byte))

Parámetros

externalMu
ReadOnlySpan<Byte>

Valor mu de firma que se va a firmar.

destination
Span<Byte>

Búfer que va a recibir la firma. Su longitud debe ser exactamente SignatureSizeInBytes.

Atributos

Excepciones

El búfer de externalMu es la longitud incorrecta para el valor mu de firma.

-o bien-

El búfer de destination es la longitud incorrecta para recibir la firma.

Esta instancia se ha eliminado.

La instancia solo representa una clave pública.

-o bien-

Error al firmar el hash.

La plataforma actual no admite la firma con un valor mu calculado externamente.

Consulte también

Se aplica a