Files
mbedtls/include
Andres Amaya Garcia 4bbe7d548d Parse ResponderID structure in OCSP response
Populate the function x509_ocsp_get_responder_id() with code that
parses the following X.509 structure:

   ResponderID ::= CHOICE {
      byName               [1] Name,
      byKey                [2] KeyHash }

   KeyHash ::= OCTET STRING -- SHA-1 hash of responder's public key
   (excluding the tag and length fields)

Note that here the name is parsed by the helper function
mbedtls_x509_get_name() and the KeyHash's bounds are checked but we
do not ensure that the hash is of the correct length.
2017-11-11 12:49:19 +00:00
..
2015-03-10 11:23:56 +00:00