x509: Add getter for status of OCSP responses

This commit is contained in:
Tobias Brunner
2023-11-24 17:41:18 +01:00
parent e7a58f46f9
commit b3e66aca5c
2 changed files with 14 additions and 0 deletions
@@ -56,6 +56,13 @@ struct ocsp_response_t {
*/
certificate_t certificate;
/**
* Get general status of this OCSP response.
*
* @return OCSP status
*/
ocsp_status_t (*get_ocsp_status)(ocsp_response_t *this);
/**
* Get the nonce received with this OCSP response.
*