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

Microsoft.Win32.SafeHandles.SafeCertContextHandle

SafeHandle for the CERT_CONTEXT structure defined by crypt32.
public bool ContainsPrivateKey { get; }

public CERT_CONTEXT* DangerousCertContext { get; }

public bool HasEphemeralPrivateKey { get; }

public bool HasPersistedPrivateKey { get; }

public CERT_CONTEXT* Disconnect()