MLKemOpenSsl(SafeEvpPKeyHandle) Constructor

Definición

Inicializa una nueva instancia de la MLKemOpenSsl clase a partir de una clave OpenSSL existente representada como .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

Valor de OpenSSL EVP_PKEY* que se va a usar como clave, representado como .SafeEvpPKeyHandle

Atributos

Excepciones

pkeyHandle es null.

El identificador de no pkeyHandle se reconoce como una clave de ML-KEM.

O bien

Error al crear la instancia del algoritmo.

El identificador de ya pkeyHandle está eliminado.

Se aplica a