title: How to verify an apk's signature with openssl
body: <p>I write a python application to analyze apk files. To check the signature of the apk I run the following command:</p>
  
  <pre><code>jarsigner -verify &lt;path to apk&gt;
  </code></pre>
  
  <p>via subprocess.
  For performance reasons, I want to use openssl instead of jarsigner. </p>
  
  <p>Is there a way to do this like:</p>
  
  <pre><code>openssl verify &lt;path to apk&gt;
  </code></pre>
  
  <p>?</p>