Is there anything other than RSA that you can public-encrypt with? If yes, then this function should support that as well. If not, then there is no ambiguity.