Test rsa key.