Gck.SessionInfo¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
device_error |
r/w |
The last device error that occurred from an operation on this session. |
|
flags |
r/w |
Various PKCS11 flags. |
|
slot_id |
r/w |
The handle of the PKCS11 slot that this session is opened on. |
|
state |
r/w |
The user login state of the session. |
Methods¶
|
|
|
Details¶
- class Gck.SessionInfo¶
Information about the session. This is analogous to a CK_SESSION_INFO structure.
When done with this structure, release it using
Gck.SessionInfo.free
().- copy()[source]¶
- Returns:
a new copy of the session info
- Return type:
Make a new copy of a session info structure.
- free()[source]¶
Free the
Gck.SessionInfo
structure and all associated memory.