SlhDsa.SignPreHash 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
SignPreHash(ReadOnlySpan<Byte>, Span<Byte>, String, ReadOnlySpan<Byte>) | |
SignPreHash(Byte[], String, Byte[]) |
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
- hash
- ReadOnlySpan<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[]