*/
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.
*
filter, NULL, NULL);
}
+METHOD(ocsp_response_t, get_ocsp_status, ocsp_status_t,
+ private_x509_ocsp_response_t *this)
+{
+ return this->ocsp_status;
+}
+
METHOD(ocsp_response_t, get_nonce, chunk_t,
private_x509_ocsp_response_t *this)
{
.get_ref = _get_ref,
.destroy = _destroy,
},
+ .get_ocsp_status = _get_ocsp_status,
.get_nonce = _get_nonce,
.get_status = _get_status,
.create_cert_enumerator = _create_cert_enumerator,