<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-preview.5.26302.115" />

Microsoft.Win32.SafeHandles.SafeCertContextHandle

SafeHandle for the CERT_CONTEXT structure defined by crypt32.
namespace Microsoft.Win32.SafeHandles { internal class SafeCertContextHandle : Microsoft.Win32.SafeHandles.SafeCrypt32Handle<Microsoft.Win32.SafeHandles.SafeCertContextHandle> { public unsafe global::Interop.Crypt32.CERT_CONTEXT* DangerousCertContext { get; } public bool HasPersistedPrivateKey { get; } public bool HasEphemeralPrivateKey { get; } public bool ContainsPrivateKey { get; } public SafeCertContextHandle(); public SafeCertContextHandle(Microsoft.Win32.SafeHandles.SafeCertContextHandle parent); public unsafe global::Interop.Crypt32.CERT_CONTEXT* Disconnect(); public Microsoft.Win32.SafeHandles.SafeCertContextHandle Duplicate(); } }