From 911c0f587ba21c944cb420f9953ffc5e2bac7fb2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 20 Sep 2010 22:19:33 +0000 Subject: Remove searching with an arbitrary predicate from X509_Store --- src/cert/x509store/x509stor.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/cert/x509store/x509stor.h') diff --git a/src/cert/x509store/x509stor.h b/src/cert/x509store/x509stor.h index c5445f808..186c59b4b 100644 --- a/src/cert/x509store/x509stor.h +++ b/src/cert/x509store/x509stor.h @@ -48,16 +48,6 @@ enum X509_Code { class BOTAN_DLL X509_Store { public: - /** - * A callback for searching the store - */ - class BOTAN_DLL Search_Func - { - public: - virtual bool match(const X509_Certificate&) const = 0; - virtual ~Search_Func() {} - }; - enum Cert_Usage { ANY = 0x00, TLS_SERVER = 0x01, @@ -70,7 +60,6 @@ class BOTAN_DLL X509_Store X509_Code validate_cert(const X509_Certificate&, Cert_Usage = ANY); - std::vector get_certs(const Search_Func&) const; std::vector get_cert_chain(const X509_Certificate&); std::string PEM_encode() const; -- cgit v1.2.3