diff options
Diffstat (limited to 'doc/API')
-rw-r--r-- | doc/API | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |