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 in tab:key-exchange-cred.

Key exchangeClient credentialsServer credentials
KX_RSA, KX_DHE_RSA, KX_DHE_DSS, KX_ECDHE_RSA, KX_ECDHE_ECDSA, KX_RSA_EXPORTCRD_CERTIFICATECRD_CERTIFICATE
KX_SRP_RSA, KX_SRP_DSSCRD_SRPCRD_CERTIFICATE
KX_SRPCRD_SRPCRD_SRP
KX_ANON_DH, KX_ANON_ECDHCRD_ANONCRD_ANON
KX_PSK, KX_DHE_PSK, KX_ECDHE_PSKCRD_PSKCRD_PSK

Table 4.2: Key exchange algorithms and the corresponding credential types.


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