15 references to DuplicateHandle
System.Security.Cryptography (15)
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
39
_key = new Lazy<SafeEvpPKeyHandle>(pkeyHandle.
DuplicateHandle
());
82
return _key.Value.
DuplicateHandle
();
System\Security\Cryptography\ECDsaOpenSsl.cs (2)
39
_key = new Lazy<SafeEvpPKeyHandle>(pkeyHandle.
DuplicateHandle
());
82
return _key.Value.
DuplicateHandle
();
System\Security\Cryptography\MLDsaImplementation.OpenSsl.cs (1)
41
return _key.
DuplicateHandle
();
System\Security\Cryptography\MLDsaOpenSsl.OpenSsl.cs (2)
16
return _key.
DuplicateHandle
();
28
upRefHandle = pkeyHandle.
DuplicateHandle
();
System\Security\Cryptography\MLKemImplementation.OpenSsl.cs (1)
75
internal SafeEvpPKeyHandle DuplicateHandle() => _key.
DuplicateHandle
();
System\Security\Cryptography\MLKemOpenSsl.OpenSsl.cs (2)
15
return _key.
DuplicateHandle
();
31
upRefHandle = pkeyHandle.
DuplicateHandle
();
System\Security\Cryptography\RSAOpenSsl.cs (2)
82
SafeEvpPKeyHandle newKey = pkeyHandle.
DuplicateHandle
();
93
return GetKey().
DuplicateHandle
();
System\Security\Cryptography\SlhDsaOpenSsl.OpenSsl.cs (2)
16
return _key.
DuplicateHandle
();
28
upRefHandle = pkeyHandle.
DuplicateHandle
();
System\Security\Cryptography\X509Certificates\OpenSslX509CertificateReader.cs (1)
826
SafeEvpPKeyHandle keyHandle = _privateKey.
DuplicateHandle
();