MLDsaOpenSsl(SafeEvpPKeyHandle) Costruttore

Definizione

Inizializza una nuova istanza della MLDsaOpenSsl classe da una chiave OpenSSL esistente rappresentata come EVP_PKEY*.

public:
 MLDsaOpenSsl(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 MLDsaOpenSsl(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.MLDsaOpenSsl : System.Security.Cryptography.SafeEvpPKeyHandle -> System.Security.Cryptography.MLDsaOpenSsl
Public Sub New (pkeyHandle As SafeEvpPKeyHandle)

Parametri

pkeyHandle
SafeEvpPKeyHandle

Valore OpenSSL EVP_PKEY* da usare come chiave, rappresentato come .SafeEvpPKeyHandle

Attributi

Eccezioni

pkeyHandle è null.

L'handle in pkeyHandle non viene riconosciuto come chiave ML-DSA.

oppure

Errore durante la creazione dell'istanza dell'algoritmo.

L'handle in pkeyHandle è già eliminato.

Si applica a