trustedCertificates property

List<CertificateBytes> trustedCertificates
final

PEM or DER encoded certificates to use as the TLS trust store for matching hosts.

These are loaded into a per-connection SecurityContext without platform trusted roots. This supports leaf, intermediate, or root certificate trust in the same style as Dart's SecurityContext.setTrustedCertificatesBytes. If this is configured with SPKI pins or exact leaf certificates, the custom trust store and the other configured checks must all pass.

Implementation

final List<CertificateBytes> trustedCertificates;