Is there an alternative that prints more than mbedtls_x509_crt_info? Specifically, I’d like to see the public key.
HI @kgoldman
There isn’t much an alternative for mbedtls_x509_crt_info
, however, you can follow the sample application key_app
to see how to print the public key, wither in your custom verify function, or after,using the pk_context
member of your mbedtls_x509_crt
.
Regards,
Mbed TLS Team member
Ron