projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f1c4cb
)
Pass KeyResolver into PKIX layer.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 27 Dec 2006 21:15:56 +0000
(21:15 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 27 Dec 2006 21:15:56 +0000
(21:15 +0000)
samltest/security/AbstractPKIXTrustEngineTest.h
patch
|
blob
|
history
diff --git
a/samltest/security/AbstractPKIXTrustEngineTest.h
b/samltest/security/AbstractPKIXTrustEngineTest.h
index
422bf94
..
67f4ffb
100644
(file)
--- a/
samltest/security/AbstractPKIXTrustEngineTest.h
+++ b/
samltest/security/AbstractPKIXTrustEngineTest.h
@@
-36,7
+36,8
@@
namespace {
KeyResolver* m_resolver;
bool m_done;
public:
KeyResolver* m_resolver;
bool m_done;
public:
- SampleIterator() : m_resolver(NULL), m_done(false) {
+ SampleIterator(const KeyResolver& keyResolver)
+ : PKIXValidationInfoIterator(keyResolver), m_resolver(NULL), m_done(false) {
string config = data_path + "security/FilesystemKeyResolver.xml";
ifstream in(config.c_str());
DOMDocument* doc=XMLToolingConfig::getConfig().getParser().parse(in);
string config = data_path + "security/FilesystemKeyResolver.xml";
ifstream in(config.c_str());
DOMDocument* doc=XMLToolingConfig::getConfig().getParser().parse(in);
@@
-71,9
+72,12
@@
namespace {
}
};
}
};
- PKIXValidationInfoIterator* getPKIXValidationInfoIterator(const KeyInfoSource& keyInfoSource) const {
+ PKIXValidationInfoIterator* getPKIXValidationInfoIterator(
+ const KeyInfoSource& keyInfoSource,
+ const KeyResolver& keyResolver
+ ) const {
dynamic_cast<const RoleDescriptor&>(keyInfoSource);
dynamic_cast<const RoleDescriptor&>(keyInfoSource);
- return new SampleIterator();
+ return new SampleIterator(
keyResolver
);
}
};
};
}
};
};