Extended KeyResolver to handle CRLs.
[shibboleth/cpp-xmltooling.git] / xmltooling / security / XSECCryptoX509CRL.h
index 3a06261..4bca77b 100644 (file)
@@ -23,6 +23,8 @@
 #if !defined(__xmltooling_x509crl_h__) && !defined(XMLTOOLING_NO_XMLSEC)\r
 #define __xmltooling_x509crl_h__\r
 \r
+#include <xmltooling/base.h>\r
+\r
 #include <xsec/framework/XSECDefs.hpp>\r
 #include <xsec/utils/XSECSafeBuffer.hpp>\r
 \r
@@ -53,6 +55,13 @@ namespace xmltooling {
         * @param len number of bytes of data in the CRL buffer\r
         */\r
     \r
+        /**\r
+         * Returns a duplicate of the original object.\r
+         *\r
+         * @return  the duplicate\r
+         */\r
+        virtual XSECCryptoX509CRL* clone() const=0;\r
+\r
        virtual void loadX509CRLBase64Bin(const char* buf, unsigned int len)=0;\r
     \r
        /**\r