internal static extern SecurityStatus AcquireCredentialsHandle( string principleName, string packageName, CredentialUse credentialUse, IntPtr loginId, IntPtr packageData, IntPtr getKeyFunc, IntPtr getKeyData, ref RawSspiHandle credentialHandle, ref TimeStamp expiry );
internal static extern SecurityStatus AcceptSecurityContext_2( ref RawSspiHandle credHandle, ref RawSspiHandle oldContextHandle, IntPtr inputBuffer, ContextAttrib requestedAttribs, SecureBufferDataRep dataRep, ref RawSspiHandle newContextHandle, IntPtr outputBuffer, ref ContextAttrib outputAttribs, ref TimeStamp expiry );
internal static extern SecurityStatus FreeCredentialsHandle( ref RawSspiHandle credentialHandle );
internal static extern SecurityStatus InitializeSecurityContext_1( ref RawSspiHandle credentialHandle, IntPtr zero, string serverPrincipleName, ContextAttrib requiredAttribs, int reserved1, SecureBufferDataRep dataRep, IntPtr inputBuffer, int reserved2, ref RawSspiHandle newContextHandle, IntPtr outputBuffer, ref ContextAttrib contextAttribs, ref TimeStamp expiry );
internal static extern SecurityStatus RevertSecurityContext( ref RawSspiHandle contextHandle );
internal static extern SecurityStatus VerifySignature( ref RawSspiHandle contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection );
internal static extern SecurityStatus EncryptMessage( ref RawSspiHandle contextHandle, int qualityOfProtection, IntPtr bufferDescriptor, int sequenceNumber );
internal static extern SecurityStatus DecryptMessage( ref RawSspiHandle contextHandle, IntPtr bufferDescriptor, int sequenceNumber, int qualityOfProtection );
internal static extern SecurityStatus DeleteSecurityContext( ref RawSspiHandle contextHandle );
internal static extern SecurityStatus QueryCredentialsAttributes ( ref RawSspiHandle phCredential, CredentialsQueryAttribute ulAttribute, ref CredentialsQueryResult pBuffer );
internal static extern SecurityStatus RevertSecurityContext(ref RawSspiHandle contextHandle);
internal static extern SecurityStatus ImpersonateSecurityContext(ref RawSspiHandle contextHandle);
internal static extern SecurityStatus QueryContextAttributes_String( ref RawSspiHandle contextHandle, ContextQueryAttrib attrib, ref SecPkgContext_String names );
internal static extern SecurityStatus QueryCredentialsAttribute_Name( ref RawSspiHandle credentialHandle, CredentialQueryAttrib attributeName, ref QueryNameAttribCarrier name );
internal static extern SecurityStatus DeleteSecurityContext(ref RawSspiHandle contextHandle);
internal static extern SecurityStatus ImpersonateSecurityContext( ref RawSspiHandle contextHandle );
internal static extern SecurityStatus QueryContextAttributes ( ref RawSspiHandle phContext, ContextQueryAttribute ulAttribute, ref ContextQueryResult pBuffer );