rustls_root_cert_store_add_pem

Add one or more certificates to the root cert store using PEM encoded data.

When strict is true an error will return a CertificateParseError result. So will an attempt to parse data that has zero certificates.

When strict is false, unparseable root certificates will be ignored. This may be useful on systems that have syntactically invalid root certificates.

extern (C)
rustls_root_cert_store_add_pem
(,
const ubyte* pem
,
size_t pem_len
,
bool strict
)

Meta