1 instantiation of SecureLocalAllocHandle
Microsoft.AspNetCore.Cryptography.Internal (1)
SafeHandles\SecureLocalAllocHandle.cs (1)
36SecureLocalAllocHandle newHandle = new SecureLocalAllocHandle(cb);
9 references to SecureLocalAllocHandle
Microsoft.AspNetCore.Cryptography.Internal (4)
SafeHandles\SecureLocalAllocHandle.cs (4)
34public static SecureLocalAllocHandle Allocate(IntPtr cb) 36SecureLocalAllocHandle newHandle = new SecureLocalAllocHandle(cb); 49public SecureLocalAllocHandle Duplicate() 51SecureLocalAllocHandle duplicateHandle = Allocate(_cb);
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
SafeHandles\SecureLocalAllocHandleTests.cs (2)
17var controlHandle = SecureLocalAllocHandle.Allocate((IntPtr)cbExpected); 24var duplicateHandle = controlHandle.Duplicate();
Microsoft.AspNetCore.DataProtection (3)
Secret.cs (3)
134var handle = SecureLocalAllocHandle.Allocate((IntPtr)checked((int)cbPlaintext)); 150var encryptedMemoryHandle = SecureLocalAllocHandle.Allocate((IntPtr)numTotalBytesToAllocate); 221using (var duplicateHandle = _localAllocHandle.Duplicate())