Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkcs11/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def _enum(type_: type[IntEnum]) -> Handler:
Attribute.LOCAL: handle_bool,
Attribute.MODIFIABLE: handle_bool,
Attribute.COPYABLE: handle_bool,
Attribute.DESTROYABLE: handle_bool,
Attribute.MODULUS: handle_biginteger,
Attribute.MODULUS_BITS: handle_ulong,
Attribute.NEVER_EXTRACTABLE: handle_bool,
Expand Down
2 changes: 2 additions & 0 deletions pkcs11/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ class Attribute(IntEnum):
"""Object can be modified (:class:`bool`)."""
COPYABLE = 0x00000171
"""Object can be copied (:class:`bool`)."""
DESTROYABLE = 0x00000172
"""Object can be destroyed (:class:`bool`)."""

EC_PARAMS = 0x00000180
"""
Expand Down
Loading