AC_MSG_CHECKING([XML-Security version])
AC_PREPROC_IFELSE(
[AC_LANG_PROGRAM([#include <xsec/utils/XSECPlatformUtils.hpp>],
- [#if XSEC_VERSION_MAJOR > 1 || XSEC_VERSION_MEDIUM >2
+ [#if XSEC_VERSION_MAJOR > 1 || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM > 3) || (XSEC_VERSION_MAJOR == 1 && XSEC_VERSION_MEDIUM == 3 && XSEC_VERSION_MINOR > 0)
int i = 0;
#else
-#error need version 1.3 or later
+#error need version 1.3.1 or later
#endif])],
[AC_MSG_RESULT(OK)],
- [AC_MSG_FAILURE([XML-Security version 1.3 or greater is required.])])
+ [AC_MSG_FAILURE([XML-Security version 1.3.1 or greater is required.])])
AC_TRY_LINK(
[#include <xsec/utils/XSECPlatformUtils.hpp>],
[XSECPlatformUtils::Initialise()],,
#ifndef XMLTOOLING_NO_XMLSEC
marshallContent(targetElement,credential);
if (sigs) {
- for_each(sigs->begin(),sigs->end(),bind2nd(mem_fun1<void,Signature,const Credential*>(&Signature::sign),credential));
+ for_each(sigs->begin(),sigs->end(),bind2nd(mem_fun1_t<void,Signature,const Credential*>(&Signature::sign),credential));
}
#else
marshallContent(targetElement);
#define __xmltooling_keyres_h__
#include <xmltooling/security/Credential.h>
-#include <xmltooling/security/CredentialCriteria.h>
#include <xmltooling/security/KeyInfoCredentialContext.h>
#include <xsec/dsig/DSIGKeyInfoList.hpp>
namespace xmltooling {
+ class XMLTOOL_API CredentialCriteria;
+
/**
* Resolves credentials from KeyInfo information.
*