title: Android - export single key/alias from keystore
body: <p>I have a single keystore (JKS) with a lot of key entries / aliases for different apps in it.
  Now one app will be moved to another developer and I want to export / extract the single key / alias for him. </p>
  
  <pre><code>&gt; keytool.exe -list -keystore Keystorefile
  
  Keystore-type: JKS
  Keystore-provider: SUN
  
  Keystore contains 6 entries
  
  Appname1, 01.07.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  Appname2, 29.05.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  Appname3, 30.09.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  Appname4, 18.02.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  Appname5, 09.08.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  Appname6, 11.02.20XX, PrivateKeyEntry,
  certificate-Fingerprint (SHA1): AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:Q
  Q:RR:SS:TT
  </code></pre>
  
  <p>This is the output of my Keystore, now I want to export only the Key for <code>Appname2</code>. That this can be imported in another Keystore if possible.</p>
  
  <p>Thanks!</p>