MLKemOpenSsl(SafeEvpPKeyHandle) Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der MLKemOpenSsl Klasse aus einem vorhandenen OpenSSL-Schlüssel, der als ein 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)
Parameter
- pkeyHandle
- SafeEvpPKeyHandle
Der OpenSSL-Wert EVP_PKEY* , der als Schlüssel verwendet werden soll, dargestellt als ein SafeEvpPKeyHandle.
- Attribute
Ausnahmen
pkeyHandle ist null.
Das Handle in pkeyHandle wird nicht als ML-KEM Taste erkannt.
-oder-
Fehler beim Erstellen der Algorithmusinstanz.
Der Handle in pkeyHandle ist bereits verworfen.