Пример #1
0
 public static extern int AcceptSecurityContext(ref SecurityHandle phCredential,
                                                ref SecurityHandle phContext,
                                                ref SecurityBufferDesciption pInput,
                                                uint fContextReq,
                                                uint TargetDataRep,
                                                out SecurityHandle phNewContext,
                                                out SecurityBufferDesciption pOutput,
                                                out uint pfContextAttr,
                                                out SecurityInteger ptsTimeStamp);
 public static extern int AcceptSecurityContext(ref SecurityHandle phCredential,
     ref SecurityHandle phContext,
     ref SecurityBufferDesciption pInput,
     uint fContextReq,
     uint TargetDataRep,
     out SecurityHandle phNewContext,
     out SecurityBufferDesciption pOutput,
     out uint pfContextAttr,
     out SecurityInteger ptsTimeStamp);
Пример #3
0
 public static extern int AcquireCredentialsHandle(
     string pszPrincipal,
     string pszPackage,
     int fCredentialUse,
     IntPtr PAuthenticationID,
     IntPtr pAuthData,
     int pGetKeyFn,
     IntPtr pvGetKeyArgument,
     ref SecurityHandle phCredential,
     ref SecurityInteger ptsExpiry);
 public static extern int AcquireCredentialsHandle(
     string pszPrincipal,
     string pszPackage,
     int fCredentialUse,
     IntPtr PAuthenticationID,
     IntPtr pAuthData,
     int pGetKeyFn,
     IntPtr pvGetKeyArgument,
     ref SecurityHandle phCredential,
     ref SecurityInteger ptsExpiry);
Пример #5
0
 public static extern int QuerySecurityContextToken(
     ref SecurityHandle phContext,
     ref IntPtr phToken);
 public static extern int QuerySecurityContextToken(
     ref SecurityHandle phContext,
     ref IntPtr phToken);