Gck.MechanismInfo¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
flags |
r/w |
Various PKCS11 flags that apply to this mechanism. |
|
max_key_size |
r/w |
The maximum key size that can be used with this mechanism. |
|
min_key_size |
r/w |
The minimum key size that can be used with this mechanism. |
Methods¶
|
|
|
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:
Make a copy of the mechanism info.
- free()[source]¶
Free the
Gck.MechanismInfo
and associated resources.