Page 1 of 1

mbedtls_rsa_context to pem format

Posted: Thu Dec 26, 2019 11:06 am
by mrdebug
Hi, I have a mbedtls_rsa_context object that contains the private and public keys.
is there a way to obtain a string that the public key in pem (base64) format or in the standard base64 format, and not the subcomponents (N, P, Q, D, E, DP, DQ, QP)?
Regards.