Метод setTrustedCertificatesBytes абстрактного класса
void setTrustedCertificatesBytes(Устанавливает набор доверенных X509-сертификатов, используемых клиентом SecureSocket при подключении к защищенному серверу.
Аналогично методу setTrustedCertificates, но принимает содержимое файла.
Исходный код
void setTrustedCertificatesBytes(List<int> certBytes, {String password});
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/SecurityContext/setTrustedCertificatesBytes.html