(int, long, int) = AcceptSecurityContext(Credential, Context
, pInput
, ContextReq
, TargetDataRep
, NewContext
, pOutput
)
Builds security context between server and client
Parameters
Credential : PyCredHandle
Handle to server's credentials (see AcquireCredentialsHandle)Context : PyCtxtHandle
Use None on initial call, then handle returned in NewContext thereafterpInput : PySecBufferDesc
Data buffer received from clientContextReq : int
Combination of ASC_REQ_* flagsTargetDataRep : int
One of SECURITY_NATIVE_DREP,SECURITY_NETWORK_DREPNewContext : PyCtxtHandle
Uninitialized context handle to receive outputpOutput : PySecBufferDesc
Buffer that receives output data, to be passed back as pInput on subsequent callsReturn Value
Returns a tuple of (return code, context attributes, context expiration time)