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