MLDsaSignOptions Class
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.
Options for signing with a post-quantum ML-DSA (AKP) key using Sign(MLDsaSignOptions, CancellationToken).
public class MLDsaSignOptions
type MLDsaSignOptions = class
Public Class MLDsaSignOptions
- Inheritance
-
MLDsaSignOptions
Remarks
Exactly one of Message or ExternalMu must be set. When ExternalMu is specified, Context must not be set. The algorithm is inferred from the key and is not specified by the caller.
Constructors
| Name | Description |
|---|---|
| MLDsaSignOptions() |
Initializes a new instance of the MLDsaSignOptions class. |
| MLDsaSignOptions(Byte[]) |
Initializes a new instance of the MLDsaSignOptions class for signing a message. |
Properties
| Name | Description |
|---|---|
| Context |
Gets or sets an optional context of up to 255 bytes. Cannot be used with ExternalMu. |
| ExternalMu |
Gets or sets the pre-computed 64-byte mu value to sign. Mutually exclusive with Message and cannot be combined with Context. |
| Message |
Gets or sets the message to sign. Mutually exclusive with ExternalMu. |