aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509store/x509stor.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-20 22:19:33 +0000
committerlloyd <[email protected]>2010-09-20 22:19:33 +0000
commit911c0f587ba21c944cb420f9953ffc5e2bac7fb2 (patch)
treefdb3c081fc4dc9ac12841759e866be6c83940e4a /src/cert/x509store/x509stor.h
parent7e0f39425ef8194ed9cc5b90943b5665a60ae437 (diff)
Remove searching with an arbitrary predicate from X509_Store
Diffstat (limited to 'src/cert/x509store/x509stor.h')
-rw-r--r--src/cert/x509store/x509stor.h11
1 files changed, 0 insertions, 11 deletions
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<X509_Certificate> get_certs(const Search_Func&) const;
std::vector<X509_Certificate> get_cert_chain(const X509_Certificate&);
std::string PEM_encode() const;