Validate RSA key input

The value for the 'rsaKey' field is now validated to make sure it is an
actual RSA key.

Change-Id: I7718c657670bfc89c910ac5f0cce55566d7792a9