mbedTLS: HTTP Public Key Pinning

MalteJ
Posts: 62
Joined: Wed Sep 21, 2016 10:26 pm

mbedTLS: HTTP Public Key Pinning

Postby MalteJ » Mon Feb 06, 2017 11:33 am

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

WiFive
Posts: 2692
Joined: Tue Dec 01, 2015 7:35 am

Re: mbedTLS: HTTP Public Key Pinning

Postby WiFive » Mon Feb 06, 2017 12:09 pm


Who is online

Users browsing this forum: Baidu [Spider] and 17 guests