MLDsaVerifyOptions 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 verifying a signature with a post-quantum ML-DSA (AKP) key using Verify(MLDsaVerifyOptions, CancellationToken).
public class MLDsaVerifyOptions
type MLDsaVerifyOptions = class
Public Class MLDsaVerifyOptions
- Inheritance
-
MLDsaVerifyOptions
Remarks
Signature is always required. 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 |
|---|---|
| MLDsaVerifyOptions() |
Initializes a new instance of the MLDsaVerifyOptions class. |
| MLDsaVerifyOptions(Byte[], Byte[]) |
Initializes a new instance of the MLDsaVerifyOptions class for verifying a message signature. |
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 corresponding to the Signature. Mutually exclusive with Message and cannot be combined with Context. |
| Message |
Gets or sets the message corresponding to the Signature. Mutually exclusive with ExternalMu. |
| Signature |
Gets or sets the signature to verify. This value is required. |