Edit

Share via


MLDsa.VerifyMu Method

Definition

Overloads

VerifyMu(Byte[], Byte[])

Verifies that a digital signature is valid for the provided externally computed signature mu (μ) value.

VerifyMu(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Verifies that a digital signature is valid for the provided externally computed signature mu (μ) value.

VerifyMu(Byte[], Byte[])

Source:
MLDsa.cs

Verifies that a digital signature is valid for the provided externally computed signature mu (μ) value.

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

Parameters

externalMu
Byte[]

The signature mu value.

signature
Byte[]

The signature to verify.

Returns

true if the digital signature is valid for the provided mu value; otherwise, false.

Attributes

Exceptions

externalMu or signature is null.

Applies to

VerifyMu(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Source:
MLDsa.cs

Verifies that a digital signature is valid for the provided externally computed signature mu (μ) value.

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

Parameters

externalMu
ReadOnlySpan<Byte>

The signature mu value.

signature
ReadOnlySpan<Byte>

The signature to verify.

Returns

true if the digital signature is valid for the provided mu value; otherwise, false.

Attributes

Exceptions

This instance has been disposed.

An error occurred while verifying the mu value.

The current platform does not support verification with an externally computed mu value.

Applies to