Page 1 of 1

mbedTLS: HTTP Public Key Pinning

Posted: Mon Feb 06, 2017 11:33 am
by MalteJ
Hi,

I am trying to implement HTTP Public Key Pinning (HPKP) using mbedTLS. The TLS connection is set up, handshake is done and I have the peer's x509 certificate as an mbedtls_x509_crt struct. Now I am stuck. How do I access the subjectPublicKeyInfo that I need to hash?

Thank you!

Best,
Malte

Re: mbedTLS: HTTP Public Key Pinning

Posted: Mon Feb 06, 2017 12:09 pm
by WiFive