NULL, format);
}
-
/**
* gnutls_certificate_set_openpgp_key_file:
* @res: the destination context to save the data.
return ret;
}
-
/**
* gnutls_certificate_set_openpgp_key_file2:
* @res: the destination context to save the data.
return nuids;
}
-
/**
* gnutls_certificate_set_openpgp_keyring_file:
* @c: A certificate credentials structure
}
-
/**
* gnutls_openpgp_privkey_sign_hash:
* @key: Holds the key
* @signature: will contain newly allocated signature
*
* This function will sign the given hash using the private key. You
- * should use gnutls_openpgp_privkey_set_subkey() before calling this
- * function to set the subkey to use.
+ * should use gnutls_openpgp_privkey_set_preferred_key_id() before
+ * calling this function to set the subkey to use.
*
* Returns: On success, %GNUTLS_E_SUCCESS is returned, otherwise a
* negative error value.