There was an error while loading. Please reload this page.
1 parent 0af82a3 commit 4343ffbCopy full SHA for 4343ffb
2 files changed
pkcs11/attributes.py
@@ -68,6 +68,7 @@ def _enum(type_: type[IntEnum]) -> Handler:
68
Attribute.LOCAL: handle_bool,
69
Attribute.MODIFIABLE: handle_bool,
70
Attribute.COPYABLE: handle_bool,
71
+ Attribute.DESTROYABLE: handle_bool,
72
Attribute.MODULUS: handle_biginteger,
73
Attribute.MODULUS_BITS: handle_ulong,
74
Attribute.NEVER_EXTRACTABLE: handle_bool,
pkcs11/constants.py
@@ -265,6 +265,8 @@ class Attribute(IntEnum):
265
"""Object can be modified (:class:`bool`)."""
266
COPYABLE = 0x00000171
267
"""Object can be copied (:class:`bool`)."""
268
+ DESTROYABLE = 0x00000172
269
+ """Object can be destroyed (:class:`bool`)."""
270
271
EC_PARAMS = 0x00000180
272
"""
0 commit comments