Blame doc/functions/gnutls_pkcs12_bag_set_key_id
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs12_bag_set_key_id} (gnutls_pkcs12_bag_t @var{bag}, unsigned @var{indx}, const gnutls_datum_t * @var{id})
|
|
Packit Service |
4684c1 |
@var{bag}: The bag
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{indx}: The bag's element to add the id
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{id}: the ID
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will add the given key ID, to the specified, by the
|
|
Packit Service |
4684c1 |
index, bag element. The key ID will be encoded as a 'Local key
|
|
Packit Service |
4684c1 |
identifier' bag attribute, which is usually used to distinguish
|
|
Packit Service |
4684c1 |
the local private key and the certificate pair.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value. or a negative error code on error.
|
|
Packit Service |
4684c1 |
@end deftypefun
|