Gck.SessionInfo

Fields

Name

Type

Access

Description

device_error

int

r/w

The last device error that occurred from an operation on this session.

flags

int

r/w

Various PKCS11 flags.

slot_id

int

r/w

The handle of the PKCS11 slot that this session is opened on.

state

int

r/w

The user login state of the session.

Methods

copy ()

free ()

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:

Gck.SessionInfo

Make a new copy of a session info structure.

free()[source]

Free the Gck.SessionInfo structure and all associated memory.