W3cubDocs

/Dart 2

setTrustedCertificatesBytes method

void setTrustedCertificatesBytes (List<int> certBytes, { String password })

Sets the set of trusted X509 certificates used by SecureSocket client connections, when connecting to a secure server.

Like setTrustedCertificates but takes the contents of the file.

Implementation

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/2.0.0/dart-io/SecurityContext/setTrustedCertificatesBytes.html