Description

If remote peer's SSL certificate should be verified.

Defaults to both peer and hostname verification (all true).

Since 1.19

Values

  • peer - If true, SSL certificate will be verified. If false, untrusted certificates (including self signed) will be accepted.
  • hostname - If true, in addition to SSL certificate validation the server name will be matched to certificate DNS entries

Signature

@property ssl_verify {
    get {
        values {
            peer: bool;
            hostname: bool;
        }
    }
    set {
        values {
            peer: bool;
            hostname: bool;
        }
    }
}

C signature

void efl_net_dialer_http_ssl_verify_get(const Eo *obj, Eina_Bool *peer, Eina_Bool *hostname);
void efl_net_dialer_http_ssl_verify_set(Eo *obj, Eina_Bool peer, Eina_Bool hostname);

Implemented by

  • Efl.Net.Dialer.Http.ssl_verify