Added RsaAes trait for api controller