7 references to DuplicateHandle
System.Security.Cryptography (7)
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
39_key = new Lazy<SafeEvpPKeyHandle>(pkeyHandle.DuplicateHandle()); 82return _key.Value.DuplicateHandle();
System\Security\Cryptography\ECDsaOpenSsl.cs (2)
39_key = new Lazy<SafeEvpPKeyHandle>(pkeyHandle.DuplicateHandle()); 82return _key.Value.DuplicateHandle();
System\Security\Cryptography\RSAOpenSsl.cs (2)
82SafeEvpPKeyHandle newKey = pkeyHandle.DuplicateHandle(); 93return GetKey().DuplicateHandle();
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
772SafeEvpPKeyHandle keyHandle = _privateKey.DuplicateHandle();