summaryrefslogtreecommitdiff
path: root/doc/API
diff options
context:
space:
mode:
Diffstat (limited to 'doc/API')
-rw-r--r--doc/API8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/API b/doc/API
index aefd0298ab..3b7c1a0ad9 100644
--- a/doc/API
+++ b/doc/API
@@ -93,6 +93,14 @@ void gnutls_set_cipher_priority( GNUTLS_STATE state, int num, ...);
not use that except for disabling algorithms that were not
specified.
+int gnutls_set_kx_cred( GNUTLS_STATE state, int kx, void* cred);
+ Sets the needed credentials for the specified (in kx) authentication
+ algorithm. Eg username, password - or public and private keys etc.
+ The (void* cred) parameter is a structure that depends on the
+ specified kx algorithm and on the current state (client or server).
+
+ In GNUTLS_KX_ANON cred should be NULL.
+
void gnutls_set_kx_priority( GNUTLS_STATE state, int num, ...);
like gnutls_set_cipher_priority, but for key exchange methods.