How to Convert RSA keys from .pem to .der and vice versa by using psa in nrf52840

Hello,

I am trying to convert .pem RSA keys which we are getting externally into .der and vice versa, because in "psa_import_key" function we can only use in keys .der format.

I am using ncs-2.6.0 version

Board: nrf52840

Please guide us how can I convert .pem to .der or directly use .pem keys?

Is there any library which we can directly use to convert it because we are using PSA??

Parents Reply Children
Related