SlhDsaOpenSsl(SafeEvpPKeyHandle) Konstruktor

Definition

Initierar en ny instans av SlhDsaOpenSsl klassen från en befintlig OpenSSL-nyckel som representeras som en EVP_PKEY*.

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

Parametrar

pkeyHandle
SafeEvpPKeyHandle

OpenSSL-värdet EVP_PKEY* som ska användas som nyckel, representerat som en SafeEvpPKeyHandle.

Attribut

Undantag

pkeyHandle är null.

Handtaget i pkeyHandle identifieras inte som en SLH-DSA nyckel.

-eller-

Ett fel uppstod när algoritminstansen skapades.

Handtaget i pkeyHandle har redan tagits bort.

Gäller för