code: public void setSslCertificate(String certificate, String privateKey,
                                    String dhParams) {
          th.set_ssl_certificate(certificate, privateKey, dhParams);
      }
docs: For SSL torrents, use this to specify a path to a .pem file to use as
  this client's certificate. The certificate must be signed by the
  certificate in the .torrent file to be valid.
  <p>
  Note that when a torrent first starts up, and it needs a certificate,
  it will suspend connecting to any peers until it has one. It's
  typically desirable to resume the torrent after setting the SSL
  certificate.
  <p>
  If you receive a {@link com.frostwire.jlibtorrent.alerts.TorrentNeedCertAlert},
  you need to call this to provide a valid cert. If you don't have a cert
  you won't be allowed to connect to any peers.
  
  @param certificate is a path to the (signed) certificate in .pem format
  corresponding to this torrent.
  @param privateKey  is a path to the private key for the specified
  certificate. This must be in .pem format.
  @param dhParams    is a path to the Diffie-Hellman parameter file, which
  needs to be in .pem format. You can generate this file using the
  openssl command like this: ``openssl dhparam -outform PEM -out
  dhparams.pem 512``.