1 write to _protectionDescriptorHandle
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
41var ntstatus = UnsafeNativeMethods.NCryptCreateProtectionDescriptor(protectionDescriptorRule, (uint)flags, out _protectionDescriptorHandle);
3 references to _protectionDescriptorHandle
Microsoft.AspNetCore.DataProtection (3)
XmlEncryption\DpapiNGXmlEncryptor.cs (3)
43CryptoUtil.AssertSafeHandleIsValid(_protectionDescriptorHandle); 61var protectionDescriptorRuleString = _protectionDescriptorHandle.GetProtectionDescriptorRuleString(); 70cngDpapiEncryptedData = DpapiSecretSerializerHelper.ProtectWithDpapiNG(plaintextElementAsSecret, _protectionDescriptorHandle);