MLDsaOpenSsl(SafeEvpPKeyHandle) Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av MLDsaOpenSsl klassen från en befintlig OpenSSL-nyckel som representeras som en 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)
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 ML-DSA nyckel.
-eller-
Ett fel uppstod när algoritminstansen skapades.
Handtaget i pkeyHandle har redan tagits bort.