| File: Cng\BCryptBuffer.cs | Web Access |
| Project: src\aspnetcore\src\DataProtection\Cryptography.Internal\src\Microsoft.AspNetCore.Cryptography.Internal.csproj (Microsoft.AspNetCore.Cryptography.Internal) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.InteropServices; namespace Microsoft.AspNetCore.Cryptography.Cng; // http://msdn.microsoft.com/en-us/library/windows/desktop/aa375368(v=vs.85).aspx [StructLayout(LayoutKind.Sequential)] internal struct BCryptBuffer { public uint cbBuffer; // Length of buffer, in bytes public BCryptKeyDerivationBufferType BufferType; // Buffer type public IntPtr pvBuffer; // Pointer to buffer }