Esempio n. 1
0
 private 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);
Esempio n. 2
0
 private 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);
Esempio n. 3
0
 public static extern int DeleteSecurityContext(ref SECURITY_HANDLE pCred);
Esempio n. 4
0
 public static extern int FreeCredentialsHandle(ref SECURITY_HANDLE pCred);
Esempio n. 5
0
 public static extern int QueryContextAttributes(
     ref SECURITY_HANDLE phContext,
     uint ulAttribute,
     out SecPkgContext_Sizes pContextAttributes);
Esempio n. 6
0
 private static extern int CompleteAuthToken(
     ref SECURITY_HANDLE phContext,
     ref SecBufferDesc pToken);
Esempio n. 7
0
 private 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);
Esempio n. 8
0
 private static extern int CompleteAuthToken(
    ref SECURITY_HANDLE phContext,
    ref SecBufferDesc pToken);
Esempio n. 9
0
 private 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);
Esempio n. 10
0
 public static extern int QueryContextAttributes(
     ref SECURITY_HANDLE phContext,
     uint ulAttribute,
     out SecPkgContext_Sizes pContextAttributes);
Esempio n. 11
0
 public static extern int FreeCredentialsHandle(ref SECURITY_HANDLE pCred);
Esempio n. 12
0
 public static extern int DeleteSecurityContext(ref SECURITY_HANDLE pCred);