diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-07 10:54:02 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-07 13:32:55 +0200 |
commit | f633f0b5f9dd144226c3d53a115d9a8bea17f845 (patch) | |
tree | ad318537f6f4f387fdb663e7c4dc7d7fb75b49ce /lib/pkcs11_int.h | |
parent | d4be364b6186c2b1c612866964c0e00ab14baece (diff) | |
download | gnutls-f633f0b5f9dd144226c3d53a115d9a8bea17f845.tar.gz |
pkcs11: added new functions to query the object's flags
gnutls_pkcs11_obj_get_flags() allows obtaining an object's flags,
and gnutls_pkcs11_flags_get_str() allows printing them.
Diffstat (limited to 'lib/pkcs11_int.h')
-rw-r--r-- | lib/pkcs11_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pkcs11_int.h b/lib/pkcs11_int.h index 0821009932..bbd4cf2116 100644 --- a/lib/pkcs11_int.h +++ b/lib/pkcs11_int.h @@ -51,6 +51,7 @@ struct token_info { struct gnutls_pkcs11_obj_st { gnutls_datum_t raw; gnutls_pkcs11_obj_type_t type; + unsigned int flags; struct p11_kit_uri *info; /* only when pubkey */ |