Debian Codegraph @

doc/functions/gnutls_pkcs12_bag_set_data

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pkcs12_bag_set_data} (gnutls_pkcs12_bag_t @var{bag}, gnutls_pkcs12_bag_type_t @var{type}, const gnutls_datum_t * @var{data})
6 @var{bag}: The bag
7
8 @var{type}: The data's type
9
10 @var{data}: the data to be copied.
11
12 This function will insert the given data of the given type into
13 the bag.
14
15 @strong{Returns:} the index of the added bag on success, or a negative
16 value on error.
17 @end deftypefun