Moved key/cred resolution classes out of xmlsig namespace.
[shibboleth/cpp-xmltooling.git] / xmltooling / security / impl / KeyResolver.cpp
similarity index 96%
rename from xmltooling/signature/impl/KeyResolver.cpp
rename to xmltooling/security/impl/KeyResolver.cpp
index 6734672..c319b78 100644 (file)
  */
 
 #include "internal.h"
-#include "signature/KeyResolver.h"
+#include "security/KeyResolver.h"
 #include "signature/Signature.h"
 
 using namespace xmlsignature;
 using namespace xmltooling;
 using namespace std;
 
-namespace xmlsignature {
+namespace xmltooling {
     XMLTOOL_DLLLOCAL PluginManager<KeyResolver,const DOMElement*>::Factory FilesystemKeyResolverFactory;
     XMLTOOL_DLLLOCAL PluginManager<KeyResolver,const DOMElement*>::Factory InlineKeyResolverFactory;
 };
 
-void XMLTOOL_API xmlsignature::registerKeyResolvers()
+void XMLTOOL_API xmltooling::registerKeyResolvers()
 {
     XMLToolingConfig& conf=XMLToolingConfig::getConfig();
     conf.KeyResolverManager.registerFactory(FILESYSTEM_KEY_RESOLVER, FilesystemKeyResolverFactory);