[][src]Function libtls::config::default_ca_cert_file

pub fn default_ca_cert_file() -> PathBuf

Return path of the default CA file.

The default_ca_cert_file utility function returns the path of the file that contains the default root certificates.

Example

let certs = config::default_ca_cert_file();
assert!(certs.is_absolute());

See also

tls_default_ca_cert_file(3)