/** Returns the first user ID on the key that matches the given network. */
 public String getUserId() {
   PGPPublicKey key = mAuthKey.getPublicKey();
   Iterator<?> uidIt = key.getUserIDs();
   if (!uidIt.hasNext()) throw new IllegalStateException("no UID in personal key");
   return (String) uidIt.next();
 }
 public String getFingerprint() {
   return EncodingUtils.bytesToHex(mAuthKey.getPublicKey().getFingerprint());
 }
 PGPPublicKey getPublicEncryptionKey() {
   return mEncryptKey.getPublicKey();
 }