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