diff options
Diffstat (limited to 'src/cert/ocsp/ocsp.h')
-rw-r--r-- | src/cert/ocsp/ocsp.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cert/ocsp/ocsp.h b/src/cert/ocsp/ocsp.h index f576ba41e..ad2d2cf81 100644 --- a/src/cert/ocsp/ocsp.h +++ b/src/cert/ocsp/ocsp.h @@ -9,6 +9,7 @@ #define BOTAN_OCSP_H__ #include <botan/ocsp_types.h> +#include <botan/certstor.h> namespace Botan { @@ -37,9 +38,11 @@ class BOTAN_DLL Request class BOTAN_DLL Response { public: - Response(const std::vector<byte>& response); + Response(const Certificate_Store& trusted_roots, + const std::vector<byte>& response); - bool affirmative_response_for(const Request&); + bool affirmative_response_for(const X509_Certificate& issuer, + const X509_Certificate& subject) const; private: std::vector<SingleResponse> m_responses; |