return (SshPublicKey) loadedPublicKeys.get(username);
String filename = username + ".pub";
if(store.hasEntry(filename)) {
SshPublicKeyFile f = SshPublicKeyFile.parse(store.getEntryInputStream(filename));
SshPublicKey pk = f.toPublicKey();
loadedPublicKeys.put(username, pk);
return pk;
}
else
throw new IOException("User does not have a key in the repository!");