JS variable contains PDF or DOC File. How I can pass this file for user?
<p>jQuery. Inside:</p>

<pre><code>xxx.bind('submit',function() {
  ...
  oSignedData.Content - contains decrypted PDF, DOC, JPG or other file
}
</code></pre>

<p>How I can pass this file for user?</p>

<p>When I use <code>document.getElementById('invoice_encoded_data').value = oSignedData.Content</code>
resultant file is corrupted. 
Please, reply ASAP.</p>
