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