Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SafeEvpPKeyHandle Constructors

Definition

Namespace:
System.Security.Cryptography
Assembly:
System.Security.Cryptography.dll
Assembly:
System.Security.Cryptography.OpenSsl.dll
Assemblies:
System.Security.Cryptography.dll, System.Security.Cryptography.OpenSsl.dll
Package:
System.Security.Cryptography.OpenSsl v5.0.0

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.

Overloads

Name Description
SafeEvpPKeyHandle()

Initializes a new instance of the SafeEvpPKeyHandle class, representing an invalid handle.

SafeEvpPKeyHandle(IntPtr, Boolean)

Initializes a new instance of the SafeEvpPKeyHandle class with the specified handle value.

SafeEvpPKeyHandle()

Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs

Initializes a new instance of the SafeEvpPKeyHandle class, representing an invalid handle.

public:
 SafeEvpPKeyHandle();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public SafeEvpPKeyHandle();
public SafeEvpPKeyHandle();
Public Sub New ()
Attributes

Applies to

SafeEvpPKeyHandle(IntPtr, Boolean)

Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs

Initializes a new instance of the SafeEvpPKeyHandle class with the specified handle value.

public:
 SafeEvpPKeyHandle(IntPtr handle, bool ownsHandle);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public SafeEvpPKeyHandle(IntPtr handle, bool ownsHandle);
public SafeEvpPKeyHandle(IntPtr handle, bool ownsHandle);
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Sub New (handle As IntPtr, ownsHandle As Boolean)

Parameters

handle
IntPtr

nativeint

The handle value to represent.

ownsHandle
Boolean

true to reliably let SafeEvpPKeyHandle release the handle during the finalization phase; otherwise, false (not recommended).

Attributes

Applies to


Feedback

Was this page helpful?