Credential resolver plugin
[shibboleth/cpp-xmltooling.git] / xmltooling / signature / KeyResolver.h
index 7d060c6..2c88250 100644 (file)
@@ -34,6 +34,7 @@ namespace xmlsignature {
      * An API for resolving keys.\r
      */\r
     class XMLTOOL_API KeyResolver {\r
+        MAKE_NONCOPYABLE(KeyResolver);\r
     public:\r
         /**\r
          * Constructor based on a single externally supplied key.\r
@@ -69,15 +70,6 @@ namespace xmlsignature {
             return m_key ? m_key->clone() : NULL;\r
         }\r
         \r
-        /**\r
-         * Creates a copy of the resolver.\r
-         * \r
-         * @return the cloned resolver\r
-         */\r
-        virtual KeyResolver* clone() const {\r
-            return new KeyResolver(m_key ? m_key->clone() : NULL);\r
-        }\r
-        \r
     protected:\r
         XSECCryptoKey* m_key;\r
     };\r