> On Dec 2, 2021, at 03:34, Manuel Pegourie-Gonnard <Manuel.Pegourie-Gonnard@arm.com> wrote:
>
> Hi Felipe,
>
> I don't think that's possible with Mbed TLS 3.0, but it was possible with Mbed TLS 2.x and will be possible again in Mbed TLS 3.1: you can access the DER representation of the certificate from the raw field of the mbedtls_x509_crt structure. A simple call
to memcpy() should to the trick.
Yeah, I’m seeing this.
Is there a plan for the next mbedTLS release that might incorporate changes like this? If so, where might I read about that?
I’d like to use a production release; as an interim I can bring in private_access.h and hack my way in, but it’d be nice, of course, not to do that.
Thank you!
-FG