<PackageReference Include="Microsoft.Bcl.Cryptography" Version="11.0.0-rc.2.26504.105" />

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()