Flags

Details

class Gck.SessionOptions(value)

Bases: GObject.GFlags

Options for creating sessions.

READ_ONLY = 0

Open session as read only

READ_WRITE = 2

Open sessions as read/write

LOGIN_USER = 4

Login as user on new sessions

AUTHENTICATE = 8

Authenticate as necessary

class Gck.UriFlags(value)

Bases: GObject.GFlags

Which parts of the PKCS\#11 URI will be parsed or formatted. These can be combined.

WITH_VERSION = 16

the URI has specific version numbers for module and/or token

FOR_OBJECT = 2

the URI will be used to match objects.

FOR_TOKEN = 4

the URI will be used to match tokens.

FOR_ANY = 65535

parse all recognized components of the URI.

FOR_MODULE = 8

the URI will be used to match modules.