15 references to DuplicateHandle
System.Security.Cryptography (15)
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\MLDsaImplementation.OpenSsl.cs (1)
41return _key.DuplicateHandle();
System\Security\Cryptography\MLDsaOpenSsl.OpenSsl.cs (2)
16return _key.DuplicateHandle(); 28upRefHandle = pkeyHandle.DuplicateHandle();
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
75internal SafeEvpPKeyHandle DuplicateHandle() => _key.DuplicateHandle();
System\Security\Cryptography\MLKemOpenSsl.OpenSsl.cs (2)
15return _key.DuplicateHandle(); 31upRefHandle = pkeyHandle.DuplicateHandle();
System\Security\Cryptography\RSAOpenSsl.cs (2)
82SafeEvpPKeyHandle newKey = pkeyHandle.DuplicateHandle(); 93return GetKey().DuplicateHandle();
System\Security\Cryptography\SlhDsaOpenSsl.OpenSsl.cs (2)
16return _key.DuplicateHandle(); 28upRefHandle = pkeyHandle.DuplicateHandle();
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
826SafeEvpPKeyHandle keyHandle = _privateKey.DuplicateHandle();