C# Class Dse.Auth.Sspi.Contexts.ContextNativeMethods

Declares native methods calls for security context-related win32 functions.
Mostra file Open project: datastax/csharp-driver-dse Class Usage Examples

Private Methods

Method Description
AcceptSecurityContext_1 ( RawSspiHandle &credHandle, IntPtr oldContextHandle, IntPtr inputBuffer, ContextAttrib requestedAttribs, SecureBufferDataRep dataRep, RawSspiHandle &newContextHandle, IntPtr outputBuffer, ContextAttrib &outputAttribs, TimeStamp &expiry ) : SecurityStatus
AcceptSecurityContext_2 ( RawSspiHandle &credHandle, RawSspiHandle &oldContextHandle, IntPtr inputBuffer, ContextAttrib requestedAttribs, SecureBufferDataRep dataRep, RawSspiHandle &newContextHandle, IntPtr outputBuffer, ContextAttrib &outputAttribs, TimeStamp &expiry ) : SecurityStatus
DecryptMessage ( RawSspiHandle &contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection ) : SecurityStatus
DeleteSecurityContext ( RawSspiHandle &contextHandle ) : SecurityStatus
EncryptMessage ( RawSspiHandle &contextHandle, int qualityOfProtection, IntPtr bufferDescriptor, int sequenceNumber ) : SecurityStatus
FreeContextBuffer ( IntPtr handle ) : SecurityStatus
ImpersonateSecurityContext ( RawSspiHandle &contextHandle ) : SecurityStatus
InitializeSecurityContext_1 ( RawSspiHandle &credentialHandle, IntPtr zero, string serverPrincipleName, ContextAttrib requiredAttribs, int reserved1, SecureBufferDataRep dataRep, IntPtr inputBuffer, int reserved2, RawSspiHandle &newContextHandle, IntPtr outputBuffer, ContextAttrib &contextAttribs, TimeStamp &expiry ) : SecurityStatus
InitializeSecurityContext_2 ( RawSspiHandle &credentialHandle, RawSspiHandle &previousHandle, string serverPrincipleName, ContextAttrib requiredAttribs, int reserved1, SecureBufferDataRep dataRep, IntPtr inputBuffer, int reserved2, RawSspiHandle &newContextHandle, IntPtr outputBuffer, ContextAttrib &contextAttribs, TimeStamp &expiry ) : SecurityStatus
MakeSignature ( RawSspiHandle &contextHandle, int qualityOfProtection, IntPtr bufferDescriptor, int sequenceNumber ) : SecurityStatus
QueryContextAttributes_Sizes ( RawSspiHandle &contextHandle, ContextQueryAttrib attrib, SecPkgContext_Sizes &sizes ) : SecurityStatus
QueryContextAttributes_String ( RawSspiHandle &contextHandle, ContextQueryAttrib attrib, SecPkgContext_String &names ) : SecurityStatus
RevertSecurityContext ( RawSspiHandle &contextHandle ) : SecurityStatus
SafeDecryptMessage ( SafeContextHandle handle, int qualityOfProtection, SecureBufferAdapter bufferAdapter, int sequenceNumber ) : SecurityStatus

Safely invokes the native DecryptMessage function, making sure that handle ref counting is performed in a proper CER.

SafeEncryptMessage ( SafeContextHandle handle, int qualityOfProtection, SecureBufferAdapter bufferAdapter, int sequenceNumber ) : SecurityStatus

Safely invokes the native EncryptMessage function, making sure that handle ref counting is performed in a proper CER.

SafeMakeSignature ( SafeContextHandle handle, int qualityOfProtection, SecureBufferAdapter adapter, int sequenceNumber ) : SecurityStatus

Safely invokes the native MakeSignature function, making sure that handle ref counting is performed in a proper CER.

SafeVerifySignature ( SafeContextHandle handle, int qualityOfProtection, SecureBufferAdapter adapter, int sequenceNumber ) : SecurityStatus

Safely invokes the native VerifySignature function, making sure that handle ref counting is performed in a proper CER.

VerifySignature ( RawSspiHandle &contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection ) : SecurityStatus