X509Certificate2.GetMLKemPrivateKey Метод

Определение

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

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

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

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

Атрибуты

Исключения

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

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