library: Add manager for OCSP responders

Registered OCSP responders should return VALIDATION_SKIPPED for issuer
certificates they are not responsible for. However, VALIDATION_FAILED is
currently treated the same way, so that's fine as well.
This commit is contained in:
Tobias Brunner
2023-11-13 12:45:54 +01:00
parent 3197523bd5
commit dab7c893a6
7 changed files with 214 additions and 8 deletions
+6
View File
@@ -113,6 +113,7 @@
#include "credentials/credential_factory.h"
#include "credentials/credential_manager.h"
#include "credentials/cred_encoding.h"
#include "credentials/ocsp_responders.h"
#include "metadata/metadata_factory.h"
#include "utils/chunk.h"
#include "utils/capabilities.h"
@@ -191,6 +192,11 @@ struct library_t {
*/
cred_encoding_t *encoding;
/**
* Manager for OCSP responders
*/
ocsp_responders_t *ocsp;
/**
* Registry and factory for metadata creation
*/