Esempio n. 1
0
 public unsafe static extern int AcceptSecurityContext(
     [In] ref CredHandle phCredential,
     [In, Out] void *phContext,
     [In] ref SecBufferDesc pInput,
     [In] int fContextReq,
     [In] int targetDataRep,
     [In, Out] ref CtxtHandle phNewContext,
     [In, Out] ref SecBufferDesc pOutput,
     [Out] out int pfContextAttr,
     [Out] out long ptsTimeStamp);
Esempio n. 2
0
 public unsafe static extern int EncryptMessage(
     [In] ref CtxtHandle phContext,
     [Out] void *pfQop,
     [In, Out] ref SecBufferDesc pMessage,
     [In] uint messageSeqNo);
Esempio n. 3
0
 public static extern int DecryptMessage(
     [In] ref CtxtHandle phContext,
     [In, Out] ref SecBufferDesc pMessage,
     [In] uint messageSeqNo,
     [Out] out uint pfQop);
Esempio n. 4
0
 public unsafe static extern int QueryContextAttributesA(
     [In] ref CtxtHandle phContext,
     [In] uint ulAttribute,
     [Out] void *pBuffer);
Esempio n. 5
0
 public static extern int DeleteSecurityContext(
     [In] ref CtxtHandle phContext);
Esempio n. 6
0
 public SafeCtxtHandle(CtxtHandle ctxtHandle)
     : base(IntPtr.Zero, true)
 {
     this._Handle = ctxtHandle;
 }