RSA and PEM key format on ESP3

Hello, I am using ESP32 Dev Module, which supports MbedTLS. I have two questions:
1.Is there any way to import RSA keys from string(ideally from PEM format) to mbedtls_pk context?
2.How to encrypt with RSA private key and decrypt with RSA public key?


this would probably be better asked in the MbedTLS forum :slight_smile: