Beispiel #1
0
 static extern int AcquireCredentialsHandle(
     string pszPrincipal,
     string pszPackage,
     int fCredentialUse,
     IntPtr PAuthenticationID,
     IntPtr pAuthData,
     int pGetKeyFn,
     IntPtr pvGetKeyArgument,
     ref SECURITY_HANDLE phCredential,
     ref SECURITY_INTEGER ptsExpiry);
Beispiel #2
0
 static extern int AcquireCredentialsHandle(
     string pszPrincipal,
     string pszPackage,
     int fCredentialUse,
     IntPtr PAuthenticationID,
     IntPtr pAuthData,
     int pGetKeyFn,
     IntPtr pvGetKeyArgument,
     ref SECURITY_HANDLE phCredential,
     ref SECURITY_INTEGER ptsExpiry);
Beispiel #3
0
 static extern int InitializeSecurityContext(
     ref SECURITY_HANDLE phCredential,
     IntPtr phContext,
     string pszTargetName,
     int fContextReq,
     int Reserved1,
     int TargetDataRep,
     IntPtr pInput,
     int Reserved2,
     out SECURITY_HANDLE phNewContext,
     out SecBufferDesc pOutput,
     out uint pfContextAttr,
     out SECURITY_INTEGER ptsExpiry);
Beispiel #4
0
 static extern int InitializeSecurityContext(
     ref SECURITY_HANDLE phCredential,
     ref SECURITY_HANDLE phContext,
     string pszTargetName,
     int fContextReq,
     int Reserved1,
     int TargetDataRep,
     ref SecBufferDesc SecBufferDesc,
     int Reserved2,
     out SECURITY_HANDLE phNewContext,
     out SecBufferDesc pOutput,
     out uint pfContextAttr,
     out SECURITY_INTEGER ptsExpiry);
Beispiel #5
0
 public static extern int DeleteSecurityContext(ref SECURITY_HANDLE pCred);
Beispiel #6
0
 public static extern int FreeCredentialsHandle(ref SECURITY_HANDLE pCred);
Beispiel #7
0
 public static extern int QueryContextAttributes(
     ref SECURITY_HANDLE phContext,
     uint ulAttribute,
     out SecPkgContext_Sizes pContextAttributes);
Beispiel #8
0
 static extern int CompleteAuthToken(
     ref SECURITY_HANDLE phContext,
     ref SecBufferDesc pToken);
Beispiel #9
0
 public static extern int DeleteSecurityContext(ref SECURITY_HANDLE pCred);
Beispiel #10
0
 public static extern int FreeCredentialsHandle(ref SECURITY_HANDLE pCred);
Beispiel #11
0
 public static extern int QueryContextAttributes(
     ref SECURITY_HANDLE phContext,
     uint ulAttribute,
     out SecPkgContext_Sizes pContextAttributes);
Beispiel #12
0
 static extern int CompleteAuthToken(
     ref SECURITY_HANDLE phContext,
     ref SecBufferDesc pToken);