Gck.MechanismInfo

Fields

Name

Type

Access

Description

flags

int

r/w

Various PKCS11 flags that apply to this mechanism.

max_key_size

int

r/w

The maximum key size that can be used with this mechanism.

min_key_size

int

r/w

The minimum key size that can be used with this mechanism.

Methods

copy ()

free ()

Details

class Gck.MechanismInfo

Represents information about a PKCS11 mechanism.

This is analogous to a CK_MECHANISM_INFO structure.

When you’re done with this structure it should be released with Gck.MechanismInfo.free().

copy()[source]
Returns:

a newly allocated copy mechanism info

Return type:

Gck.MechanismInfo

Make a copy of the mechanism info.

free()[source]

Free the Gck.MechanismInfo and associated resources.