Edit

Share via


X509Certificate2.GetCompositeMLDsaPublicKey Method

Definition

Gets the CompositeMLDsa public key from this certificate.

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

Returns

The public key, or null if this certificate does not have a Composite ML-DSA public key.

Attributes

Exceptions

The certificate has a Composite ML-DSA public key, but the platform does not support Composite ML-DSA.

The public key was invalid, or otherwise could not be imported.

Applies to