MLKemOpenSsl(SafeEvpPKeyHandle) Construtor

Definição

Inicializa uma nova instância da classe de MLKemOpenSsl uma chave OpenSSL existente representada como um EVP_PKEY*.

public:
 MLKemOpenSsl(System::Security::Cryptography::SafeEvpPKeyHandle ^ pkeyHandle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("osx")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public MLKemOpenSsl(System.Security.Cryptography.SafeEvpPKeyHandle pkeyHandle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("osx")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.MLKemOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.MLKemOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

Parâmetros

pkeyHandle
SafeEvpPKeyHandle

O valor OpenSSL EVP_PKEY* a ser usado como a chave, representado como um SafeEvpPKeyHandle.

Atributos

Exceções

pkeyHandle é null.

O identificador não pkeyHandle é reconhecido como uma chave de ML-KEM.

- ou -

Erro ao criar a instância do algoritmo.

O identificador já pkeyHandle está descartado.

Aplica-se a