diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-11 14:49:04 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-11 16:12:30 +0100 |
commit | 6199c2271d843e48737557c9c1f6f867ddc4d104 (patch) | |
tree | 6ab2d0677ee81d0077501750e90e2939bebdad0f /lib/pkcs11_int.h | |
parent | 58d7dde8a8a6fce1a8aa9aeb29f2247212fe5acd (diff) | |
download | gnutls-6199c2271d843e48737557c9c1f6f867ddc4d104.tar.gz |
added gnutls_pkcs11_obj_set_info()
This function allows setting information such as the CKA_ID
and the CKA_LABEL of an object.
Resolves #1
Diffstat (limited to 'lib/pkcs11_int.h')
-rw-r--r-- | lib/pkcs11_int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/pkcs11_int.h b/lib/pkcs11_int.h index 7cec42bd8a..1ba8215710 100644 --- a/lib/pkcs11_int.h +++ b/lib/pkcs11_int.h @@ -237,6 +237,13 @@ ck_rv_t pkcs11_find_objects_final(struct pkcs11_session_info *); ck_rv_t pkcs11_close_session(struct pkcs11_session_info *); ck_rv_t +pkcs11_set_attribute_value(struct ck_function_list * module, + ck_session_handle_t sess, + ck_object_handle_t object, + struct ck_attribute * templ, + unsigned long count); + +ck_rv_t pkcs11_get_attribute_value(struct ck_function_list *module, ck_session_handle_t sess, ck_object_handle_t object, |