* entity certificate (e.g., also an intermediate CA cert) then put
* the certificate chain in @cert_list.
*
+ * Note that the certificates and keys provided, can be safely deinitialized
+ * after this function is called.
+ *
* Returns: %GNUTLS_E_SUCCESS (0) on success, or a negative error code.
*
* Since: 2.4.0
*
* This function will convert the given PEM encoded certificate list
* to the native gnutls_x509_crt_t format. The output will be stored
- * in @certs which will be initialized.
+ * in @certs which will allocated and initialized.
*
* If the Certificate is PEM encoded it should have a header of "X509
* CERTIFICATE", or "CERTIFICATE".
*
+ * To deinitialize @certs, you need to deinitialize each crt structure
+ * independently, and use gnutls_free() at
+ *
* Returns: the number of certificates read or a negative error value.
*
* Since: 3.0