コード例 #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);
コード例 #2
0
 public unsafe static extern int EncryptMessage(
     [In] ref CtxtHandle phContext,
     [Out] void *pfQop,
     [In, Out] ref SecBufferDesc pMessage,
     [In] uint messageSeqNo);
コード例 #3
0
 public static extern int DecryptMessage(
     [In] ref CtxtHandle phContext,
     [In, Out] ref SecBufferDesc pMessage,
     [In] uint messageSeqNo,
     [Out] out uint pfQop);
コード例 #4
0
 public unsafe static extern int QueryContextAttributesA(
     [In] ref CtxtHandle phContext,
     [In] uint ulAttribute,
     [Out] void *pBuffer);
コード例 #5
0
 public static extern int DeleteSecurityContext(
     [In] ref CtxtHandle phContext);
コード例 #6
0
 public SafeCtxtHandle(CtxtHandle ctxtHandle)
     : base(IntPtr.Zero, true)
 {
     this._Handle = ctxtHandle;
 }