Skip to content

Commit 6155317

Browse files
Dmitry SmirnovMatthiasValvekens
authored andcommitted
Expand ATTRIBUTE_TYPES for GOSTR support.
Changes to be committed: modified: pkcs11/attributes.py
1 parent 5a258d7 commit 6155317

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkcs11/attributes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def _enum(type_):
8989
Attribute.VERIFY_RECOVER: handle_bool,
9090
Attribute.WRAP: handle_bool,
9191
Attribute.WRAP_WITH_TRUSTED: handle_bool,
92+
Attribute.GOSTR3410_PARAMS: handle_bytes,
93+
Attribute.GOSTR3411_PARAMS: handle_bytes,
9294
}
9395
"""
9496
Map of attributes to (serialize, deserialize) functions.

0 commit comments

Comments
 (0)