SlhDsaOpenSsl(SafeEvpPKeyHandle) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SlhDsaOpenSsl class from an existing OpenSSL key represented as an 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)
Parameters
- pkeyHandle
- SafeEvpPKeyHandle
The OpenSSL EVP_PKEY* value to use as the key, represented as a SafeEvpPKeyHandle.
- Attributes
Exceptions
pkeyHandle is null.
The handle in pkeyHandle is not recognized as an SLH-DSA key.
-or-
An error occurred while creating the algorithm instance.
The handle in pkeyHandle is already disposed.