4 writes to _plaintextLength
Microsoft.AspNetCore.DataProtection (4)
Secret.cs (4)
33_plaintextLength = (uint)value.Count; 62_plaintextLength = (uint)secretLength; 77this._plaintextLength = other._plaintextLength; 90_plaintextLength = (uint)tempPlaintextBuffer.Length;
7 references to _plaintextLength
Microsoft.AspNetCore.DataProtection (7)
Secret.cs (7)
77this._plaintextLength = other._plaintextLength; 107return (int)_plaintextLength; // ctor guarantees the length fits into a signed int 207UnsafeBufferUtil.BlockCopy(from: _localAllocHandle, to: pbBuffer, byteCount: _plaintextLength); 211if (_plaintextLength % CRYPTPROTECTMEMORY_BLOCK_SIZE == 0) 214UnsafeBufferUtil.BlockCopy(from: _localAllocHandle, to: pbBuffer, byteCount: _plaintextLength); 215MemoryProtection.CryptUnprotectMemory(pbBuffer, _plaintextLength); 224UnsafeBufferUtil.BlockCopy(from: duplicateHandle, to: pbBuffer, byteCount: _plaintextLength);