Edit

Share via


CompositeMLDsaCng(CngKey) Constructor

Definition

Initializes a new instance of the CompositeMLDsaCng class by using the specified CngKey.

public:
 CompositeMLDsaCng(System::Security::Cryptography::CngKey ^ key);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public CompositeMLDsaCng(System.Security.Cryptography.CngKey key);
public CompositeMLDsaCng(System.Security.Cryptography.CngKey key);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.CompositeMLDsaCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.CompositeMLDsaCng
new System.Security.Cryptography.CompositeMLDsaCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.CompositeMLDsaCng
Public Sub New (key As CngKey)

Parameters

key
CngKey

The key that will be used as input to the cryptographic operations performed by the current object.

Attributes

Exceptions

key is null.

key does not specify a Composite ML-DSA group.

Cryptography Next Generation (CNG) classes are not supported on this system.

Applies to