mbedTLS: HTTP Public Key Pinning
Posted: 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
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