pki.setTransId(Long.toString(randomNumber));
pki.setMerchant(merchantUserName);
pki.setAmountInvolved(amountToTransfer);
pki.setTransDetail("Transfer From Individual " + sourceExternalAccount.getUsername());
//get a blob out of the keypair
Blob blob = pkiBO.createKeyBlob(keyPair);
//UPDATING THE ENTRY IN DATABASE
pki.setCert(blob);
pkiBO.save(pki);