iPhone SDK and public key
I'm trying to generate RSA/DSA public/private key pair on iPhone device, is that possible? I need to get public key to send as mail or display user.
I need this functionality for remote server login with public/private keypair. On mac system, key is stored in ~/.ssh/id_rsa.pub and ~/.ssh/id_rsa so where on iPhone it's being sotred. I need to use libssh2_userauth_publickey_fromfile() to establish server connection from my iPhone. But i need to send file path in the function.
Please let me know if any suggestion.
|