Exemplo n.º 1
0
 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
     );
Exemplo n.º 3
0
 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
     );
Exemplo n.º 6
0
 internal static extern CSecurityStatus RevertSecurityContext(ref CRawSspiHandle contextHandle);
Exemplo n.º 7
0
 internal static extern CSecurityStatus ImpersonateSecurityContext(ref CRawSspiHandle contextHandle);
Exemplo n.º 8
0
 internal static extern CSecurityStatus QueryContextAttributes_String(
     ref CRawSspiHandle contextHandle,
     CContextQueryAttrib attrib,
     ref CSecPkgContext_String names
     );
Exemplo n.º 9
0
 internal static extern CSecurityStatus VerifySignature(
     ref CRawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
     );
Exemplo n.º 10
0
 internal static extern CSecurityStatus DecryptMessage(
     ref CRawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
     );
Exemplo n.º 11
0
 internal static extern CSecurityStatus DeleteSecurityContext(ref CRawSspiHandle contextHandle);