Edit

Share via


SlhDsa.SignPreHash Method

Definition

Overloads

SignPreHash(ReadOnlySpan<Byte>, Span<Byte>, String, ReadOnlySpan<Byte>)

Source:
SlhDsa.cs
public void SignPreHash(ReadOnlySpan<byte> hash, Span<byte> destination, string hashAlgorithmOid, ReadOnlySpan<byte> context = default);
member this.SignPreHash : ReadOnlySpan<byte> * Span<byte> * string * ReadOnlySpan<byte> -> unit
Public Sub SignPreHash (hash As ReadOnlySpan(Of Byte), destination As Span(Of Byte), hashAlgorithmOid As String, Optional context As ReadOnlySpan(Of Byte) = Nothing)

Parameters

destination
Span<Byte>
hashAlgorithmOid
String
context
ReadOnlySpan<Byte>

Applies to

SignPreHash(Byte[], String, Byte[])

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

Parameters

hash
Byte[]
hashAlgorithmOid
String
context
Byte[]

Returns

Byte[]

Applies to