public byte[] getPublicKey(byte[] publicHash) throws UserNotFoundException {
PersistenceManager pm = pmfInstance.getPersistenceManager();
try {
return getUser(publicHash, pm).getPublicKey();
} catch (JDOObjectNotFoundException e) {
throw new UserNotFoundException();
} finally {
pm.close();
}
}