blob: 837a18032bd092f19370e9304064ee21794dc409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@deftypefun {int} {gnutls_pkcs12_bag_set_crt} (gnutls_pkcs12_bag_t @var{bag}, gnutls_x509_crt_t @var{crt})
@var{bag}: The bag
@var{crt}: the certificate to be copied.
This function will insert the given certificate into the
bag. This is just a wrapper over @code{gnutls_pkcs12_bag_set_data()} .
@strong{Returns:} the index of the added bag on success, or a negative
value on failure.
@end deftypefun
|