parsing rsa keys