# define XMLTOOLING_XMLSEC_ECC 1
# define XMLTOOLING_XMLSEC_DEBUGLOGGING 1
# endif
+# if (_XSEC_VERSION_FULL >= 10700)
+# define XMLTOOLING_XMLSEC_OAEP11 1
+# endif
#endif
/* Define to empty if `const' does not conform to ANSI C. */
[AC_MSG_RESULT([yes])AC_DEFINE([XMLTOOLING_XMLSEC_C14N11],[1],[Define to 1 if XML-Security-C includes C14N 1.1 support.])],
[AC_MSG_RESULT([no])])
+ AC_MSG_CHECKING([whether XML-Security-C includes MGF-pluggable RSA-OAEP support])
+ AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM([[#include <xsec/dsig/DSIGConstants.hpp>]],
+ [[encryptionMethod em = ENCRYPT_RSA_OAEP;]])],
+ [AC_MSG_RESULT([yes])AC_DEFINE([XMLTOOLING_XMLSEC_OAEP11],[1],[Define to 1 if XML-Security-C includes MGF-pluggable RSA-OAEP support.])],
+ [AC_MSG_RESULT([no])])
+
AC_MSG_CHECKING([whether XML-Security-C includes debug logging support])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([[#include <xsec/utils/XSECPlatformUtils.hpp>]],
registerXMLAlgorithm(DSIGConstants::s_unicodeStrURIRSA_1_5, "RSA", 0, ALGTYPE_KEYENCRYPT);
registerXMLAlgorithm(DSIGConstants::s_unicodeStrURIRSA_OAEP_MGFP1, "RSA", 0, ALGTYPE_KEYENCRYPT);
+#ifdef XMLTOOLING_XSEC_OAEP11
+ registerXMLAlgorithm(DSIGConstants::s_unicodeStrURIRSA_OAEP, "RSA", 0, ALGTYPE_KEYENCRYPT);
+#endif
registerXMLAlgorithm(DSIGConstants::s_unicodeStrURI3DES_CBC, "DESede", 192, ALGTYPE_ENCRYPT);
registerXMLAlgorithm(DSIGConstants::s_unicodeStrURIKW_3DES, "DESede", 192, ALGTYPE_KEYENCRYPT);
/* Define to 1 if you have the `xsecsize_t' type. */
#undef HAVE_XSECSIZE_T
+
+/* Define to 1 if XML-Security-C includes MGF-pluggable RSA-OAEP support. */
+#undef XMLTOOLING_XMLSEC_OAEP11
/* Define to 1 if you have the `xsecsize_t' type. */
#define HAVE_XSECSIZE_T 1
+
+#ifndef XMLTOOLING_NO_XMLSEC
+# include <xsec/framework/XSECDefs.hpp>
+# if (_XSEC_VERSION_FULL >= 10500)
+# define XMLTOOLING_XMLSEC_C14N11 1
+# endif
+# if (_XSEC_VERSION_FULL >= 10600)
+# define XMLTOOLING_XMLSEC_MULTIPLECRL 1
+# define XMLTOOLING_XMLSEC_SIGALGORITHM 1
+# define XMLTOOLING_XMLSEC_ECC 1
+# define XMLTOOLING_XMLSEC_DEBUGLOGGING 1
+# endif
+# if (_XSEC_VERSION_FULL >= 10700)
+# define XMLTOOLING_XMLSEC_OAEP11 1
+# endif
+#endif
+