Enums

Details

class Gck.BuilderFlags(value)

Bases: GObject.GEnum

Flags to be used with a [method`Builder`.init_full] and [ctor`Builder`.new].

NONE = 0

no special flags

SECURE_MEMORY = 1

use non-pageable memory for the values of the attributes

class Gck.Error(value)

Bases: GObject.GEnum

Various error codes. All the CKR_XXX error codes from PKCS#11 are also relevant error codes.

Note that errors are returned as [struct`GLib`.Error] structures. The code member of the error then contains the raw PKCS#11 CK_RV result value.

classmethod quark()[source]
Return type:

int

PROBLEM = -951891199

a result code that signifies there was a problem loading a PKCS#11 module, usually a shared library

class Gck.UriError(value)

Bases: GObject.GEnum

Various error codes used with PKCS#11 URIs

classmethod quark()[source]
Return type:

int

BAD_SCHEME = 1

invalid URI scheme

BAD_ENCODING = 2

bad URI encoding

BAD_SYNTAX = 3

bad URI syntax

BAD_VERSION = 4

bad URI version component

NOT_FOUND = 5

piece of the URI was not found