4 references to DuplicateHandles
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\OpenSslCertificateFinder.cs (1)
28
return new X509Certificate2(certPal.
DuplicateHandles
());
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (2)
140
using (X509Certificate2 copy = new X509Certificate2(cert.
DuplicateHandles
()))
228
using (X509Certificate2 copy = new X509Certificate2(cert.
DuplicateHandles
()))
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
39
return certPal.
DuplicateHandles
();