1 type derived from LocalAllocHandle
Microsoft.AspNetCore.Cryptography.Internal (1)
SafeHandles\SecureLocalAllocHandle.cs (1)
14internal sealed unsafe class SecureLocalAllocHandle : LocalAllocHandle
29 references to LocalAllocHandle
Microsoft.AspNetCore.Cryptography.Internal (21)
LibraryImports.g.cs (10)
10public static partial int FormatMessage(uint dwFlags, global::Microsoft.AspNetCore.Cryptography.SafeHandles.SafeLibraryHandle lpSource, uint dwMessageId, uint dwLanguageId, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle lpBuffer, uint nSize, nint Arguments) 19global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle>.ManagedToUnmanagedOut __lpBuffer_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) 990global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle>.ManagedToUnmanagedOut __ppvInfo_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) 1042global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle>.ManagedToUnmanagedOut __ppbProtectedBlob_native__marshaller = new(); 1087internal static partial int NCryptUnprotectSecret(nint phDescriptor, uint dwFlags, byte* pbProtectedBlob, uint cbProtectedBlob, nint pMemPara, nint hWnd, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle ppbData, out uint pcbData) 1095global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle>.ManagedToUnmanagedOut __ppbData_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) 1142global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.LocalAllocHandle>.ManagedToUnmanagedOut __ppbData_native__marshaller = new();
SafeHandles\NCryptDescriptorHandle.cs (1)
21LocalAllocHandle ruleStringHandle;
SafeHandles\SafeLibraryHandle.cs (2)
60LocalAllocHandle messageHandle; 142out LocalAllocHandle lpBuffer,
UnsafeBufferUtil.cs (4)
38public static void BlockCopy(LocalAllocHandle from, void* to, uint byteCount) 58public static void BlockCopy(void* from, LocalAllocHandle to, uint byteCount) 78public static void BlockCopy(LocalAllocHandle from, LocalAllocHandle to, IntPtr length)
UnsafeNativeMethods.cs (4)
384out LocalAllocHandle ppvInfo); 400out LocalAllocHandle ppbProtectedBlob, 417out LocalAllocHandle ppbData, 434out LocalAllocHandle ppbData,
Microsoft.AspNetCore.Cryptography.Internal.Tests (5)
UnsafeBufferUtilTests.cs (5)
46var controlHandle = LocalAlloc(cbExpected); 51var testHandle = LocalAlloc(cbExpected); 68var controlHandle = LocalAlloc(cbExpected); 89var testHandle = LocalAlloc(cbExpected); 155private static LocalAllocHandle LocalAlloc(int cb)
Microsoft.AspNetCore.DataProtection (3)
Cng\DpapiSecretSerializerHelper.cs (3)
150LocalAllocHandle protectedData; 277LocalAllocHandle unencryptedPayloadHandle; 339LocalAllocHandle unprotectedDataHandle;