manpagez: man pages & more
info gnutls
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.5 Authentication and Credentials

In GnuTLS every key exchange method is associated with a credentials type. So in order to enable to enable a specific method, the corresponding credentials type should be initialized and set using gnutls_credentials_set. A mapping is shown below.

Key exchange algorithms and the corresponding credential types:

Key exchangeClient credentialsServer credentials
KX_RSA
KX_DHE_RSA
KX_DHE_DSS
KX_RSA_EXPORTCRD_CERTIFICATECRD_CERTIFICATE
KX_SRP_RSACRD_SRPCRD_SRP
KX_SRP_DSSCRD_CERTIFICATE
KX_SRPCRD_SRPCRD_SRP
KX_ANON_DHCRD_ANONCRD_ANON
KX_PSKCRD_PSKCRD_PSK

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.