コード例 #1
0
 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
 );
コード例 #2
0
 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
 );
コード例 #3
0
 internal static extern SecurityStatus FreeCredentialsHandle(
     ref RawSspiHandle credentialHandle
     );
コード例 #4
0
 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
 );
コード例 #5
0
 internal static extern SecurityStatus RevertSecurityContext( ref RawSspiHandle contextHandle );
コード例 #6
0
 internal static extern SecurityStatus VerifySignature(
     ref RawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
     );
コード例 #7
0
 internal static extern SecurityStatus FreeCredentialsHandle(
     ref RawSspiHandle credentialHandle
 );
コード例 #8
0
 internal static extern SecurityStatus EncryptMessage(
     ref RawSspiHandle contextHandle,
     int qualityOfProtection,
     IntPtr bufferDescriptor,
     int sequenceNumber
     );
コード例 #9
0
 internal static extern SecurityStatus DecryptMessage(
     ref RawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
 );
コード例 #10
0
 internal static extern SecurityStatus DeleteSecurityContext( ref RawSspiHandle contextHandle );
コード例 #11
0
 internal static extern SecurityStatus QueryCredentialsAttributes
 (
     ref RawSspiHandle phCredential,
     CredentialsQueryAttribute ulAttribute,
     ref CredentialsQueryResult pBuffer
 );
コード例 #12
0
 internal static extern SecurityStatus RevertSecurityContext(ref RawSspiHandle contextHandle);
コード例 #13
0
 internal static extern SecurityStatus ImpersonateSecurityContext(ref RawSspiHandle contextHandle);
コード例 #14
0
 internal static extern SecurityStatus QueryContextAttributes_String(
     ref RawSspiHandle contextHandle,
     ContextQueryAttrib attrib,
     ref SecPkgContext_String names
     );
コード例 #15
0
 internal static extern SecurityStatus QueryCredentialsAttribute_Name(
     ref RawSspiHandle credentialHandle,
     CredentialQueryAttrib attributeName,
     ref QueryNameAttribCarrier name
     );
コード例 #16
0
 internal static extern SecurityStatus DeleteSecurityContext(ref RawSspiHandle contextHandle);
コード例 #17
0
 internal static extern SecurityStatus VerifySignature(
     ref RawSspiHandle contextHandle,
     IntPtr bufferDescriptor,
     int sequenceNumber,
     int qualityOfProtection
 );
コード例 #18
0
 internal static extern SecurityStatus QueryContextAttributes_String(
     ref RawSspiHandle contextHandle,
     ContextQueryAttrib attrib,
     ref SecPkgContext_String names
 );
コード例 #19
0
 internal static extern SecurityStatus ImpersonateSecurityContext( ref RawSspiHandle contextHandle );
コード例 #20
0
 internal static extern SecurityStatus QueryCredentialsAttribute_Name(
     ref RawSspiHandle credentialHandle,
     CredentialQueryAttrib attributeName,
     ref QueryNameAttribCarrier name
 );
コード例 #21
0
 internal static extern SecurityStatus QueryContextAttributes
 (
     ref RawSspiHandle phContext,
     ContextQueryAttribute ulAttribute,
     ref ContextQueryResult pBuffer
 );