Gck.SessionInfo
Description: Reference for Gck.SessionInfo

### Struct

# GckSessionInfo

#### Description [src]

    struct GckSessionInfo {
      gulong slot_id;
      gulong state;
      gulong flags;
      gulong device_error;
    }

Information about the session. This is analogous to a CK_SESSION_INFO structure.

When done with this structure, release it using gck_session_info_free().

###### Structure members

`slot_id:` `gulong`

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

`state:` `gulong`

  The user login state of the session.

`flags:` `gulong`

  Various PKCS11 flags.

`device_error:` `gulong`

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

#### Instance methods

###### gck_session_info_copy

Make a new copy of a session info structure.

###### gck_session_info_free

Free the GckSessionInfo structure and all associated memory.