Edit

Share via


SlhDsa.VerifyPreHash Method

Definition

Overloads

VerifyPreHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, String, ReadOnlySpan<Byte>)

Source:
SlhDsa.cs
public bool VerifyPreHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature, string hashAlgorithmOid, ReadOnlySpan<byte> context = default);
member this.VerifyPreHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> * string * ReadOnlySpan<byte> -> bool
Public Function VerifyPreHash (hash As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte), hashAlgorithmOid As String, Optional context As ReadOnlySpan(Of Byte) = Nothing) As Boolean

Parameters

signature
ReadOnlySpan<Byte>
hashAlgorithmOid
String
context
ReadOnlySpan<Byte>

Returns

Applies to

VerifyPreHash(Byte[], Byte[], String, Byte[])

Source:
SlhDsa.cs
public bool VerifyPreHash(byte[] hash, byte[] signature, string hashAlgorithmOid, byte[]? context = default);
member this.VerifyPreHash : byte[] * byte[] * string * byte[] -> bool
Public Function VerifyPreHash (hash As Byte(), signature As Byte(), hashAlgorithmOid As String, Optional context As Byte() = Nothing) As Boolean

Parameters

hash
Byte[]
signature
Byte[]
hashAlgorithmOid
String
context
Byte[]

Returns

Applies to