16 references to NCryptDescriptorHandle
Microsoft.AspNetCore.Cryptography.Internal (12)
LibraryImports.g.cs (8)
938
internal static partial int NCryptCreateProtectionDescriptor(string pwszDescriptorString, uint dwFlags, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
phDescriptor)
945
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
>.ManagedToUnmanagedOut __phDescriptor_native__marshaller = new();
982
internal static partial int NCryptGetProtectionDescriptorInfo(global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
hDescriptor, nint pMemPara, uint dwInfoType, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppvInfo)
991
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
>.ManagedToUnmanagedIn __hDescriptor_native__marshaller = new();
1033
internal static partial int NCryptProtectSecret(global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
hDescriptor, uint dwFlags, byte* pbData, uint cbData, nint pMemPara, nint hWnd, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbProtectedBlob, out uint pcbProtectedBlob)
1043
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
>.ManagedToUnmanagedIn __hDescriptor_native__marshaller = new();
1132
internal static partial int NCryptUnprotectSecret(out global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
phDescriptor, uint dwFlags, byte* pbProtectedBlob, uint cbProtectedBlob, nint pMemPara, nint hWnd, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbData, out uint pcbData)
1143
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.
NCryptDescriptorHandle
>.ManagedToUnmanagedOut __phDescriptor_native__marshaller = new();
UnsafeNativeMethods.cs (4)
371
out
NCryptDescriptorHandle
phDescriptor);
381
NCryptDescriptorHandle
hDescriptor,
394
NCryptDescriptorHandle
hDescriptor,
428
out
NCryptDescriptorHandle
phDescriptor,
Microsoft.AspNetCore.DataProtection (4)
Cng\DpapiSecretSerializerHelper.cs (3)
118
public static byte[] ProtectWithDpapiNG(ISecret secret,
NCryptDescriptorHandle
protectionDescriptorHandle)
144
private static byte[] ProtectWithDpapiNGCore(
NCryptDescriptorHandle
protectionDescriptorHandle, byte* pbData, uint cbData)
338
NCryptDescriptorHandle
descriptorHandle;
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
27
private readonly
NCryptDescriptorHandle
_protectionDescriptorHandle;