X509Certificate2.GetMLDsaPrivateKey Метод

Определение

Возвращает закрытый MLDsa ключ из этого сертификата.

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

Возвращаемое значение

Закрытый ключ или null если этот сертификат не имеет ML-DSA закрытый ключ.

Атрибуты

Исключения

Произошла ошибка при доступе к закрытому ключу.

Применяется к