MLDsa.SignMu Metodo

Definizione

Overload

Nome Descrizione
SignMu(Byte[])

Firma il valore mu (μ) della firma calcolata esternamente specificato.

SignMu(ReadOnlySpan<Byte>)

Firma il valore mu (μ) della firma calcolata esternamente specificato.

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

Firma il valore mu (μ) della firma calcolata esternamente, scrivendo la firma nel buffer fornito.

SignMu(Byte[])

Origine:
MLDsa.cs
Origine:
MLDsa.cs
Origine:
MLDsa.cs

Firma il valore mu (μ) della firma calcolata esternamente specificato.

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()

Parametri

externalMu
Byte[]

Valore mu della firma da firmare.

Valori restituiti

Byte[]

ML-DSA firma per il valore mu specificato.

Attributi

Eccezioni

externalMu è null.

Si applica a

SignMu(ReadOnlySpan<Byte>)

Origine:
MLDsa.cs
Origine:
MLDsa.cs
Origine:
MLDsa.cs

Firma il valore mu (μ) della firma calcolata esternamente specificato.

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()

Parametri

externalMu
ReadOnlySpan<Byte>

Valore mu della firma da firmare.

Valori restituiti

Byte[]

ML-DSA firma per il valore mu specificato.

Attributi

Eccezioni

Il buffer in externalMu è la lunghezza non corretta per il valore mu della firma.

Questa istanza è stata eliminata.

L'istanza rappresenta solo una chiave pubblica.

oppure

Errore durante la firma dell'hash.

La piattaforma corrente non supporta la firma con un valore mu calcolato esternamente.

Vedi anche

Si applica a

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

Origine:
MLDsa.cs
Origine:
MLDsa.cs
Origine:
MLDsa.cs

Firma il valore mu (μ) della firma calcolata esternamente, scrivendo la firma nel buffer fornito.

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))

Parametri

externalMu
ReadOnlySpan<Byte>

Valore mu della firma da firmare.

destination
Span<Byte>

Buffer per ricevere la firma. La lunghezza deve essere esattamente SignatureSizeInBytes.

Attributi

Eccezioni

Il buffer in externalMu è la lunghezza non corretta per il valore mu della firma.

oppure

Il buffer in destination è la lunghezza non corretta per ricevere la firma.

Questa istanza è stata eliminata.

L'istanza rappresenta solo una chiave pubblica.

oppure

Errore durante la firma dell'hash.

La piattaforma corrente non supporta la firma con un valore mu calcolato esternamente.

Vedi anche

Si applica a