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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user