1 parent e71c2f3 commit 0c89f03Copy full SHA for 0c89f03
2 files changed
pkcs11/constants.py
@@ -85,6 +85,8 @@ class Attribute(IntEnum):
85
"""
86
LABEL = 0x00000003
87
"""Object label (:class:`str`)."""
88
+ UNIQUE_ID = 0x00000004
89
+ """Unique identifier (:class:`str`)."""
90
APPLICATION = 0x00000010
91
VALUE = 0x00000011
92
pkcs11/defaults.py
@@ -182,6 +182,7 @@ def _enum(type_):
182
Attribute.SUBPRIME_BITS: _ulong,
183
Attribute.TOKEN: _bool,
184
Attribute.TRUSTED: _bool,
185
+ Attribute.UNIQUE_ID: _str,
186
Attribute.UNWRAP: _bool,
187
Attribute.URL: _str,
188
Attribute.VALUE: _biginteger,
0 commit comments