ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
PyWin32 Documentation
Win32 API
Objects
COMMTIMEOUTS
CopyProgressRoutine
DOCINFO
Dialog Header Tuple
Dialog Item Tuple
ExportCallback
FORM INFO 1
ImportCallback
LARGE INTEGER
NCB
NETRESOURCE
PRINTER DEFAULTS
PyACL
PyBITMAP
PyCEHANDLE
PyCOMSTAT
PyCOORD
PyCREDENTIAL
PyCREDENTIAL ATTRIBUTE
PyCREDENTIAL TARGET INFORMATION
PyCREDUI INFO
PyCRYPTPROTECT PROMPTSTRUCT
PyConsoleScreenBuffer
PyCredHandle
PyCtxtHandle
PyDCB
PyDEVMODE
PyDISPLAY DEVICE
PyDS HANDLE
PyDS NAME RESULT ITEM
PyEventLogRecord
PyGROUP INFO *
PyGROUP INFO 0
PyGROUP INFO 1
PyGROUP INFO 1002
PyGROUP INFO 1005
PyGROUP INFO 2
PyGROUP USERS INFO *
PyGROUP USERS INFO 0
PyGROUP USERS INFO 1
PyHANDLE
PyHDESK
PyHHNTRACK
PyHHN NOTIFY
PyHH AKLINK
PyHH FTS QUERY
PyHH POPUP
PyHH WINTYPE
PyHINTERNET
PyHKEY
PyHTHEME
PyHWINSTA
PyIID
PyINPUT RECORD
PyLOCALGROUP INFO *
PyLOCALGROUP INFO 0
PyLOCALGROUP INFO 1
PyLOCALGROUP INFO 1002
PyLOCALGROUP MEMBERS INFO *
PyLOCALGROUP MEMBERS INFO 0
PyLOCALGROUP MEMBERS INFO 1
PyLOCALGROUP MEMBERS INFO 2
PyLOCALGROUP MEMBERS INFO 3
PyLOGFONT
PyLSA HANDLE
PyLUID AND ATTRIBUTES
PyLsaLogon HANDLE
PyNMHDR
PyOVERLAPPED
PyOVERLAPPEDReadBuffer
PyPERF COUNTER DEFINITION
PyPERF OBJECT TYPE
PyPOINT
PyPROFILEINFO
PyPerfMonManager
PyRECT
PySCROLLINFO
PySECURITY ATTRIBUTES
PySECURITY DESCRIPTOR
PySERVER INFO *
PySERVER INFO 100
PySERVER INFO 101
PySERVER INFO 102
PySERVER INFO 402
PySERVER INFO 403
PySERVER INFO 502
PySERVER INFO 503
PySHARE INFO *
PySHARE INFO 0
PySHARE INFO 1
PySHARE INFO 2
PySHARE INFO 501
PySHARE INFO 502
PySID
PySID AND ATTRIBUTES
PySMALL RECT
PySTARTUPINFO
PySecBuffer
PySecBufferDesc
PyTOKEN GROUPS
PyTOKEN PRIVILEGES
PyTRUSTEE
PyTS HANDLE
PyTime
PyUSER INFO *
PyUSER INFO 0
PyUSER INFO 1
PyUSER INFO 10
PyUSER INFO 1003
PyUSER INFO 1005
PyUSER INFO 1006
PyUSER INFO 1007
PyUSER INFO 1008
PyUSER INFO 1009
PyUSER INFO 1010
PyUSER INFO 1011
PyUSER INFO 11
PyUSER INFO 2
PyUSER INFO 20
PyUSER INFO 3
PyUSER INFO 4
PyUSER MODALS INFO *
PyUSER MODALS INFO 0
PyUSER MODALS INFO 1
PyUSER MODALS INFO 2
PyUSER MODALS INFO 3
PyUSE INFO *
PyUSE INFO 0
PyUSE INFO 1
PyUSE INFO 2
PyUSE INFO 3
PyUnicode
PyWAVEFORMATEX
PyWKSTA INFO *
PyWKSTA INFO 100
PyWKSTA INFO 101
PyWKSTA INFO 102
PyWKSTA INFO 302
PyWKSTA INFO 402
PyWKSTA INFO 502
PyWKSTA TRANSPORT INFO *
PyWKSTA TRANSPORT INFO 0
PyWKSTA USER INFO *
PyWKSTA USER INFO 0
PyWKSTA USER INFO 1
PyWNDCLASS
RASDIALEXTENSIONS
RASDIALPARAMS
SC ACTION
SERVICE FAILURE ACTIONS
SERVICE STATUS
TRACKMOUSEEVENT
ULARGE INTEGER
WIN32 FIND DATA
connection
cursor

MyASPN >> Reference >> ActivePython 2.4 >> PyWin32 Documentation >> Win32 API >> Objects
ActivePython 2.4 documentation

PyCtxtHandle Object

Security context handle, as used with sspi functions

Comments

Create using win32security.PyCtxtHandleType(). The handle must be initialized by passing it to win32security::InitializeSecurityContext or win32security::AcceptSecurityContext

Methods

Detach
Disassociates object from handle and returns integer value of handle 

CompleteAuthToken
Completes the authentication token 

QueryContextAttributes
Retrieves info about a security context 

DeleteSecurityContext
Frees the security context and invalidates the handle 

QuerySecurityContextToken
Returns the access token for a security context 

MakeSignature
Generates a signature for a message 

VerifySignature
Verifies a signature created using PyCtxtHandle::MakeSignature 

EncryptMessage
Encrypts data with security context's session key 

DecryptMessage
Decrypts data encrypted by PyCtxtHandle::EncryptMessage 

ImpersonateSecurityContext
Causes a server to act in the security context of an authenticated client 

RevertSecurityContext
Stops impersonation of a client initiated by PyCtxtHandle::ImpersonateSecurityContext 


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved