text. A DER encoded certificate
can be obtained from a PEM encoded certificate by using the openssl tool:</p>
<p>$ openssl x509 -outform der -in cert.pem -out cert.der</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">void setTrustedCertificates(String file, {String password});</code></pre>
    </section>

  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" clas