PublicKey.GetCompositeMLDsaPublicKey Method

Definition

Gets the CompositeMLDsa public key, or null if the key is not a Composite ML-DSA key.

public:
 System::Security::Cryptography::CompositeMLDsa ^ GetCompositeMLDsaPublicKey();
[System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public System.Security.Cryptography.CompositeMLDsa? GetCompositeMLDsaPublicKey();
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5006", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.GetCompositeMLDsaPublicKey : unit -> System.Security.Cryptography.CompositeMLDsa
Public Function GetCompositeMLDsaPublicKey () As CompositeMLDsa

Returns

The public key, or null if the key is not a Composite ML-DSA key.

Attributes

Exceptions

The object represents a Composite ML-DSA public key, but the platform does not support the algorithm.

The key contents are corrupt or could not be read successfully.

Applies to