9 references to AssertSafeHandleIsValid
Microsoft.AspNetCore.Cryptography.Internal (5)
SafeHandles\BCryptAlgorithmHandle.cs (3)
34
CryptoUtil.
AssertSafeHandleIsValid
(retVal);
57
CryptoUtil.
AssertSafeHandleIsValid
(retVal);
148
CryptoUtil.
AssertSafeHandleIsValid
(algHandle);
SafeHandles\BCryptHashHandle.cs (1)
23
CryptoUtil.
AssertSafeHandleIsValid
(duplicateHandle);
SafeHandles\NCryptDescriptorHandle.cs (1)
28
CryptoUtil.
AssertSafeHandleIsValid
(ruleStringHandle);
Microsoft.AspNetCore.DataProtection (4)
Cng\DpapiSecretSerializerHelper.cs (3)
162
CryptoUtil.
AssertSafeHandleIsValid
(protectedData);
289
CryptoUtil.
AssertSafeHandleIsValid
(unencryptedPayloadHandle);
350
CryptoUtil.
AssertSafeHandleIsValid
(descriptorHandle);
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
43
CryptoUtil.
AssertSafeHandleIsValid
(_protectionDescriptorHandle);