14 references to HandleNoDuplicate
System.Security.Cryptography (14)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (3)
53
duplicateKey = CngHelpers.Duplicate(key.
HandleNoDuplicate
, key.IsEphemeral);
77
key.
HandleNoDuplicate
.GetPropertyAsString(KeyPropertyName.ParameterSetName, CngPropertyOptions.None);
102
return CngHelpers.Duplicate(_key.
HandleNoDuplicate
, _key.IsEphemeral);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (3)
45
duplicateKey = CngHelpers.Duplicate(key.
HandleNoDuplicate
, key.IsEphemeral);
69
key.
HandleNoDuplicate
.GetPropertyAsString(KeyPropertyName.ParameterSetName, CngPropertyOptions.None);
94
return CngHelpers.Duplicate(_key.
HandleNoDuplicate
, _key.IsEphemeral);
System\Security\Cryptography\AesCng.Windows.cs (1)
71
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);
System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (5)
31
_key = CngHelpers.Duplicate(key.
HandleNoDuplicate
, key.IsEphemeral);
37
return CngHelpers.Duplicate(_key.
HandleNoDuplicate
, _key.IsEphemeral);
91
_key.
HandleNoDuplicate
,
167
key.
HandleNoDuplicate
,
184
key.
HandleNoDuplicate
,