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
 );
Exemplo n.º 3
0
 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 );
Exemplo n.º 6
0
 internal static extern SecurityStatus VerifySignature(
     ref RawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
     );
 internal static extern SecurityStatus FreeCredentialsHandle(
     ref RawSspiHandle credentialHandle
 );
Exemplo n.º 8
0
 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 );
Exemplo n.º 11
0
 internal static extern SecurityStatus QueryCredentialsAttributes
 (
     ref RawSspiHandle phCredential,
     CredentialsQueryAttribute ulAttribute,
     ref CredentialsQueryResult pBuffer
 );
Exemplo n.º 12
0
 internal static extern SecurityStatus RevertSecurityContext(ref RawSspiHandle contextHandle);
Exemplo n.º 13
0
 internal static extern SecurityStatus ImpersonateSecurityContext(ref RawSspiHandle contextHandle);
Exemplo n.º 14
0
 internal static extern SecurityStatus QueryContextAttributes_String(
     ref RawSspiHandle contextHandle,
     ContextQueryAttrib attrib,
     ref SecPkgContext_String names
     );
Exemplo n.º 15
0
 internal static extern SecurityStatus QueryCredentialsAttribute_Name(
     ref RawSspiHandle credentialHandle,
     CredentialQueryAttrib attributeName,
     ref QueryNameAttribCarrier name
     );
Exemplo n.º 16
0
 internal static extern SecurityStatus DeleteSecurityContext(ref RawSspiHandle contextHandle);
 internal static extern SecurityStatus VerifySignature(
     ref RawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
 );
 internal static extern SecurityStatus QueryContextAttributes_String(
     ref RawSspiHandle contextHandle,
     ContextQueryAttrib attrib,
     ref SecPkgContext_String names
 );
 internal static extern SecurityStatus ImpersonateSecurityContext( ref RawSspiHandle contextHandle );
 internal static extern SecurityStatus QueryCredentialsAttribute_Name(
     ref RawSspiHandle credentialHandle,
     CredentialQueryAttrib attributeName,
     ref QueryNameAttribCarrier name
 );
Exemplo n.º 21
0
 internal static extern SecurityStatus QueryContextAttributes
 (
     ref RawSspiHandle phContext,
     ContextQueryAttribute ulAttribute,
     ref ContextQueryResult pBuffer
 );