Adding getter and setter methods for RSA