Delta Chat Core C Interface
Loading...
Searching...
No Matches
Macros
DC_CERTCK

Macros

#define DC_CERTCK_ACCEPT_INVALID   2
 Accept certificates that are expired, self-signed or not valid for the server hostname.
 
#define DC_CERTCK_ACCEPT_INVALID_CERTIFICATES   3
 For API compatibility only: Treat this as DC_CERTCK_ACCEPT_INVALID on reading.
 
#define DC_CERTCK_AUTO   0
 Configure certificate checks automatically.
 
#define DC_CERTCK_STRICT   1
 Strictly check TLS certificates; requires that both the certificate and the hostname are valid.
 

Detailed Description

These constants configure TLS certificate checks for IMAP and SMTP connections.

These constants are set via dc_set_config() using keys "imap_certificate_checks" and "smtp_certificate_checks".

Macro Definition Documentation

◆ DC_CERTCK_ACCEPT_INVALID_CERTIFICATES

#define DC_CERTCK_ACCEPT_INVALID_CERTIFICATES   3

For API compatibility only: Treat this as DC_CERTCK_ACCEPT_INVALID on reading.

Must not be written.