You must either decrypt using the private key, or verify the signature with the public key and use the appropriate methods to do this. It is not clear from your question whether you are performing encryption or signatures.
If you try to "decrypt the encrypted RSA message", then it is completely unclear what you want to do and what the library that you use is using. Gaskets that are used for encryption and digital signatures are different for RSA. Therefore, if you call the wrong methods, then at best you will get an error message, and at worst you will get an unsafe circuit.
source share