internal static extern CSecurityStatus AcceptSecurityContext_2( ref CRawSspiHandle credHandle, ref CRawSspiHandle oldContextHandle, IntPtr inputBuffer, CContextAttrib requestedAttribs, CSecureBufferDataRep dataRep, ref CRawSspiHandle newContextHandle, IntPtr outputBuffer, ref CContextAttrib outputAttribs, ref CTimeStamp expiry );
internal static extern CSecurityStatus AcquireCredentialsHandle( string principleName, string packageName, CCredentialUse credentialUse, IntPtr loginId, IntPtr packageData, IntPtr getKeyFunc, IntPtr getKeyData, ref CRawSspiHandle credentialHandle, ref CTimeStamp expiry );
internal static extern CSecurityStatus InitializeSecurityContext_2( ref CRawSspiHandle credentialHandle, ref CRawSspiHandle previousHandle, string serverPrincipleName, CContextAttrib requiredAttribs, int reserved1, CSecureBufferDataRep dataRep, IntPtr inputBuffer, int reserved2, ref CRawSspiHandle newContextHandle, IntPtr outputBuffer, ref CContextAttrib contextAttribs, ref CTimeStamp expiry );
internal static extern CSecurityStatus QueryCredentialsAttribute_Name( ref CRawSspiHandle credentialHandle, CCredentialQueryAttrib attributeName, ref CQueryNameAttribCarrier name );
internal static extern CSecurityStatus FreeCredentialsHandle( ref CRawSspiHandle credentialHandle );
internal static extern CSecurityStatus RevertSecurityContext(ref CRawSspiHandle contextHandle);
internal static extern CSecurityStatus ImpersonateSecurityContext(ref CRawSspiHandle contextHandle);
internal static extern CSecurityStatus QueryContextAttributes_String( ref CRawSspiHandle contextHandle, CContextQueryAttrib attrib, ref CSecPkgContext_String names );
internal static extern CSecurityStatus VerifySignature( ref CRawSspiHandle contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection );
internal static extern CSecurityStatus DecryptMessage( ref CRawSspiHandle contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection );
internal static extern CSecurityStatus DeleteSecurityContext(ref CRawSspiHandle contextHandle);