gnutls_pkcs12_bag_get_friendly_name — This function returns the friendly name of the bag element
#include <gnutls/pkcs12.h>
int
gnutls_pkcs12_bag_get_friendly_name( |
gnutls_pkcs12_bag_t | bag, |
int | indx, | |
char ** | name) ; |
The bag
The bag's element to add the id
will hold a pointer to the name (to be treated as const)
This function will return the friendly name, of the specified bag element. The key ID is usually used to distinguish the local private key and the certificate pair.
Returns 0 on success, or a negative value on error.