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