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);
public SafeCtxtHandle(CtxtHandle ctxtHandle) : base(IntPtr.Zero, true) { this.Handle = ctxtHandle; }
public unsafe static extern int EncryptMessage( [In] ref CtxtHandle phContext, [Out] void *pfQOP, [In, Out] ref SecBufferDesc pMessage, [In] uint MessageSeqNo);
public static extern int DecryptMessage( [In] ref CtxtHandle phContext, [In, Out] ref SecBufferDesc pMessage, [In] uint MessageSeqNo, [Out] out uint pfQOP);
public static extern int VerifySignature( [In] ref CtxtHandle phContext, [In] ref SecBufferDesc pMessage, [In] int MessageSeqNo, [Out] out int pfQOP);
public static extern int MakeSignature( [In] ref CtxtHandle phContext, [In] int fQOP, [In, Out] ref SecBufferDesc pMessage, [In] int MessageSeqNo);
public unsafe static extern int QueryContextAttributesA( [In] ref CtxtHandle phContext, [In] uint ulAttribute, [Out] void *pBuffer);
public static extern int DeleteSecurityContext( [In] ref CtxtHandle phContext);
public static unsafe extern int DecryptMessage([In] ref CtxtHandle phContext, [In] [Out] ref SecBufferDesc pMessage, [In] uint MessageSeqNo, [Out] void* pfQOP);