added passphrase param where needed. Fixed RSA struct creation when importing keypair from file