C# (CSharp) Dse.Auth.Sspi.Buffers SecureBuffer - 7 examples found. These are the top rated real world C# (CSharp) examples of Dse.Auth.Sspi.Buffers.SecureBuffer extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
Stores buffers to provide tokens and data to the native SSPI APIs.
The buffer is translated into a SecureBufferInternal for the actual call. To keep the call setup code simple, and to centralize the buffer pinning code, this class stores and returns buffers as regular byte arrays. The buffer pinning support code in SecureBufferAdapter handles conversion to SecureBufferInternal for pass to the managed api, as well as pinning relevant chunks of memory. Furthermore, the native API may not use the entire buffer, and so a mechanism is needed to communicate the usage of the buffer separate from the length of the buffer.