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