+ FcpException fcpException = null;
+ for (FcpClient fcpClient : nodeClients.values()) {
+ try {
+ SSKKeypair sskKeypair = fcpClient.generateKeyPair();
+ return new String[] { sskKeypair.getInsertURI(), sskKeypair.getRequestURI() };
+ } catch (FcpException fcpe1) {
+ fcpException = fcpe1;
+ }
+ }
+ throw new JSiteException("Could not get SSK key pair from any node.", fcpException);