X509Certificate2.GetMLKemPublicKey Метод

Определение

Получает открытый MLKem ключ из этого сертификата.

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

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

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

Атрибуты

Исключения

Сертификат имеет открытый ключ ML-KEM, но платформа не поддерживает ML-KEM.

Открытый ключ недопустим или не может быть импортирован.

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