Added rsa type to the key