Gck.ModuleInfo

Fields

Name

Type

Access

Description

flags

int

r/w

The module PKCS#11 flags.

library_description

str

r/w

The module description.

library_version_major

int

r/w

The major version of the library.

library_version_minor

int

r/w

The minor version of the library.

manufacturer_id

str

r/w

The module manufacturer.

pkcs11_version_major

int

r/w

The major version of the module.

pkcs11_version_minor

int

r/w

The minor version of the module.

Methods

copy ()

free ()

Details

class Gck.ModuleInfo

Holds information about the PKCS#11 module.

This structure corresponds to CK_MODULE_INFO in the PKCS#11 standard. The strings are None terminated for easier use.

Use Gck.ModuleInfo.free() to release this structure when done with it.

copy()[source]
Returns:

a newly allocated copy module info

Return type:

Gck.ModuleInfo

Make a copy of the module info.

free()[source]

Free a Gck.ModuleInfo structure.