code: void setSslCertificateBuffer(byte[] certificate, byte[] privateKey,
                                   byte[] dhParams) {
          byte_vector cert = Vectors.bytes2byte_vector(certificate);
          byte_vector pk = Vectors.bytes2byte_vector(privateKey);
          byte_vector dh = Vectors.bytes2byte_vector(dhParams);
          th.set_ssl_certificate_buffer2(cert, pk, dh);
      }
docs: This method is like {@link #setSslCertificate} but takes the actual
  certificate, private key and DH params as byte arrays, rather than paths
  to files.
  
  @param certificate buffer of the (signed) certificate in .pem format
  corresponding to this torrent.
  @param privateKey  buffer of the private key for the specified
  certificate. This must be in .pem format.
  @param dhParams    buffer of the Diffie-Hellman parameter file, which
  needs to be in .pem format.