9 references to HandleNoDuplicate
System.Security.Cryptography (9)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngHelpers.cs (1)
351
return Duplicate(key.
HandleNoDuplicate
, key.IsEphemeral);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaCng.Windows.cs (1)
40
key.
HandleNoDuplicate
.GetPropertyAsString(KeyPropertyName.ParameterSetName, CngPropertyOptions.None);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (1)
73
key.
HandleNoDuplicate
.GetPropertyAsString(KeyPropertyName.ParameterSetName, CngPropertyOptions.None);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (1)
65
key.
HandleNoDuplicate
.GetPropertyAsString(KeyPropertyName.ParameterSetName, CngPropertyOptions.None);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
95
_key.
HandleNoDuplicate
,
177
SafeNCryptKeyHandle keyHandle = key.
HandleNoDuplicate
;
System\Security\Cryptography\AesCng.Windows.cs (1)
77
CngKey duplicate = CngHelpers.Duplicate(key.
HandleNoDuplicate
, key.IsEphemeral);
System\Security\Cryptography\CngAlgorithmCore.cs (1)
29
return CngKey.Open(key.
HandleNoDuplicate
, key.IsEphemeral ? CngKeyHandleOpenOptions.EphemeralKey : CngKeyHandleOpenOptions.None);
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (1)
283
return CngHelpers.Duplicate(_key.
HandleNoDuplicate
, _key.IsEphemeral);