SlhDsa.VerifyPreHash Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
VerifyPreHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, String, ReadOnlySpan<Byte>) | |
VerifyPreHash(Byte[], Byte[], String, Byte[]) |
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
- hash
- ReadOnlySpan<Byte>
- 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[]