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