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