| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
4. Authentication methods
The TLS protocol provides confidentiality and encryption, but also offers authentication, which is a prerequisite for a secure connection. The available authentication methods in GnuTLS are:
- Certificate authentication
- Anonymous authentication
- SRP authentication
- PSK authentication
The rule for each method is to allocate a credentials structure containing data required for authentication and associate that structure with the session using gnutls_credentials_set. In the next paragraphs we elaborate on supported authentication methods.
| 4.1 Certificate authentication | ||
| 4.2 Anonymous authentication | ||
| 4.3 Authentication using SRP | ||
| 4.4 Authentication using PSK | ||
| 4.5 Authentication and credentials | ||
| 4.6 Parameters stored in credentials |
