int gnutls_certificate_set_openpgp_keyring_mem(
GNUTLS_CERTIFICATE_CREDENTIALS c,
- const opaque *data, size_t dlen );
+ const unsigned char *data, size_t dlen );
int gnutls_certificate_set_openpgp_keyring_file( GNUTLS_CERTIFICATE_CREDENTIALS res, const char *name);
*
* Verify all signatures in the certificate list. When the key
* is not available, the signature is skipped.
+ *
+ * When the trustdb parameter is used, the function checks the
+ * ownertrust of the key before the signatures are checked. It
+ * is possible that the key was disabled or the owner is not trusted
+ * at all. Then we don't check the signatures because it makes no sense.
+ *
* The return value is one of the CertificateStatus entries.
**/
int
-*/
int
gnutls_openpgp_add_keyring_mem(gnutls_datum *keyring,
- const char *data, size_t len)
+ const opaque *data, size_t len)
{
uint8 *blob;
size_t nbytes = 0;