CompositeMLDsa.SignData 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
SignData(Byte[], Byte[])
- Source:
- CompositeMLDsa.cs
public byte[] SignData(byte[] data, byte[]? context = default);
member this.SignData : byte[] * byte[] -> byte[]
Public Function SignData (data As Byte(), Optional context As Byte() = Nothing) As Byte()
Parameters
- data
- Byte[]
- context
- Byte[]
Returns
Byte[]
Applies to
SignData(ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>)
- Source:
- CompositeMLDsa.cs
public int SignData(ReadOnlySpan<byte> data, Span<byte> destination, ReadOnlySpan<byte> context = default);
member this.SignData : ReadOnlySpan<byte> * Span<byte> * ReadOnlySpan<byte> -> int
Public Function SignData (data As ReadOnlySpan(Of Byte), destination As Span(Of Byte), Optional context As ReadOnlySpan(Of Byte) = Nothing) As Integer
Parameters
- data
- ReadOnlySpan<Byte>
- context
- ReadOnlySpan<Byte>