Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​Cryptography.​SafeEvpPKeyHandle

Assembly: System.Security.Cryptography

Inheritance: object → Runtime.ConstrainedExecution.CriticalFinalizerObjectRuntime.InteropServices.SafeHandle → SafeEvpPKeyHandle

Represents the <see langword="EVP_PKEY*" /> pointer type from OpenSSL.

Fields and Constants

protected nint
handle

Properties

public bool
IsInvalid
Gets a value indicating whether the handle value is invalid.
public bool
IsClosed

Methods

DuplicateHandle​()
Returns Another instance of this type or the existing handle.
Creates another instance of this type or increments the reference count of the handle.
protected bool
ReleaseHandle​()
public void
Close​()
Inherited from SafeHandle
public void
DangerousAddRef​(Boolean& success)
Inherited from SafeHandle
public nint
DangerousGetHandle​()
Inherited from SafeHandle
public void
DangerousRelease​()
Inherited from SafeHandle
public void
Dispose​()
Inherited from SafeHandle
protected void
Dispose​(bool disposing)
Inherited from SafeHandle
protected void
Finalize​()
Inherited from SafeHandle
protected void
SetHandle​(nint handle)
Inherited from SafeHandle
public void
SetHandleAsInvalid​()
Inherited from SafeHandle
public bool
Equals​(object obj)
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object