pax_global_header00006660000000000000000000000064151717271500014520gustar00rootroot0000000000000052 comment=8ed619211840737cda493c5221dfdbb9e8389d84 xmlsec-1.3.11/000077500000000000000000000000001517172715000130765ustar00rootroot00000000000000xmlsec-1.3.11/.github/000077500000000000000000000000001517172715000144365ustar00rootroot00000000000000xmlsec-1.3.11/.github/workflows/000077500000000000000000000000001517172715000164735ustar00rootroot00000000000000xmlsec-1.3.11/.github/workflows/codeql.yml000066400000000000000000000111201517172715000204600ustar00rootroot00000000000000# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # name: "CodeQL Advanced" on: push: branches: [ "master" ] pull_request: branches: [ "master" ] schedule: - cron: '25 14 * * 2' jobs: analyze: name: Analyze (${{ matrix.language }}) # Runner size impacts CodeQL analysis time. To learn more, please see: # - https://gh.io/recommended-hardware-resources-for-running-codeql # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners (GitHub.com only) # Consider using larger runners or machines with greater resources for possible analysis time improvements. runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} permissions: # required for all workflows security-events: write # required to fetch internal or private CodeQL packs packages: read # only required for workflows in private repositories actions: read contents: read strategy: fail-fast: false matrix: include: - language: c-cpp build-mode: manual - language: javascript-typescript build-mode: none # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' # Use `c-cpp` to analyze code written in C, C++ or both # Use 'java-kotlin' to analyze code written in Java, Kotlin or both # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: install dependencies run: | sudo apt update sudo apt install automake autoconf libtool libtool-bin libltdl-dev libltdl7 sudo apt install libxml2 libxml2-dev libxslt1.1 libxslt1-dev sudo apt install libssl3 libssl-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libnss3-tools libgcrypt20 libgcrypt20-dev libgnutls28-dev - name: Checkout repository uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above # to set the build mode to "manual" for that language. Then modify this step # to build your code. # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - if: matrix.build-mode == 'manual' shell: bash run: | mkdir install.dir autoreconf -i -f ./configure --prefix=${GITHUB_WORKSPACE}/install.dir --enable-werror --enable-pedantic --enable-legacy-features --enable-ftp --enable-http make - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" xmlsec-1.3.11/.github/workflows/make-check.yml000066400000000000000000000323671517172715000212210ustar00rootroot00000000000000name: Make Check on: push: branches: - master - xmlsec-1_2_x pull_request: branches: - master - xmlsec-1_2_x jobs: # linux: check against latest versions of everything check-ubuntu: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: # default build - config_flags: # default build with all legacy features - config_flags: --enable-legacy-features --enable-ftp --enable-http --enable-gcrypt # static openssl build - config_flags: --enable-static --enable-static-linking --disable-openssl3-engines --without-nss --without-gnutls --without-gcrypt --enable-legacy-features # static gnutls build with GOST - config_flags: --enable-static --enable-static-linking --without-openssl --without-nss --without-gcrypt --enable-gost --enable-gost2012 --enable-legacy-features steps: - name: install dependencies run: | sudo apt update sudo apt install automake autoconf libtool libtool-bin libltdl-dev libltdl7 sudo apt install libxml2 libxml2-dev libxslt1.1 libxslt1-dev sudo apt install libssl3 libssl-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libnss3-tools libgcrypt20 libgcrypt20-dev libgnutls28-dev - uses: actions/checkout@v2 - name: create-build-dirs run: | mkdir build.dir install.dir - name: configure working-directory: build.dir run: | autoreconf -i -f .. ../configure --prefix=${GITHUB_WORKSPACE}/install.dir --enable-werror --enable-pedantic ${{ matrix.config_flags }} - name: make working-directory: build.dir run: | make - name: make check working-directory: build.dir run: | make check - name: make install working-directory: build.dir run: | make install - name: make examples working-directory: examples run: | export PATH=${GITHUB_WORKSPACE}/install.dir/bin:$PATH make # linux: docs + distcheck (separate from above to prevent running tests twice for all permutations) check-distcheck: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: # default build - config_flags: steps: - name: install dependencies run: | sudo apt update sudo apt install automake autoconf libtool libtool-bin libltdl-dev libltdl7 sudo apt install libxml2 libxml2-dev libxslt1.1 libxslt1-dev sudo apt install libssl3 libssl-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libnss3-tools libgcrypt20 libgcrypt20-dev libgnutls28-dev sudo apt install help2man pandoc doxygen python3 - uses: actions/checkout@v2 - name: create-build-dirs run: | mkdir build.dir install.dir - name: configure working-directory: build.dir run: | autoreconf -i -f .. ../configure --prefix=${GITHUB_WORKSPACE}/install.dir --enable-werror --enable-pedantic ${{ matrix.config_flags }} - name: make working-directory: build.dir run: | make - name: make docs working-directory: build.dir run: | make -C docs docs - name: make distcheck working-directory: build.dir run: | make distcheck # linux: check AWS-LC check-ubuntu_aws_lc: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: # default static build - config_flags: --enable-static --enable-static-linking env: AWS_LC_VERSION: "1.63.0" steps: - name: install dependencies run: | sudo apt update sudo apt install cmake ninja-build clang perl golang wget sudo apt install automake autoconf libtool libtool-bin libltdl-dev libltdl7 sudo apt install libxml2 libxml2-dev libxslt1.1 libxslt1-dev - name: build aws lc run: | mkdir ../aws-lc && cd ../aws-lc wget "https://github.com/aws/aws-lc/archive/refs/tags/v${{ env.AWS_LC_VERSION }}.zip" unzip "v${{ env.AWS_LC_VERSION }}.zip" mkdir build && cd build cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/../aws-lc/install ../aws-lc-${{ env.AWS_LC_VERSION }} ninja install - uses: actions/checkout@v2 - name: create-build-dirs run: | mkdir build.dir install.dir - name: configure working-directory: build.dir run: | autoreconf -i -f .. ../configure --prefix=${GITHUB_WORKSPACE}/install.dir ${{ matrix.config_flags }} \ --enable-werror --enable-pedantic \ --with-openssl=${GITHUB_WORKSPACE}/../aws-lc/install \ --without-gnutls --without-nss --without-gcrypt - name: make working-directory: build.dir run: | make - name: make check working-directory: build.dir run: | make check - name: make install working-directory: build.dir run: | make install # macosx check-osx: runs-on: macos-26 strategy: fail-fast: false matrix: include: # default build - config_flags: # default build with all legacy features -- not possible because MacOSX disables RIPEMD160 in OpenSSL # - config_flags: --enable-legacy-features --enable-ftp --enable-http steps: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master - name: install dependencies run: | pkg-config --modversion libxml-2.0 pkg-config --modversion libxslt HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install autoconf HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install automake HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install pkg-config libtool HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install libxml2 libxslt HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openssl nspr nss gnutls libgcrypt - uses: actions/checkout@v2 - name: create-build-dirs run: | mkdir build.dir install.dir - name: configure working-directory: build.dir # NSS build is disabled because of header errors, try to re-enable in 2026 to see if it is fixed # --with-nspr=`brew --prefix nspr` \ # --with-nss=`brew --prefix nss` \ run: | autoreconf -i -f .. ../configure --prefix=${GITHUB_WORKSPACE}/install.dir --enable-werror --enable-pedantic \ --with-openssl=`brew --prefix openssl` \ --without-nss \ --with-gnutls=`brew --prefix gnutls` \ --with-gcrypt=`brew --prefix libgcrypt` \ ${{ matrix.config_flags }} - name: make working-directory: build.dir run: | make - name: make check working-directory: build.dir run: | export PATH=`brew --prefix openssl`/bin:$PATH export LD_LIBRARY_PATH=`brew --prefix openssl`/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=`brew --prefix nspr`/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=`brew --prefix nss`/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=`brew --prefix libgcrypt`/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=`brew --prefix gnutls`/lib:$LD_LIBRARY_PATH make check - name: make install working-directory: build.dir run: | make install - name: make examples working-directory: examples run: | export PATH=${GITHUB_WORKSPACE}/install.dir/bin:$PATH make # mingw check-mingw: runs-on: windows-latest strategy: fail-fast: false matrix: include: # default build - msystem: MINGW64 arch: x86_64 config_flags: --without-openssl --without-nss --without-gnutls --without-gcrypt --with-mscng --with-mscrypto # no unicode static build for mscng - msystem: MINGW64 arch: x86_64 config_flags: --enable-static --enable-static-linking --enable-unicode=no --without-openssl --without-nss --without-gnutls --without-gcrypt --without-mscrypto defaults: run: shell: msys2 {0} steps: - uses: msys2/setup-msys2@v2 with: msystem: ${{ matrix.msystem }} release: false update: false install: >- autoconf automake base-devel git libtool mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-libxml2 mingw-w64-${{ matrix.arch }}-libxslt mingw-w64-${{ matrix.arch }}-libltdl mingw-w64-${{ matrix.arch }}-openssl mingw-w64-${{ matrix.arch }}-libgcrypt mingw-w64-${{ matrix.arch }}-gnutls - name: configure-git run: | git config --global core.autocrlf input shell: bash - uses: actions/checkout@v2 - name: create-dirs run: | mkdir build.dir install.dir shell: bash - name: configure working-directory: build.dir run: | autoreconf -i -f .. ../configure --prefix=`cygpath -u "${GITHUB_WORKSPACE}/install.dir"` --enable-werror --enable-pedantic \ --enable-mscrypto --enable-mscng ${{ matrix.config_flags }} \ --build="${{ matrix.arch }}-w64-mingw32" \ --host="${{ matrix.arch }}-w64-mingw32" - name: make working-directory: build.dir run: | make - name: make check working-directory: build.dir run: | make check - name: make install working-directory: build.dir run: | make install - name: make examples working-directory: examples run: | export PATH=${GITHUB_WORKSPACE}/install.dir/bin:$PATH make # msvc check-msvc: runs-on: windows-latest strategy: fail-fast: false matrix: include: # mscng: default build - crypto: mscng config_flags: unicode=yes # mscng: no unicode, legacy crypto - crypto: mscng config_flags: unicode=no legacy-features=yes # mscrypto: default build - crypto: mscrypto config_flags: unicode=yes # mscrypto: no unicode, legacy crypto - crypto: mscrypto config_flags: unicode=no legacy-features=yes # mscng: default build - crypto: openssl-300 config_flags: unicode=yes # mscng: no unicode, legacy crypto - crypto: openssl-300 config_flags: unicode=no env: VISUAL_STUDIO_ROOT: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise" INSTALL_FOLDER: c:\install.dir LIBS_VERSION: 1.3.10 steps: - name: create-dirs run: | mkdir ${{ env.INSTALL_FOLDER }} - name: install dependencies shell: pwsh working-directory: ${{ env.INSTALL_FOLDER }} env: LIBS_URL: "https://github.com/lsh123/xmlsec/releases/download/${{ env.LIBS_VERSION }}/xmlsec1-${{ env.LIBS_VERSION }}-win64.zip" LIBS_FILE: "xmlsec1-${{ env.LIBS_VERSION }}-win64.zip" run: | Invoke-WebRequest ${{ env.LIBS_URL }} -OutFile ${{ env.LIBS_FILE }} Expand-Archive -Path ${{ env.LIBS_FILE }} -DestinationPath "." - name: configure-git shell: bash run: | git config --global core.autocrlf input - uses: actions/checkout@v2 - name: configure working-directory: win32 shell: cmd run: | call "${{ env.VISUAL_STUDIO_ROOT }}\VC\Auxiliary\Build\vcvars64.bat" powershell -ExecutionPolicy Bypass -File configure.ps1 pedantic=yes static=no cruntime=/MD debug=no memcheck=no ^ crypto=${{ matrix.crypto }} ${{ matrix.config_flags }} ^ prefix=${{ env.INSTALL_FOLDER }}\xmlsec.build ^ include=${{ env.INSTALL_FOLDER }}\libxml2\include;${{ env.INSTALL_FOLDER }}\libxml2\include\libxml2;${{ env.INSTALL_FOLDER }}\libxslt\include;${{ env.INSTALL_FOLDER }}\openssl\include;%MSSDK_INCLUDE% ^ lib=${{ env.INSTALL_FOLDER }}\libxml2\lib;${{ env.INSTALL_FOLDER }}\libxslt\lib;${{ env.INSTALL_FOLDER }}\openssl\lib;%MSSDK_LIB% - name: make working-directory: win32 shell: cmd run: | call "${{ env.VISUAL_STUDIO_ROOT }}\VC\Auxiliary\Build\vcvars64.bat" set PATH=${{ env.INSTALL_FOLDER }}\libxml2\bin;${{ env.INSTALL_FOLDER }}\libxslt\bin;${{ env.INSTALL_FOLDER }}\openssl\bin;%PATH% nmake - name: make check working-directory: win32 shell: cmd run: | call "${{ env.VISUAL_STUDIO_ROOT }}\VC\Auxiliary\Build\vcvars64.bat" set PATH=${{ env.INSTALL_FOLDER }}\libxml2\bin;${{ env.INSTALL_FOLDER }}\libxslt\bin;${{ env.INSTALL_FOLDER }}\openssl\bin;%PATH% set OPENSSL_MODULES=${{ env.INSTALL_FOLDER }}\lib\ossl-modules nmake check - name: make install working-directory: win32 shell: cmd run: | call "${{ env.VISUAL_STUDIO_ROOT }}\VC\Auxiliary\Build\vcvars64.bat" nmake install xmlsec-1.3.11/.gitignore000066400000000000000000000022651517172715000150730ustar00rootroot00000000000000*~ *.orig .deps/ .libs/ .cproject .project compile clean depcomp install-sh missing *.o *.lo *.la .settings/ m4/ apps/xmlsec1 autom4te.cache/ config.guess config.sub aclocal.m4 config.h config.h.in config.log config.status configure ltmain.sh stamp-h1 xmlsec1-config xmlsec1-gcrypt.pc xmlsec1-gnutls.pc xmlsec1-nss.pc xmlsec1-openssl.pc xmlsec1.pc xmlsec1.spec xmlsec1Conf.sh Makefile.in Makefile apps/Makefile docs/Makefile docs/api/Makefile include/Makefile include/xmlsec/Makefile include/xmlsec/gcrypt/Makefile include/xmlsec/gnutls/Makefile include/xmlsec/nss/Makefile include/xmlsec/openssl/Makefile include/xmlsec/private/Makefile include/xmlsec/version.h libtool man/Makefile src/Makefile src/gcrypt/Makefile src/gnutls/Makefile src/nss/Makefile src/openssl/Makefile win32/apps_a.int/ win32/apps.int/ win32/binaries/ win32/configure.txt win32/libxmlsec.int/ win32/libxmlsec_a.int/ win32/libxmlsec_mscng.int/ win32/libxmlsec_mscrypto.int/ win32/libxmlsec_mscrypto_a.int/ win32/tmp win32/vc140.pdb docs/sgml/api/code docs/sgml/api/sgml.tmp docs/sgml/api/xmlsec-*.txt docs/sgml/api/*.bak docs/sgml/api/*.types docs/sgml/api/sgml.stamp docs/html/html.stamp .vscode/ .vs/ build-*/* scripts/__pycache__ xmlsec-1.3.11/AUTHORS.md000066400000000000000000000015421517172715000145470ustar00rootroot00000000000000# Authors **Aleksey Sanin** — primary author and maintainer ## Port and Feature Authors | Area | Author | |---|---| | NSS support | Tej Arora , AOL Inc. | | MSCryptosupport | Wouter Ketting , Cordys R&D BV | | MSCng support | Miklos Vajna | | OpenSSL 3 support | David Bailey | | AES-GCM support | David Bailey | | BoringSSL/AWS-LC | Frédéric Lécaille | | GOST support | Dmitry Belyavsky , Cryptocom LTD (http://www.cryptocom.ru) | | Windows port | Igor Zlatkovic | | Debian port | John Belmonte | | MinGW support | Roumen Petrov | xmlsec-1.3.11/COPYING000066400000000000000000000000671517172715000141340ustar00rootroot00000000000000See Copyright file for information about the copyright xmlsec-1.3.11/ChangeLog000066400000000000000000000003061517172715000146470ustar00rootroot00000000000000The changelog file is obsolete, please view the commits log on github: https://github.com/lsh123/xmlsec/commits/master Or News section on XMLSec website: https://www.aleksey.com/xmlsec/news.html xmlsec-1.3.11/Copyright000066400000000000000000000162451517172715000150010ustar00rootroot00000000000000------------------------------------------------------------------------------ xmlsec, xmlsec-openssl, xmlsec-gnutls, xmlsec-gcrypt libraries ------------------------------------------------------------------------------ Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Aleksey Sanin shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. ------------------------------------------------------------------------------ xmlsec-nss library ------------------------------------------------------------------------------ Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. Copyright (c) 2003 America Online, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Portions of the Software were created using source code and/or APIs governed by the Mozilla Public License (MPL). The MPL is available at http://www.mozilla.org/MPL/MPL-1.1.html. The MPL permits such portions to be distributed with code not governed by MPL, as long as the requirements of MPL are fulfilled for such portions. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Aleksey Sanin shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. ------------------------------------------------------------------------------ xmlsec-mscrypto library ------------------------------------------------------------------------------ Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. Copyright (C) 2003 Cordys R&D BV, All rights reserved. Copyright (C) 2007 Roumen Petrov. Copyright (c) 2005-2006 Cryptocom LTD (http://www.cryptocom.ru). Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Aleksey Sanin shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. ------------------------------------------------------------------------------ xmlsec-mscng library ------------------------------------------------------------------------------ Copyright (C) 2018-2026 Aleksey Sanin. All Rights Reserved. Copyright (C) 2018 Miklos Vajna. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Aleksey Sanin shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from him. ------------------------------------------------------------------------------ Additional copyright information ------------------------------------------------------------------------------ See individual source files for any additional copyright information ------------------------------------------------------------------------------ References ------------------------------------------------------------------------------ * AOL http://www.aleksey.com/pipermail/xmlsec/2003/005488.html http://www.aleksey.com/pipermail/xmlsec/attachments/20030729/0e25648e/attachment.htm * Cordys R&D BV http://www.aleksey.com/pipermail/xmlsec/2003/005581.html * Cryptocom LTD http://www.aleksey.com/pipermail/xmlsec/2006/007410.html xmlsec-1.3.11/HACKING000066400000000000000000000001731517172715000140660ustar00rootroot00000000000000If you are interesting in contributing to XMLSec, then consider sending a PR on github: https://github.com/lsh123/xmlsec xmlsec-1.3.11/INSTALL000066400000000000000000000000171517172715000141250ustar00rootroot00000000000000See README.md xmlsec-1.3.11/MAINTAINERS000066400000000000000000000003031517172715000145670ustar00rootroot00000000000000Aleksey Sanin Source code: https://github.com/lsh123/xmlsec/ Bugs: https://github.com/lsh123/xmlsec/issues Announcements, etc: https://github.com/lsh123/xmlsec/discussions xmlsec-1.3.11/Makefile.am000066400000000000000000000126021517172715000151330ustar00rootroot00000000000000# # make all : builds everything # make check : runs all tests # make docs-build : builds all docs (requires additional tools installed) # make tar-release : builds distribution tar.gz (including docs) # NULL = SUBDIRS = include src apps man docs SAFE_VERSION = @XMLSEC_VERSION_SAFE@ TEST_APP = apps/xmlsec1$(EXEEXT) UNIT_TEST_APP = apps/xmlsec_unit_tests$(EXEEXT) DEFAULT_CRYPTO = @XMLSEC_DEFAULT_CRYPTO@ bin_SCRIPTS = xmlsec1-config pkgconfig_DATA = xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@ pkgconfigdir = $(libdir)/pkgconfig confexecdir = $(libdir) confexec_DATA = xmlsec1Conf.sh m4datadir = $(datadir)/aclocal m4data_DATA = xmlsec1.m4 ACLOCAL_AMFLAGS = -I m4 DISTCLEANFILES = \ xmlsec1Conf.sh \ xmlsec1.pc \ xmlsec1-openssl.pc \ xmlsec1-nss.pc \ xmlsec1-gnutls.pc \ xmlsec1-gcrypt.pc \ xmlsec1-config \ xmlsec1.spec \ stamp-h2 \ stamp-h3 \ stamp-h4 \ stamp-h5 \ $NULL EXTRA_DIST = \ m4 \ examples \ scripts \ tests \ win32 \ NEWS \ ChangeLog \ Copyright \ HACKING \ README.md \ AUTHORS.md \ xmlsec-openssl.pc.in \ xmlsec-nss.pc.in\ xmlsec-gnutls.pc.in \ xmlsec-gcrypt.pc.in \ xmlsec-config.in \ xmlsecConf.sh.in \ xmlsec.spec.in \ xmlsec1Conf.sh \ xmlsec1.pc @XMLSEC_CRYPTO_PC_FILES_LIST@ \ xmlsec1-config \ xmlsec1.spec \ xmlsec1.m4 \ $(NULL) EXTRA_CLEAN = \ examples \ $(NULL) ABS_SRCDIR=@abs_srcdir@ ABS_BUILDDIR=@abs_builddir@ XMLSEC_OPENSSL_TEST_CONFIG=@OPENSSL_TEST_CONFIG@ XMLSEC_OPENSSL_VERSION=@XMLSEC_OPENSSL_VERSION@ if XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING PRECHECK_COMMANDS = \ export XMLSEC_OPENSSL_TEST_CONFIG="$(XMLSEC_OPENSSL_TEST_CONFIG)" && \ export XMLSEC_OPENSSL_VERSION="$(XMLSEC_OPENSSL_VERSION)" && \ cd $(ABS_SRCDIR) \ $(NULL) else PRECHECK_COMMANDS= \ export XMLSEC_OPENSSL_TEST_CONFIG="$(XMLSEC_OPENSSL_TEST_CONFIG)" && \ export XMLSEC_OPENSSL_VERSION="$(XMLSEC_OPENSSL_VERSION)" && \ export LD_LIBRARY_PATH="$(ABS_BUILDDIR)/src/.libs:$$LD_LIBRARY_PATH" && \ for i in $(XMLSEC_CHECK_CRYPTO_LIST) ; do \ export LTDL_LIBRARY_PATH="$(ABS_BUILDDIR)/src/$$i/.libs:$$LTDL_LIBRARY_PATH" ; \ done && \ cd $(ABS_SRCDIR) \ $(NULL) endif CHECK_CRYPTO_LIST = \ $(XMLSEC_CHECK_CRYPTO_LIST) \ $(NULL) .PHONY: all check check-all check-info check-keys check-dsig check-enc docs-build all: check: check-all check-info check-unit-tests: $(UNIT_TEST_APP) @($(PRECHECK_COMMANDS) && $(ABS_BUILDDIR)/$(UNIT_TEST_APP)) check-all: $(TEST_APP) check-unit-tests for crypto in $(CHECK_CRYPTO_LIST) ; do \ make check-crypto-$$crypto || exit 1 ; \ done check-crypto-%: $(TEST_APP) @($(PRECHECK_COMMANDS) && \ echo "=================== Checking xmlsec-$* =================================" && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testKeys.sh \ $* \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) der \ && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testDSig.sh \ $* \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) \ der \ && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testEnc.sh \ $* \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) \ der \ ; \ ) check-info: @echo "---------------------------- ATTENTION -----------------------------------" @echo "--- Some tests use resources hosted on external HTTP servers. ---" @echo "--- If you lack an Internet connection or an external resource is ---" @echo "--- unavailable, the test will fail. ---" @echo "---------------------------- ATTENTION -----------------------------------" check-keys: $(TEST_APP) @($(PRECHECK_COMMANDS) && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testKeys.sh \ $(DEFAULT_CRYPTO) \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) \ der \ ) check-dsig: $(TEST_APP) @($(PRECHECK_COMMANDS) && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testDSig.sh \ $(DEFAULT_CRYPTO) \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) \ der \ ) check-enc: $(TEST_APP) @($(PRECHECK_COMMANDS) && \ $(SHELL) ./tests/testrun.sh \ $(ABS_SRCDIR)/tests/testEnc.sh \ $(DEFAULT_CRYPTO) \ $(ABS_SRCDIR)/tests \ $(ABS_BUILDDIR)/$(TEST_APP) \ der \ ) memcheck-res: @$(GREP) -i 'ERROR SUMMARY' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'in use at exit' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'definitely lost:' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'indirectly lost:' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'possibly lost:' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'still reachable:' /tmp/xmlsec-test*/*.log | $(SED) 's/.*==.*== *//' | $(SORT) -u @$(GREP) -i 'used_suppression:' /tmp/xmlsec-test*/*.log | $(SED) 's/.*--.*-- *//' | $(SORT) -u memcheck: $(TEST_APP) @(export DEBUG_MEMORY=1 && $(MAKE) $(AM_MAKEFLAGS) check && $(MAKE) $(AM_MAKEFLAGS) memcheck-res) memcheck-crypto-%: $(TEST_APP) @(export DEBUG_MEMORY=1 && $(MAKE) $(AM_MAKEFLAGS) check-crypto-$* && $(MAKE) $(AM_MAKEFLAGS) memcheck-res) perfcheck: $(TEST_APP) @(export PERF_TEST=10 && $(MAKE) $(AM_MAKEFLAGS) check) # build docs before running make dist tar-release: docs-build @(unset CDPATH && $(MAKE) $(AM_MAKEFLAGS) dist) cleantar: @($(RM) -f xmlsec*.tar.gz COPYING.LIB) docs-build: all @$(MAKE) $(AM_MAKEFLAGS) -C man docs @$(MAKE) $(AM_MAKEFLAGS) -C docs docs xmlsec-1.3.11/NEWS000066400000000000000000000000551517172715000135750ustar00rootroot00000000000000See https://www.aleksey.com/xmlsec/news.html xmlsec-1.3.11/README.md000066400000000000000000000015561517172715000143640ustar00rootroot00000000000000# XMLSec Library XMLSec library provides C based implementation for major XML Security standards: - [XML Signature Syntax and Processing](https://www.w3.org/TR/xmldsig-core) - [XML Encryption Syntax and Processing](https://www.w3.org/TR/xmlenc-core/) Detailed information about supported features and algorithms can be found in the [XMLDsig](https://www.aleksey.com/xmlsec/xmldsig.html) and the [XMLEnc](https://www.aleksey.com/xmlsec/xmlenc.html) interoperability reports. ## Documentation Complete XMLSec library documentation is published on [XMLSec website](https://www.aleksey.com/xmlsec/) and on [XMLSec GitHub Wiki](https://github.com/lsh123/xmlsec/wiki). ## License XMLSec library is released under the MIT Licence (see the [Copyright file](Copyright)). ## Building and installing XMLSec See [docs/md/tutorial/install.md](docs/md/tutorial/install.md) for details. xmlsec-1.3.11/SECURITY.md000066400000000000000000000037271517172715000147000ustar00rootroot00000000000000# Security Policy ## Supported Versions The XMLSec library WILL provide security updates / fixes for the released versions for 5 years since [the day of the release](https://www.aleksey.com/xmlsec/news.html). After 5 years, the support MIGHT be provided on case-by-case basis. ### 1.3.x (master) | Component/Version | Version | Release date | Full Support | Security Support | | ------------------|-----------| -------------------|-----------------------|---------------------| | xmlsec-core | >= 1.3.0 | April 12, 2023 | :white_check_mark: | :white_check_mark: | | xmlsec-openssl | >= 1.3.0 | April 12, 2023 | :white_check_mark: | :white_check_mark: | | xmlsec-nss | >= 1.3.0 | April 12, 2023 | :white_check_mark: | :white_check_mark: | | xmlsec-gnutls | >= 1.3.0 | April 12, 2023 | :white_check_mark: | :white_check_mark: | | xmlsec-mscng | >= 1.3.0 | April 12, 2023 | :white_check_mark: | :white_check_mark: | | xmlsec-gcrypt | >= 1.3.0 | April 12, 2023 | :x: | :white_check_mark: | | xmlsec-mscrypto | >= 1.3.0 | April 12, 2023 | :x: | :white_check_mark: | ### 1.2.x (mainanance mode from April 2023, planned End-Of-Life in April 2028) | Component/Version | Version | Release date | Full Support | Security Support | | ------------------|-----------| -------------------|-----------------------|---------------------| | all | >= 1.2.38 | July 5, 2023 | :x: | :white_check_mark: | | all | < 1.2.38 | October 15, 2019 | :x: | :x: | ## Reporting a Vulnerability Please use [GitHub private vulnerability reporting tool](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) to report any security issues or vulnerabilities. xmlsec-1.3.11/TODO000066400000000000000000000000541517172715000135650ustar00rootroot00000000000000See https://github.com/lsh123/xmlsec/issues xmlsec-1.3.11/apps/000077500000000000000000000000001517172715000140415ustar00rootroot00000000000000xmlsec-1.3.11/apps/Makefile.am000066400000000000000000000036221517172715000161000ustar00rootroot00000000000000NULL = bin_PROGRAMS = xmlsec1 noinst_PROGRAMS = xmlsec_unit_tests XMLSEC_LIBS = $(top_builddir)/src/libxmlsec1.la # check if we use dynamic loading for xmlsec-crypto or not if XMLSEC_NO_APPS_CRYPTO_DYNAMIC_LOADING CRYPTO_DEPS = \ $(top_builddir)/src/@XMLSEC_DEFAULT_CRYPTO@/lib$(XMLSEC_CRYPTO_LIB).la \ $(NULL) CRYPTO_INCLUDES = \ $(XMLSEC_CRYPTO_CFLAGS) \ $(NULL) CRYPTO_LD_FLAGS = \ $(NULL) CRYPTO_LD_ADD = \ $(XMLSEC_CRYPTO_LIBS) \ $(CRYPTO_DEPS) \ $(NULL) else CRYPTO_DEPS = \ $(NULL) CRYPTO_INCLUDES = \ -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 $(NULL) CRYPTO_LD_FLAGS = \ $(NULL) CRYPTO_LD_ADD = \ $(CRYPTO_DEPS) \ $(NULL) endif AM_CFLAGS = \ -DPACKAGE=\"@PACKAGE@\" \ -I../include \ -I$(top_srcdir)/include \ $(XMLSEC_DEFINES) \ $(XMLSEC_APP_DEFINES) \ $(CRYPTO_INCLUDES) \ $(LIBXSLT_CFLAGS) \ $(LIBXML_CFLAGS) \ $(LIBLTDL_CFLAGS) \ $(NULL) # xmlsec command line utility xmlsec1_SOURCES = \ xmlsec.c \ crypto.c crypto.h \ cmdline.c cmdline.h \ $(NULL) xmlsec1_LDFLAGS = \ @XMLSEC_STATIC_BINARIES@ \ @XMLSEC_EXTRA_LDFLAGS@ \ $(CRYPTO_LD_FLAGS) \ $(NULL) xmlsec1_LDADD = \ $(LIBXSLT_LIBS) \ $(LIBXML_LIBS) \ $(CRYPTO_LD_ADD) \ $(XMLSEC_LIBS) \ $(LIBLTDL_LIBS) \ $(NULL) xmlsec1_DEPENDENCIES = \ $(CRYPTO_DEPS) \ $(XMLSEC_LIBS) \ $(NULL) # xmlsec unit tests xmlsec_unit_tests_SOURCES = \ unit_tests/base64_unit_tests.c \ unit_tests/transform_helpers_unit_tests.c \ unit_tests/x509_unit_tests.c \ unit_tests/xmltree_unit_tests.c \ unit_tests/templates_unit_tests.c \ unit_tests/xmlsec_unit_tests.h \ unit_tests/xmlsec_unit_tests.c \ $(NULL) xmlsec_unit_tests_LDFLAGS = \ @XMLSEC_STATIC_BINARIES@ \ @XMLSEC_EXTRA_LDFLAGS@ \ $(CRYPTO_LD_FLAGS) \ $(NULL) xmlsec_unit_tests_LDADD = \ $(LIBXSLT_LIBS) \ $(LIBXML_LIBS) \ $(CRYPTO_LD_ADD) \ $(XMLSEC_LIBS) \ $(LIBLTDL_LIBS) \ $(NULL) xmlsec_unit_tests_DEPENDENCIES = \ $(CRYPTO_DEPS) \ $(XMLSEC_LIBS) \ $(NULL) xmlsec-1.3.11/apps/cmdline.c000066400000000000000000000333031517172715000156220ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library command line utility: command line parsing routines. */ #if defined(_MSC_VER) && _MSC_VER < 1900 #define snprintf _snprintf #endif #include #include #include #include #include #include #include "cmdline.h" static int xmlSecAppCmdLineMatchParam (const char* argvParam, const char* paramName, int canHaveNameString); static xmlSecAppCmdLineParamPtr xmlSecAppCmdLineParamsListFind (xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics, const char* name); static int xmlSecAppCmdLineParamRead (xmlSecAppCmdLineParamPtr param, const char** argv, int argc, int pos); static int xmlSecAppCmdLineTimeParamRead (const char* str, time_t* t, int is_gmt_time); #if defined(_MSC_VER) #define XMLSEC_SCANF sscanf_s #define XMLSEC_MKGMTIME _mkgmtime #else /* defined(_MSC_VER) */ #define XMLSEC_SCANF sscanf #define XMLSEC_MKGMTIME xmlSecAppGetGmtTime static time_t xmlSecAppGetGmtTime (struct tm* timeptr); #endif /* defined(_MSC_VER) */ int xmlSecAppCmdLineParamIsSet(xmlSecAppCmdLineParamPtr param) { return(((param != NULL) && (param->value != NULL)) ? 1 : 0); } const char* xmlSecAppCmdLineParamGetString(xmlSecAppCmdLineParamPtr param) { if(param->type != xmlSecAppCmdLineParamTypeString) { fprintf(stderr, "Error: parameter \"%s\" is not string.\n", param->fullName); return(NULL); } return((param->value != NULL) ? param->value->strValue : NULL); } const char* xmlSecAppCmdLineParamGetStringList(xmlSecAppCmdLineParamPtr param) { if(param->type != xmlSecAppCmdLineParamTypeStringList) { fprintf(stderr, "Error: parameter \"%s\" is not string list.\n", param->fullName); return(NULL); } return((param->value != NULL) ? param->value->strListValue : NULL); } int xmlSecAppCmdLineParamGetInt(xmlSecAppCmdLineParamPtr param, int def) { if(param->type != xmlSecAppCmdLineParamTypeNumber) { fprintf(stderr, "Error: parameter \"%s\" is not integer.\n", param->fullName); return(def); } return((param->value != NULL) ? param->value->intValue : def); } time_t xmlSecAppCmdLineParamGetTime(xmlSecAppCmdLineParamPtr param, time_t def) { if((param->type != xmlSecAppCmdLineParamTypeTime) && (param->type != xmlSecAppCmdLineParamTypeGmtTime)) { fprintf(stderr, "Error: parameter \"%s\" is not time.\n", param->fullName); return(def); } return((param->value != NULL) ? param->value->timeValue : def); } int xmlSecAppCmdLineParamsListParse(xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics, const char** argv, int argc, int pos) { xmlSecAppCmdLineParamPtr param; int ii; int ret; assert(params != NULL); assert(argv != NULL); while((pos < argc) && (argv[pos][0] == '-') && (strcmp(argv[pos], XMLSEC_STDOUT_FILENAME) != 0)) { param = xmlSecAppCmdLineParamsListFind(params, topics, argv[pos]); if(param == NULL) { fprintf(stderr, "Error: parameter \"%s\" is not supported or the requested\nfeature might have been disabled during compilation.\n", argv[pos]); return(-1); } ret = xmlSecAppCmdLineParamRead(param, argv, argc, pos); if(ret < pos) { fprintf(stderr, "Error: failed to parse parameter \"%s\".\n", argv[pos]); return(-1); } pos = ret + 1; } /* check that all parameters at the end are filenames */ for(ii = pos; (ii < argc); ++ii) { if((argv[ii][0] == '-') && (strcmp(argv[pos], XMLSEC_STDOUT_FILENAME) != 0)) { fprintf(stderr, "Error: filename is expected instead of parameter \"%s\".\n", argv[ii]); return(-1); } } /* done */ return(pos); } void xmlSecAppCmdLineParamsListClean(xmlSecAppCmdLineParamPtr* params) { xmlSecAppCmdLineValuePtr tmp; size_t i; assert(params != NULL); for(i = 0; params[i] != NULL; ++i) { while(params[i]->value != NULL) { tmp = params[i]->value; params[i]->value = params[i]->value->next; xmlSecAppCmdLineValueDestroy(tmp); } } } void xmlSecAppCmdLineParamsListPrint(xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics, FILE* output) { size_t i; assert(params != NULL); assert(output != NULL); for(i = 0; params[i] != NULL; ++i) { if(((params[i]->topics & topics) != 0) && (params[i]->help != NULL)) { fprintf(output, " %s\n", params[i]->help); } } } xmlSecAppCmdLineValuePtr xmlSecAppCmdLineValueCreate(xmlSecAppCmdLineParamPtr param, int pos) { xmlSecAppCmdLineValuePtr value; assert(param != NULL); value = (xmlSecAppCmdLineValuePtr) malloc(sizeof(xmlSecAppCmdLineValue)); if(value == NULL) { fprintf(stderr, "Error: malloc failed (" XMLSEC_SIZE_T_FMT " bytes).\n", sizeof(xmlSecAppCmdLineValue)); return(NULL); } memset(value, 0, sizeof(xmlSecAppCmdLineValue)); value->param = param; value->pos = pos; return(value); } void xmlSecAppCmdLineValueDestroy(xmlSecAppCmdLineValuePtr value) { assert(value != NULL); if(value->strListValue != NULL) { free((void*)value->strListValue); } free(value); } static int xmlSecAppCmdLineMatchParam(const char* argvParam, const char* paramName, int canHaveNameString) { assert(argvParam != NULL); assert(paramName != NULL); if(canHaveNameString != 0) { size_t len = strlen(paramName); if(strncmp(argvParam, paramName, len) != 0) { return(0); } if((argvParam[len] != '\0') && (argvParam[len] != ':')) { return(0); } return(1); } else if(strcmp(argvParam, paramName) == 0) { return(1); } return(0); } static xmlSecAppCmdLineParamPtr xmlSecAppCmdLineParamsListFind(xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics, const char* name) { size_t i; int canHaveNameString; assert(params != NULL); assert(name != NULL); for(i = 0; params[i] != NULL; ++i) { if((params[i]->topics & topics) == 0) { continue; } canHaveNameString = ((params[i]->flags & xmlSecAppCmdLineParamFlagParamNameValue) != 0) ? 1 : 0; if(params[i]->fullName != NULL) { if(xmlSecAppCmdLineMatchParam(name, params[i]->fullName, canHaveNameString) == 1) { return(params[i]); } } if(params[i]->shortName != NULL) { if(xmlSecAppCmdLineMatchParam(name, params[i]->shortName, canHaveNameString) == 1) { return(params[i]); } } } return(NULL); } static int xmlSecAppCmdLineParamRead(xmlSecAppCmdLineParamPtr param, const char** argv, int argc, int pos) { xmlSecAppCmdLineValuePtr value; xmlSecAppCmdLineValuePtr prev = NULL; char* buf; assert(param != NULL); assert(argv != NULL); assert(pos < argc); /* first find the previous value in the list */ if((param->flags & xmlSecAppCmdLineParamFlagMultipleValues) != 0) { prev = param->value; while((prev != NULL) && (prev->next != NULL)) { prev = prev->next; } } else if(param->value != NULL) { fprintf(stderr, "Error: only one parameter \"%s\" is allowed.\n", argv[pos]); return(-1); } /* create new value and add to the list */ value = xmlSecAppCmdLineValueCreate(param, pos); if(value == NULL) { fprintf(stderr, "Error: failed to create value for parameter \"%s\".\n", argv[pos]); return(-1); } if(prev != NULL) { assert(prev->next == NULL); prev->next = value; } else { param->value = value; } /* if we can have a string value after the name, parse it */ if((param->flags & xmlSecAppCmdLineParamFlagParamNameValue) != 0) { value->paramNameValue = strchr(argv[pos], ':'); if(value->paramNameValue != NULL) { ++value->paramNameValue; } } switch(param->type) { case xmlSecAppCmdLineParamTypeFlag: /* do nothing */ break; case xmlSecAppCmdLineParamTypeString: if(pos + 1 >= argc) { fprintf(stderr, "Error: string argument expected for parameter \"%s\".\n", argv[pos]); return(-1); } value->strValue = argv[++pos]; break; case xmlSecAppCmdLineParamTypeStringList: if(pos + 1 >= argc) { fprintf(stderr, "Error: string list argument expected for parameter \"%s\".\n", argv[pos]); return(-1); } value->strValue = argv[++pos]; buf = (char*)malloc(strlen(value->strValue) + 2); if(buf == NULL) { fprintf(stderr, "Error: failed to allocate memory (" XMLSEC_SIZE_T_FMT " bytes).\n", strlen(value->strValue) + 2); return(-1); } memset(buf, 0, strlen(value->strValue) + 2); memcpy(buf, value->strValue, strlen(value->strValue)); value->strListValue = buf; while((*buf) != '\0') { if((*buf) == ',') { (*buf) = '\0'; } ++buf; } break; case xmlSecAppCmdLineParamTypeNumber: if(pos + 1 >= argc) { fprintf(stderr, "Error: integer argument expected for parameter \"%s\".\n", argv[pos]); return(-1); } value->strValue = argv[++pos]; if(XMLSEC_SCANF(value->strValue, "%d", &(value->intValue)) != 1) { fprintf(stderr, "Error: integer argument \"%s\" is invalid.\n", value->strValue); return(-1); } break; case xmlSecAppCmdLineParamTypeTime: if(pos + 1 >= argc) { fprintf(stderr, "Error: time argument expected for parameter \"%s\".\n", argv[pos]); return(-1); } value->strValue = argv[++pos]; if(xmlSecAppCmdLineTimeParamRead(value->strValue, &(value->timeValue), 0) < 0) { fprintf(stderr, "Error: time argument \"%s\" is invalid, expected format is \"YYYY-MM-DD HH:MM:SS\").\n", value->strValue); return(-1); } break; case xmlSecAppCmdLineParamTypeGmtTime: if(pos + 1 >= argc) { fprintf(stderr, "Error: gmt time argument expected for parameter \"%s\".\n", argv[pos]); return(-1); } value->strValue = argv[++pos]; if(xmlSecAppCmdLineTimeParamRead(value->strValue, &(value->timeValue), 1) < 0) { fprintf(stderr, "Error: gmt time argument \"%s\" is invalid, expected format is \"YYYY-MM-DD HH:MM:SS\").\n", value->strValue); return(-1); } break; } return(pos); } #if !defined(_MSC_VER) static time_t xmlSecAppGetGmtTime(struct tm* timeptr) { time_t t1, t2; struct tm * tm1; if(timeptr == NULL) { return(0); } /* t1 is gmt time "mapped" to localtime as-is */ t1 = mktime(timeptr); if(t1 == -1) { fprintf(stderr, "Error: mktime(timeptr) failed"); return(0); } tm1 = gmtime(&t1); if(tm1 == NULL) { fprintf(stderr, "Error: gmtime() failed for time=%lld.\n", (long long)t1); return(0); } /* t2 is "mapped" gmt time converted to gmt */ t2 = mktime(tm1); if(t2 == -1) { fprintf(stderr, "Error: mktime(tm1) failed"); return(0); } /* shift t1 back by the (t2 - t1) delta */ return(t1 - (t2 - t1)); } #endif /* !defined(_MSC_VER) */ static int xmlSecAppCmdLineTimeParamRead(const char* str, time_t* t, int is_gmt_time) { struct tm tm; int n; if((str == NULL) || (t == NULL)) { return(-1); } memset(&tm, 0, sizeof(tm)); tm.tm_isdst = -1; n = XMLSEC_SCANF(str, "%4d-%2d-%2d%*c%2d:%2d:%2d", &tm.tm_year, &tm.tm_mon, &tm.tm_mday, &tm.tm_hour, &tm.tm_min, &tm.tm_sec); if(n != 6) { return(-1); } if((tm.tm_year < 1900) || (tm.tm_mon < 1) || (tm.tm_mon > 12) || (tm.tm_mday < 1) || (tm.tm_mday > 31) || (tm.tm_hour < 0) || (tm.tm_hour > 23) || (tm.tm_min < 0) || (tm.tm_min > 59) || (tm.tm_sec < 0) || (tm.tm_sec > 61)) { return(-1); } tm.tm_year -= 1900; /* tm relative format year */ tm.tm_mon -= 1; /* tm relative format month */ if(is_gmt_time != 0) { (*t) = XMLSEC_MKGMTIME(&tm); } else { (*t) = mktime(&tm); } return(0); } xmlsec-1.3.11/apps/cmdline.h000066400000000000000000000072201517172715000156260ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library command line utility: command line parsing routines. */ #ifndef __XMLSEC_APPS_CMDLINE_H__ #define __XMLSEC_APPS_CMDLINE_H__ #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ typedef struct _xmlSecAppCmdLineParam xmlSecAppCmdLineParam, *xmlSecAppCmdLineParamPtr; typedef struct _xmlSecAppCmdLineValue xmlSecAppCmdLineValue, *xmlSecAppCmdLineValuePtr; typedef unsigned int xmlSecAppCmdLineParamTopic; #define xmlSecAppCmdLineParamFlagNone 0x0000 #define xmlSecAppCmdLineParamFlagParamNameValue 0x0001 #define xmlSecAppCmdLineParamFlagMultipleValues 0x0002 #define XMLSEC_STDOUT_FILENAME "-" typedef enum { xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamTypeNumber, xmlSecAppCmdLineParamTypeTime, xmlSecAppCmdLineParamTypeGmtTime } xmlSecAppCmdLineParamType; struct _xmlSecAppCmdLineParam { xmlSecAppCmdLineParamTopic topics; const char* fullName; const char* shortName; const char* help; xmlSecAppCmdLineParamType type; int flags; xmlSecAppCmdLineValuePtr value; }; int xmlSecAppCmdLineParamIsSet (xmlSecAppCmdLineParamPtr param); const char* xmlSecAppCmdLineParamGetString (xmlSecAppCmdLineParamPtr param); const char* xmlSecAppCmdLineParamGetStringList (xmlSecAppCmdLineParamPtr param); int xmlSecAppCmdLineParamGetInt (xmlSecAppCmdLineParamPtr param, int def); time_t xmlSecAppCmdLineParamGetTime (xmlSecAppCmdLineParamPtr param, time_t def); int xmlSecAppCmdLineParamsListParse (xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topics, const char** argv, int argc, int pos); void xmlSecAppCmdLineParamsListClean (xmlSecAppCmdLineParamPtr* params); void xmlSecAppCmdLineParamsListPrint (xmlSecAppCmdLineParamPtr* params, xmlSecAppCmdLineParamTopic topic, FILE* output); struct _xmlSecAppCmdLineValue { xmlSecAppCmdLineParamPtr param; int pos; const char* paramNameValue; const char* strValue; const char* strListValue; int intValue; time_t timeValue; xmlSecAppCmdLineValuePtr next; }; xmlSecAppCmdLineValuePtr xmlSecAppCmdLineValueCreate (xmlSecAppCmdLineParamPtr param, int pos); void xmlSecAppCmdLineValueDestroy (xmlSecAppCmdLineValuePtr value); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __XMLSEC_APPS_CMDLINE_H__ */ xmlsec-1.3.11/apps/crypto.c000066400000000000000000000345641517172715000155410ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library command line utility tools. */ #if defined(_MSC_VER) && _MSC_VER < 1900 #define snprintf _snprintf #endif #include #include #include #include #include #include #include "crypto.h" #ifndef UNREFERENCED_PARAMETER #define UNREFERENCED_PARAMETER(param) ((void)(param)) #endif /* UNREFERENCED_PARAMETER */ int xmlSecAppCryptoInit(const char* config) { if(xmlSecCryptoAppInit(config) < 0) { fprintf(stderr, "Error: xmlSecCryptoAppInit failed\n"); return(-1); } if(xmlSecCryptoInit() < 0) { fprintf(stderr, "Error: xmlSecCryptoInit failed\n"); return(-1); } return(0); } int xmlSecAppCryptoShutdown(void) { if(xmlSecCryptoShutdown() < 0) { fprintf(stderr, "Error: xmlSecCryptoShutdown failed\n"); return(-1); } if(xmlSecCryptoAppShutdown() < 0) { fprintf(stderr, "Error: xmlSecCryptoAppShutdown failed\n"); return(-1); } return(0); } int xmlSecAppCryptoSimpleKeysMngrInit(xmlSecKeysMngrPtr mngr) { xmlSecAssert2(mngr != NULL, -1); return(xmlSecCryptoAppDefaultKeysMngrInit(mngr)); } int xmlSecAppCryptoSimpleKeysMngrLoad(xmlSecKeysMngrPtr mngr, const char *filename) { xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); return(xmlSecCryptoAppDefaultKeysMngrLoad(mngr, filename)); } int xmlSecAppCryptoSimpleKeysMngrSave(xmlSecKeysMngrPtr mngr, const char *filename, xmlSecKeyDataType type) { xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); return(xmlSecCryptoAppDefaultKeysMngrSave(mngr, filename, type)); } int xmlSecAppCryptoSimpleKeysMngrCertLoad(xmlSecKeysMngrPtr mngr, const char *filename, xmlSecKeyDataFormat format, xmlSecKeyDataType type) { xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); #ifndef XMLSEC_NO_X509 return(xmlSecCryptoAppKeysMngrCertLoad(mngr, filename, format, type)); #else /* XMLSEC_NO_X509 */ UNREFERENCED_PARAMETER(format); UNREFERENCED_PARAMETER(type); fprintf(stderr, "Error: X509 support is disabled\n"); return(-1); #endif /* XMLSEC_NO_X509 */ } int xmlSecAppCryptoSimpleKeysMngrCrlLoad(xmlSecKeysMngrPtr mngr, const char *filename, xmlSecKeyDataFormat format) { xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); #ifndef XMLSEC_NO_X509 return(xmlSecCryptoAppKeysMngrCrlLoad(mngr, filename, format)); #else /* XMLSEC_NO_X509 */ UNREFERENCED_PARAMETER(format); fprintf(stderr, "Error: X509 support is disabled\n"); return(-1); #endif /* XMLSEC_NO_X509 */ } int xmlSecAppCryptoSimpleKeysMngrCrlLoadAndVerify(xmlSecKeysMngrPtr mngr, const char *filename, xmlSecKeyDataFormat format, xmlSecKeyInfoCtxPtr keyInfoCtx) { xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); xmlSecAssert2(keyInfoCtx != NULL, -1); #ifndef XMLSEC_NO_X509 return(xmlSecCryptoAppKeysMngrCrlLoadAndVerify(mngr, filename, format, keyInfoCtx)); #else /* XMLSEC_NO_X509 */ UNREFERENCED_PARAMETER(format); fprintf(stderr, "Error: X509 support is disabled\n"); return(-1); #endif /* XMLSEC_NO_X509 */ } int xmlSecAppCryptoSimpleKeysMngrKeyAndCertsLoad(xmlSecKeysMngrPtr mngr, const char* files, const char* pwd, const char* name, xmlSecKeyDataType type, xmlSecKeyDataFormat format, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey ) { const char* cert_file; xmlSecKeyPtr key; int ret; xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(files != NULL, -1); xmlSecAssert2(keyInfoCtx != NULL, -1); /* first is the key file */ key = xmlSecCryptoAppKeyLoadEx(files, type, format, pwd, xmlSecCryptoAppGetDefaultPwdCallback(), (void*)files); if(key == NULL) { fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed: file=%s\n", xmlSecErrorsSafeString(files)); return(-1); } if(name != NULL) { ret = xmlSecKeySetName(key, BAD_CAST name); if(ret < 0) { fprintf(stderr, "Error: xmlSecKeySetName failed: name=%s\n", xmlSecErrorsSafeString(name)); xmlSecKeyDestroy(key); return(-1); } } #ifndef XMLSEC_NO_X509 for(cert_file = files + strlen(files) + 1; (cert_file[0] != '\0'); cert_file += strlen(cert_file) + 1) { ret = xmlSecCryptoAppKeyCertLoad(key, cert_file, format); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppKeyCertLoad failed: file=%s\n", xmlSecErrorsSafeString(cert_file)); xmlSecKeyDestroy(key); return(-1); } } #else /* XMLSEC_NO_X509 */ cert_file = files + strlen(files) + 1; if(cert_file[0] != '\0') { fprintf(stderr, "Error: X509 support is disabled\n"); xmlSecKeyDestroy(key); return(-1); } #endif /* XMLSEC_NO_X509 */ if(verifyKey != 0) { ret = xmlSecCryptoAppDefaultKeysMngrVerifyKey(mngr, key, keyInfoCtx); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrVerifyKey failed: filename='%s'\n", xmlSecErrorsSafeString(files)); xmlSecKeyDestroy(key); return(-1); } else if(ret != 1) { fprintf(stderr, "Error: key cannot be verified: filename='%s'\n", xmlSecErrorsSafeString(files)); xmlSecKeyDestroy(key); return(-1); } } ret = xmlSecCryptoAppDefaultKeysMngrAdoptKey(mngr, key); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrAdoptKey failed\n"); xmlSecKeyDestroy(key); return(-1); } return(0); } int xmlSecAppCryptoSimpleKeysMngrEngineKeyAndCertsLoad(xmlSecKeysMngrPtr mngr, const char* engineAndKeyId, const char* certFiles, const char* pwd, const char* name, xmlSecKeyDataType type, xmlSecKeyDataFormat keyFormat, xmlSecKeyDataFormat certFormat, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey ) { xmlSecKeyPtr key; int ret; xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(engineAndKeyId != NULL, -1); xmlSecAssert2(certFiles != NULL, -1); xmlSecAssert2(keyInfoCtx != NULL, -1); /* load key */ key = xmlSecCryptoAppKeyLoadEx(engineAndKeyId, type, keyFormat, pwd, xmlSecCryptoAppGetDefaultPwdCallback(), (void*)engineAndKeyId); if(key == NULL) { fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed: engineAndKeyId=%s\n", xmlSecErrorsSafeString(engineAndKeyId)); return(-1); } if(name != NULL) { ret = xmlSecKeySetName(key, BAD_CAST name); if(ret < 0) { fprintf(stderr, "Error: xmlSecKeySetName failed: name=%s\n", xmlSecErrorsSafeString(name)); xmlSecKeyDestroy(key); return(-1); } } /* load certs (if any) */ #ifndef XMLSEC_NO_X509 for(const char *file = certFiles; (file[0] != '\0'); file += strlen(file) + 1) { ret = xmlSecCryptoAppKeyCertLoad(key, file, certFormat); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppKeyCertLoad failed: file=%s\n", xmlSecErrorsSafeString(file)); xmlSecKeyDestroy(key); return(-1); } } #else /* XMLSEC_NO_X509 */ UNREFERENCED_PARAMETER(certFormat); if(certFiles[0] != '\0') { fprintf(stderr, "Error: X509 support is disabled\n"); xmlSecKeyDestroy(key); return(-1); } #endif /* XMLSEC_NO_X509 */ if(verifyKey != 0) { ret = xmlSecCryptoAppDefaultKeysMngrVerifyKey(mngr, key, keyInfoCtx); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrVerifyKey failed: engineAndKeyId='%s'\n", xmlSecErrorsSafeString(engineAndKeyId)); xmlSecKeyDestroy(key); return(-1); } else if(ret != 1) { fprintf(stderr, "Error: key cannot be verified: engineAndKeyId='%s'\n", xmlSecErrorsSafeString(engineAndKeyId)); xmlSecKeyDestroy(key); return(-1); } } /* add key to KM */ ret = xmlSecCryptoAppDefaultKeysMngrAdoptKey(mngr, key); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrAdoptKey failed\n"); xmlSecKeyDestroy(key); return(-1); } return(0); } int xmlSecAppCryptoSimpleKeysMngrPkcs12KeyLoad(xmlSecKeysMngrPtr mngr, const char *filename, const char* pwd, const char *name, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey ) { #ifndef XMLSEC_NO_X509 xmlSecKeyPtr key; int ret; xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); xmlSecAssert2(keyInfoCtx != NULL, -1); key = xmlSecCryptoAppKeyLoadEx(filename, xmlSecKeyDataTypePrivate, xmlSecKeyDataFormatPkcs12, pwd, xmlSecCryptoAppGetDefaultPwdCallback(), (void*)filename); if(key == NULL) { fprintf(stderr, "Error: xmlSecCryptoAppKeyLoadEx failed: filename='%s'\n", xmlSecErrorsSafeString(filename)); return(-1); } if(name != NULL) { ret = xmlSecKeySetName(key, BAD_CAST name); if(ret < 0) { fprintf(stderr, "Error: xmlSecKeySetName failed: name='%s'\n", xmlSecErrorsSafeString(name)); xmlSecKeyDestroy(key); return(-1); } } if(verifyKey != 0) { ret = xmlSecCryptoAppDefaultKeysMngrVerifyKey(mngr, key, keyInfoCtx); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrVerifyKey failed: filename='%s'\n", xmlSecErrorsSafeString(filename)); xmlSecKeyDestroy(key); return(-1); } else if(ret != 1) { fprintf(stderr, "Error: key cannot be verified: filename='%s'\n", xmlSecErrorsSafeString(filename)); xmlSecKeyDestroy(key); return(-1); } } ret = xmlSecCryptoAppDefaultKeysMngrAdoptKey(mngr, key); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrAdoptKey failed\n"); xmlSecKeyDestroy(key); return(-1); } return(0); #else /* XMLSEC_NO_X509 */ xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(filename != NULL, -1); xmlSecAssert2(keyInfoCtx != NULL, -1); UNREFERENCED_PARAMETER(pwd); UNREFERENCED_PARAMETER(name); UNREFERENCED_PARAMETER(verifyKey); fprintf(stderr, "Error: X509 support is disabled\n"); return(-1); #endif /* XMLSEC_NO_X509 */ } int xmlSecAppCryptoSimpleKeysMngrBinaryKeyLoad(xmlSecKeysMngrPtr mngr, const char* keyKlass, const char *filename, const char *name) { xmlSecKeyPtr key; xmlSecKeyDataId dataId; int ret; xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(keyKlass != NULL, -1); xmlSecAssert2(filename != NULL, -1); /* find requested data */ dataId = xmlSecKeyDataIdListFindByName(xmlSecKeyDataIdsGet(), BAD_CAST keyKlass, xmlSecKeyDataUsageReadFromFile); if(dataId == xmlSecKeyDataIdUnknown) { fprintf(stderr, "Error: xmlSecKeyDataIdListFindByName failed keyKlass=%s\n", xmlSecErrorsSafeString(keyKlass)); return(-1); } key = xmlSecKeyReadBinaryFile(dataId, filename); if(key == NULL) { fprintf(stderr, "Error: xmlSecKeyReadBinaryFile failed filename=%s\n", xmlSecErrorsSafeString(filename)); return(-1); } ret = xmlSecKeySetName(key, BAD_CAST name); if(ret < 0) { fprintf(stderr, "Error: xmlSecKeySetName failed: name=%s\n", xmlSecErrorsSafeString(name)); xmlSecKeyDestroy(key); return(-1); } /* finally add it to keys manager */ ret = xmlSecCryptoAppDefaultKeysMngrAdoptKey(mngr, key); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrAdoptKey failed\n"); xmlSecKeyDestroy(key); return(-1); } return(0); } int xmlSecAppCryptoSimpleKeysMngrKeyGenerate(xmlSecKeysMngrPtr mngr, const char* keyKlassAndSize, const char* name) { xmlSecKeyPtr key; int ret; xmlSecAssert2(mngr != NULL, -1); xmlSecAssert2(keyKlassAndSize != NULL, -1); key = xmlSecAppCryptoKeyGenerate(keyKlassAndSize, name, xmlSecKeyDataTypePermanent); if(key == NULL) { fprintf(stderr, "Error: xmlSecAppCryptoSimpleKeysMngrKeyGenerate failed: name=%s\n", xmlSecErrorsSafeString(name)); return(-1); } ret = xmlSecCryptoAppDefaultKeysMngrAdoptKey(mngr, key); if(ret < 0) { fprintf(stderr, "Error: xmlSecCryptoAppDefaultKeysMngrAdoptKey failed\n"); xmlSecKeyDestroy(key); return(-1); } return(0); } xmlSecKeyPtr xmlSecAppCryptoKeyGenerate(const char* keyKlassAndSize, const char* name, xmlSecKeyDataType type) { xmlSecKeyPtr key; char* buf; char* p; int size; int ret; xmlSecAssert2(keyKlassAndSize != NULL, NULL); buf = (char*) xmlStrdup(BAD_CAST keyKlassAndSize); if(buf == NULL) { fprintf(stderr, "Error: xmlSecStrdupError(keyKlassAndSize) failed\n"); return(NULL); } /* separate key klass and size */ p = strchr(buf, '-'); if(p == NULL) { fprintf(stderr, "Error: key size is not specified in the key definition \"%s\"\n", xmlSecErrorsSafeString(buf)); xmlFree(buf); return(NULL); } *(p++) = '\0'; size = atoi(p); if(size <= 0) { fprintf(stderr, "Error: key size should be greater than zero \"%s\"\n", xmlSecErrorsSafeString(buf)); xmlFree(buf); return(NULL); } key = xmlSecKeyGenerateByName(BAD_CAST buf, (xmlSecSize)size, type); if(key == NULL) { fprintf(stderr, "Error: xmlSecKeyGenerateByName() failed: name=%s;size=%d;type=%u\n", xmlSecErrorsSafeString(buf), size, type); xmlFree(buf); return(NULL); } ret = xmlSecKeySetName(key, BAD_CAST name); if(ret < 0) { fprintf(stderr, "Error: xmlSecKeySetName failed: name=%s\n", xmlSecErrorsSafeString(name)); xmlSecKeyDestroy(key); xmlFree(buf); return(NULL); } xmlFree(buf); return(key); } xmlsec-1.3.11/apps/crypto.h000066400000000000000000000126761517172715000155460ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library command line utility tools. */ #ifndef __XMLSEC_APPS_CRYPTO_H__ #define __XMLSEC_APPS_CRYPTO_H__ #include #include #include #include #include #include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ int xmlSecAppCryptoInit (const char* config); int xmlSecAppCryptoShutdown (void); xmlSecKeyPtr xmlSecAppCryptoKeyGenerate (const char* keyKlassAndSize, const char* name, xmlSecKeyDataType type); /****************************************************************************** * * Simple keys manager * *****************************************************************************/ int xmlSecAppCryptoSimpleKeysMngrInit (xmlSecKeysMngrPtr mngr); int xmlSecAppCryptoSimpleKeysMngrLoad (xmlSecKeysMngrPtr mngr, const char* filename); int xmlSecAppCryptoSimpleKeysMngrSave (xmlSecKeysMngrPtr mngr, const char* filename, xmlSecKeyDataType type); int xmlSecAppCryptoSimpleKeysMngrCertLoad (xmlSecKeysMngrPtr mngr, const char* filename, xmlSecKeyDataFormat format, xmlSecKeyDataType type); int xmlSecAppCryptoSimpleKeysMngrCrlLoad (xmlSecKeysMngrPtr mngr, const char* filename, xmlSecKeyDataFormat format); int xmlSecAppCryptoSimpleKeysMngrCrlLoadAndVerify (xmlSecKeysMngrPtr mngr, const char* filename, xmlSecKeyDataFormat format, xmlSecKeyInfoCtxPtr keyInfoCtx); int xmlSecAppCryptoSimpleKeysMngrKeyAndCertsLoad (xmlSecKeysMngrPtr mngr, const char* files, const char* pwd, const char* name, xmlSecKeyDataType type, xmlSecKeyDataFormat format, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey); int xmlSecAppCryptoSimpleKeysMngrEngineKeyAndCertsLoad (xmlSecKeysMngrPtr mngr, const char* engineAndKeyId, const char* certFiles, const char* pwd, const char* name, xmlSecKeyDataType type, xmlSecKeyDataFormat keyFormat, xmlSecKeyDataFormat certFormat, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey); int xmlSecAppCryptoSimpleKeysMngrPkcs12KeyLoad (xmlSecKeysMngrPtr mngr, const char* filename, const char* pwd, const char* name, xmlSecKeyInfoCtxPtr keyInfoCtx, int verifyKey); int xmlSecAppCryptoSimpleKeysMngrBinaryKeyLoad (xmlSecKeysMngrPtr mngr, const char* keyKlass, const char* filename, const char* name); int xmlSecAppCryptoSimpleKeysMngrKeyGenerate (xmlSecKeysMngrPtr mngr, const char* keyKlassAndSize, const char* name); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __XMLSEC_APPS_CRYPTO_H__ */ xmlsec-1.3.11/apps/unit_tests/000077500000000000000000000000001517172715000162425ustar00rootroot00000000000000xmlsec-1.3.11/apps/unit_tests/base64_unit_tests.c000066400000000000000000000076271517172715000217670ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library base64 encode/decode unit tests. */ #include #include #include #include /* must be included before any other xmlsec header */ #include "xmlsec_unit_tests.h" #include /* XMLSEC_EXPORT xmlChar* xmlSecBase64Encode (const xmlSecByte* in, xmlSecSize inSize, int columns); XMLSEC_EXPORT int xmlSecBase64Decode_ex (const xmlChar* str, xmlSecByte* out, xmlSecSize outSize, xmlSecSize* outWritten); */ static void test_base64_success( const char * name, const char * str, int columns, const char * expected ) { xmlSecByte decoded[256]; xmlSecSize decodedSize = 0; xmlChar * encoded; int ret; xmlSecAssert(name != NULL); xmlSecAssert(str != NULL); testStart(name); ret = xmlSecBase64Decode_ex(BAD_CAST str, decoded, sizeof(decoded), &decodedSize); if(ret < 0) { testLog("Error: base64 decode failed for '%s'\n", str); testFinishedFailure(); return; } encoded = xmlSecBase64Encode(decoded, decodedSize, columns); if(encoded == NULL) { testLog("Error: base64 encode failed for '%s'\n", str); testFinishedFailure(); return; } /* check results */ if(xmlStrcmp(encoded, (expected != NULL) ? BAD_CAST expected: BAD_CAST str) != 0) { testLog("Error: base64 encode returned in='%s' (expected: '%s')\n", (const char*)encoded, (expected != NULL) ? expected : str); xmlFree(encoded); testFinishedFailure(); return; } /* DONE */ xmlFree(encoded); testFinishedSuccess(); } static void test_base64_failure( const char * name, const char * str ) { xmlSecByte decoded[16]; xmlSecSize decodedSize = 0; int ret; xmlSecAssert(name != NULL); testStart(name); ret = xmlSecBase64Decode_ex(BAD_CAST str, decoded, sizeof(decoded), &decodedSize); if(ret >= 0) { testLog("Error: base64 decode expected to fail for '%s'\n", (str != NULL) ? str : "NULL"); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } int test_base64(void) { /* start */ testGroupStart("base64"); /* positive tests */ test_base64_success("check 1 char", "Rg==", 0, NULL); test_base64_success("check 2 chars", "Rm8=", 0, NULL); test_base64_success("check 3 chars", "Rm9v", 0, NULL); test_base64_success("check 4 chars", "Rm9vQg==", 0, NULL); test_base64_success("check 5 chars", "Rm9vQmE=", 0, NULL); test_base64_success("check 6 chars", "Rm9vQmFy", 0, NULL); test_base64_success("check multiline", "Rm9vQmFyIE\nZvb0JhciBG\nb29CYXI=", 10, NULL); test_base64_success("check multiline with space characters", "Rm9vQmFyIE\n Zvb0JhciBG\n b29CYXI=", 10, "Rm9vQmFyIE\nZvb0JhciBG\nb29CYXI="); /* negative tests */ test_base64_failure("check NULL", NULL); test_base64_failure("check missing both '='", "Rg"); test_base64_failure("check missing second '='", "Rg="); test_base64_failure("check missing first '='", "Rm8"); test_base64_failure("check output buffer too small", "Rm9vQmFyIEZvb0JhciBGb29CYXIgRm9vQmFyIEZvb0JhciBGb29CYXIgRm9vQmFyIEZvb0JhciBGb29CYXIgRm9vQmFyIA=="); test_base64_failure("check non base64 chars", "Rm9v;g=="); /* done */ return (testGroupFinished()); } xmlsec-1.3.11/apps/unit_tests/templates_unit_tests.c000066400000000000000000000731571517172715000227020ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library templates unit tests. */ #include #include #include /* must be included before any other xmlsec header */ #include "xmlsec_unit_tests.h" #include #include #include #include /* * Use core transforms (from the base library, no crypto backend needed): * xmlSecTransformInclC14NId => xmlSecTransformInclC14NGetKlass() (c14n) * xmlSecTransformEnvelopedId => xmlSecTransformEnvelopedGetKlass() (enveloped-signature) * xmlSecTransformExclC14NId => xmlSecTransformExclC14NGetKlass() (exc-c14n) * * Template functions only dereference ->href from the klass struct; they do not * require the crypto backend to be initialized. */ /****************************************************************************** * xmlSecTmplSignatureCreate *****************************************************************************/ static void test_xmlSecTmplSignatureCreate_structure(void) { xmlNodePtr signNode = NULL; xmlNodePtr signedInfoNode; xmlNodePtr signValueNode; xmlNodePtr c14nNode; xmlNodePtr signMethodNode; xmlChar* algo; testStart("xmlSecTmplSignatureCreate: creates correct node structure"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } /* root must be */ if(!xmlSecCheckNodeName(signNode, xmlSecNodeSignature, xmlSecDSigNs)) { testLog("Error: root is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } /* required: */ signedInfoNode = xmlSecFindChild(signNode, xmlSecNodeSignedInfo, xmlSecDSigNs); if(signedInfoNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } /* required: */ signValueNode = xmlSecFindChild(signNode, xmlSecNodeSignatureValue, xmlSecDSigNs); if(signValueNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } /* required: inside SignedInfo */ c14nNode = xmlSecFindChild(signedInfoNode, xmlSecNodeCanonicalizationMethod, xmlSecDSigNs); if(c14nNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } algo = xmlGetProp(c14nNode, xmlSecAttrAlgorithm); if(algo == NULL || xmlStrcmp(algo, xmlSecHrefC14N) != 0) { testLog("Error: CanonicalizationMethod Algorithm='%s', expected '%s'\n", algo ? (char*)algo : "NULL", (char*)xmlSecHrefC14N); xmlFree(algo); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(algo); /* required: inside SignedInfo */ signMethodNode = xmlSecFindChild(signedInfoNode, xmlSecNodeSignatureMethod, xmlSecDSigNs); if(signMethodNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } algo = xmlGetProp(signMethodNode, xmlSecAttrAlgorithm); if(algo == NULL || xmlStrcmp(algo, xmlSecHrefEnveloped) != 0) { testLog("Error: SignatureMethod Algorithm='%s', expected '%s'\n", algo ? (char*)algo : "NULL", (char*)xmlSecHrefEnveloped); xmlFree(algo); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(algo); xmlFreeNode(signNode); testFinishedSuccess(); } static void test_xmlSecTmplSignatureCreate_with_id(void) { xmlNodePtr signNode = NULL; xmlChar* id; testStart("xmlSecTmplSignatureCreate: Id attribute is set when provided"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, BAD_CAST "sig1"); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } id = xmlGetProp(signNode, BAD_CAST "Id"); if(id == NULL || xmlStrcmp(id, BAD_CAST "sig1") != 0) { testLog("Error: expected Id='sig1', got '%s'\n", id ? (char*)id : "NULL"); xmlFree(id); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(id); xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplSignatureCreateNsPref *****************************************************************************/ static void test_xmlSecTmplSignatureCreateNsPref_prefix_applied(void) { xmlNodePtr signNode = NULL; xmlNsPtr ns; testStart("xmlSecTmplSignatureCreateNsPref: namespace prefix is applied"); signNode = xmlSecTmplSignatureCreateNsPref(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL, BAD_CAST "dsig"); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreateNsPref returned NULL\n"); testFinishedFailure(); return; } /* The Signature node's namespace should have the requested prefix */ ns = signNode->ns; if(ns == NULL || ns->prefix == NULL || xmlStrcmp(ns->prefix, BAD_CAST "dsig") != 0) { testLog("Error: expected ns prefix 'dsig', got '%s'\n", (ns && ns->prefix) ? (char*)ns->prefix : "NULL"); xmlFreeNode(signNode); testFinishedFailure(); return; } if(xmlStrcmp(ns->href, xmlSecDSigNs) != 0) { testLog("Error: expected ns href '%s', got '%s'\n", (char*)xmlSecDSigNs, ns->href ? (char*)ns->href : "NULL"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } static void test_xmlSecTmplSignatureCreateNsPref_null_prefix(void) { xmlNodePtr signNode = NULL; testStart("xmlSecTmplSignatureCreateNsPref: NULL prefix produces valid node"); signNode = xmlSecTmplSignatureCreateNsPref(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreateNsPref returned NULL\n"); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(signNode, xmlSecNodeSignature, xmlSecDSigNs)) { testLog("Error: result is not a valid node\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplSignatureGetSignMethodNode / xmlSecTmplSignatureGetC14NMethodNode *****************************************************************************/ static void test_xmlSecTmplSignatureGetSignMethodNode(void) { xmlNodePtr signNode = NULL; xmlNodePtr methodNode; xmlChar* algo; testStart("xmlSecTmplSignatureGetSignMethodNode: returns SignatureMethod node"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } methodNode = xmlSecTmplSignatureGetSignMethodNode(signNode); if(methodNode == NULL) { testLog("Error: xmlSecTmplSignatureGetSignMethodNode returned NULL\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(methodNode, xmlSecNodeSignatureMethod, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } algo = xmlGetProp(methodNode, xmlSecAttrAlgorithm); if(algo == NULL || xmlStrcmp(algo, xmlSecHrefEnveloped) != 0) { testLog("Error: SignatureMethod Algorithm mismatch\n"); xmlFree(algo); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(algo); xmlFreeNode(signNode); testFinishedSuccess(); } static void test_xmlSecTmplSignatureGetC14NMethodNode(void) { xmlNodePtr signNode = NULL; xmlNodePtr methodNode; xmlChar* algo; testStart("xmlSecTmplSignatureGetC14NMethodNode: returns CanonicalizationMethod node"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } methodNode = xmlSecTmplSignatureGetC14NMethodNode(signNode); if(methodNode == NULL) { testLog("Error: xmlSecTmplSignatureGetC14NMethodNode returned NULL\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(methodNode, xmlSecNodeCanonicalizationMethod, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } algo = xmlGetProp(methodNode, xmlSecAttrAlgorithm); if(algo == NULL || xmlStrcmp(algo, xmlSecHrefC14N) != 0) { testLog("Error: CanonicalizationMethod Algorithm mismatch\n"); xmlFree(algo); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(algo); xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplSignatureEnsureKeyInfo *****************************************************************************/ static void test_xmlSecTmplSignatureEnsureKeyInfo_adds_node(void) { xmlNodePtr signNode = NULL; xmlNodePtr keyInfoNode; testStart("xmlSecTmplSignatureEnsureKeyInfo: adds KeyInfo when absent"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } /* initially no KeyInfo */ if(xmlSecFindChild(signNode, xmlSecNodeKeyInfo, xmlSecDSigNs) != NULL) { testLog("Error: unexpected KeyInfo present before ensure call\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } keyInfoNode = xmlSecTmplSignatureEnsureKeyInfo(signNode, NULL); if(keyInfoNode == NULL) { testLog("Error: xmlSecTmplSignatureEnsureKeyInfo returned NULL\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(keyInfoNode, xmlSecNodeKeyInfo, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } static void test_xmlSecTmplSignatureEnsureKeyInfo_idempotent(void) { xmlNodePtr signNode = NULL; xmlNodePtr keyInfoNode1; xmlNodePtr keyInfoNode2; testStart("xmlSecTmplSignatureEnsureKeyInfo: second call returns same node"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } keyInfoNode1 = xmlSecTmplSignatureEnsureKeyInfo(signNode, NULL); keyInfoNode2 = xmlSecTmplSignatureEnsureKeyInfo(signNode, NULL); if(keyInfoNode1 == NULL || keyInfoNode2 == NULL || keyInfoNode1 != keyInfoNode2) { testLog("Error: expected same KeyInfo node on second call\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplSignatureAddReference *****************************************************************************/ static void test_xmlSecTmplSignatureAddReference_with_uri(void) { xmlNodePtr signNode = NULL; xmlNodePtr refNode; xmlNodePtr digestMethodNode; xmlChar* attr; testStart("xmlSecTmplSignatureAddReference: creates Reference with URI and DigestMethod"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } refNode = xmlSecTmplSignatureAddReference(signNode, xmlSecTransformInclC14NId, BAD_CAST "ref1", BAD_CAST "#data", NULL); if(refNode == NULL) { testLog("Error: xmlSecTmplSignatureAddReference returned NULL\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } /* check Reference node name / namespace */ if(!xmlSecCheckNodeName(refNode, xmlSecNodeReference, xmlSecDSigNs)) { testLog("Error: result is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } /* check URI attribute */ attr = xmlGetProp(refNode, xmlSecAttrURI); if(attr == NULL || xmlStrcmp(attr, BAD_CAST "#data") != 0) { testLog("Error: expected URI='#data', got '%s'\n", attr ? (char*)attr : "NULL"); xmlFree(attr); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(attr); /* check Id attribute */ attr = xmlGetProp(refNode, xmlSecAttrId); if(attr == NULL || xmlStrcmp(attr, BAD_CAST "ref1") != 0) { testLog("Error: expected Id='ref1', got '%s'\n", attr ? (char*)attr : "NULL"); xmlFree(attr); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(attr); /* check DigestMethod child with Algorithm attribute */ digestMethodNode = xmlSecFindChild(refNode, xmlSecNodeDigestMethod, xmlSecDSigNs); if(digestMethodNode == NULL) { testLog("Error: not found inside Reference\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } attr = xmlGetProp(digestMethodNode, xmlSecAttrAlgorithm); if(attr == NULL || xmlStrcmp(attr, xmlSecHrefC14N) != 0) { testLog("Error: DigestMethod Algorithm mismatch: '%s'\n", attr ? (char*)attr : "NULL"); xmlFree(attr); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFree(attr); xmlFreeNode(signNode); testFinishedSuccess(); } static void test_xmlSecTmplSignatureAddReference_multiple(void) { xmlNodePtr signNode = NULL; xmlNodePtr ref1, ref2; testStart("xmlSecTmplSignatureAddReference: can add multiple references"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } ref1 = xmlSecTmplSignatureAddReference(signNode, xmlSecTransformInclC14NId, BAD_CAST "r1", BAD_CAST "#d1", NULL); ref2 = xmlSecTmplSignatureAddReference(signNode, xmlSecTransformInclC14NId, BAD_CAST "r2", BAD_CAST "#d2", NULL); if(ref1 == NULL || ref2 == NULL || ref1 == ref2) { testLog("Error: expected two distinct Reference nodes\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplEncDataCreate *****************************************************************************/ static void test_xmlSecTmplEncDataCreate_structure(void) { xmlNodePtr encNode = NULL; xmlNodePtr methodNode; xmlNodePtr cipherDataNode; xmlChar* algo; testStart("xmlSecTmplEncDataCreate: creates correct EncryptedData structure"); encNode = xmlSecTmplEncDataCreate(NULL, xmlSecTransformExclC14NId, BAD_CAST "enc1", NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } /* root must be */ if(!xmlSecCheckNodeName(encNode, xmlSecNodeEncryptedData, xmlSecEncNs)) { testLog("Error: root is not \n"); xmlFreeNode(encNode); testFinishedFailure(); return; } /* required: */ methodNode = xmlSecFindChild(encNode, xmlSecNodeEncryptionMethod, xmlSecEncNs); if(methodNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } algo = xmlGetProp(methodNode, xmlSecAttrAlgorithm); if(algo == NULL || xmlStrcmp(algo, xmlSecHrefExcC14N) != 0) { testLog("Error: EncryptionMethod Algorithm='%s', expected '%s'\n", algo ? (char*)algo : "NULL", (char*)xmlSecHrefExcC14N); xmlFree(algo); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFree(algo); /* required: */ cipherDataNode = xmlSecFindChild(encNode, xmlSecNodeCipherData, xmlSecEncNs); if(cipherDataNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } /* check Id attribute is set */ algo = xmlGetProp(encNode, xmlSecAttrId); if(algo == NULL || xmlStrcmp(algo, BAD_CAST "enc1") != 0) { testLog("Error: expected Id='enc1', got '%s'\n", algo ? (char*)algo : "NULL"); xmlFree(algo); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFree(algo); xmlFreeNode(encNode); testFinishedSuccess(); } static void test_xmlSecTmplEncDataCreate_null_method(void) { xmlNodePtr encNode = NULL; xmlNodePtr methodNode; xmlNodePtr cipherDataNode; testStart("xmlSecTmplEncDataCreate: NULL encMethodId omits EncryptionMethod child"); encNode = xmlSecTmplEncDataCreate(NULL, NULL, NULL, NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } /* no EncryptionMethod when method is NULL */ methodNode = xmlSecFindChild(encNode, xmlSecNodeEncryptionMethod, xmlSecEncNs); if(methodNode != NULL) { testLog("Error: unexpected with NULL encMethodId\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } /* CipherData must still be present */ cipherDataNode = xmlSecFindChild(encNode, xmlSecNodeCipherData, xmlSecEncNs); if(cipherDataNode == NULL) { testLog("Error: not found\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFreeNode(encNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplEncDataEnsureCipherValue *****************************************************************************/ static void test_xmlSecTmplEncDataEnsureCipherValue_adds_node(void) { xmlNodePtr encNode = NULL; xmlNodePtr cipherValueNode; testStart("xmlSecTmplEncDataEnsureCipherValue: adds CipherValue inside CipherData"); encNode = xmlSecTmplEncDataCreate(NULL, xmlSecTransformExclC14NId, NULL, NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } cipherValueNode = xmlSecTmplEncDataEnsureCipherValue(encNode); if(cipherValueNode == NULL) { testLog("Error: xmlSecTmplEncDataEnsureCipherValue returned NULL\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(cipherValueNode, xmlSecNodeCipherValue, xmlSecEncNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFreeNode(encNode); testFinishedSuccess(); } static void test_xmlSecTmplEncDataEnsureCipherValue_idempotent(void) { xmlNodePtr encNode = NULL; xmlNodePtr cv1, cv2; testStart("xmlSecTmplEncDataEnsureCipherValue: second call returns same node"); encNode = xmlSecTmplEncDataCreate(NULL, xmlSecTransformExclC14NId, NULL, NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } cv1 = xmlSecTmplEncDataEnsureCipherValue(encNode); cv2 = xmlSecTmplEncDataEnsureCipherValue(encNode); if(cv1 == NULL || cv2 == NULL || cv1 != cv2) { testLog("Error: expected same CipherValue node on second call\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFreeNode(encNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplEncDataEnsureKeyInfo *****************************************************************************/ static void test_xmlSecTmplEncDataEnsureKeyInfo_adds_node(void) { xmlNodePtr encNode = NULL; xmlNodePtr keyInfoNode; testStart("xmlSecTmplEncDataEnsureKeyInfo: adds KeyInfo before CipherData"); encNode = xmlSecTmplEncDataCreate(NULL, xmlSecTransformExclC14NId, NULL, NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } /* initially no KeyInfo */ if(xmlSecFindChild(encNode, xmlSecNodeKeyInfo, xmlSecDSigNs) != NULL) { testLog("Error: unexpected KeyInfo before ensure call\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } keyInfoNode = xmlSecTmplEncDataEnsureKeyInfo(encNode, NULL); if(keyInfoNode == NULL) { testLog("Error: xmlSecTmplEncDataEnsureKeyInfo returned NULL\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(keyInfoNode, xmlSecNodeKeyInfo, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFreeNode(encNode); testFinishedSuccess(); } static void test_xmlSecTmplEncDataEnsureKeyInfo_idempotent(void) { xmlNodePtr encNode = NULL; xmlNodePtr ki1, ki2; testStart("xmlSecTmplEncDataEnsureKeyInfo: second call returns same node"); encNode = xmlSecTmplEncDataCreate(NULL, xmlSecTransformExclC14NId, NULL, NULL, NULL, NULL); if(encNode == NULL) { testLog("Error: xmlSecTmplEncDataCreate returned NULL\n"); testFinishedFailure(); return; } ki1 = xmlSecTmplEncDataEnsureKeyInfo(encNode, NULL); ki2 = xmlSecTmplEncDataEnsureKeyInfo(encNode, NULL); if(ki1 == NULL || ki2 == NULL || ki1 != ki2) { testLog("Error: expected same KeyInfo node on second call\n"); xmlFreeNode(encNode); testFinishedFailure(); return; } xmlFreeNode(encNode); testFinishedSuccess(); } /****************************************************************************** * xmlSecTmplKeyInfoAddKeyName *****************************************************************************/ static void test_xmlSecTmplKeyInfoAddKeyName_with_name(void) { xmlDocPtr doc = NULL; xmlNodePtr signNode = NULL; xmlNodePtr keyInfoNode; xmlNodePtr keyNameNode; xmlChar* content; testStart("xmlSecTmplKeyInfoAddKeyName: adds KeyName with correct content"); /* xmlSecNodeEncodeAndSetContent requires node->doc != NULL, so create a * real document and attach the signature node to it. */ doc = xmlNewDoc(BAD_CAST "1.0"); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } signNode = xmlSecTmplSignatureCreate(doc, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlDocSetRootElement(doc, signNode); keyInfoNode = xmlSecTmplSignatureEnsureKeyInfo(signNode, NULL); if(keyInfoNode == NULL) { testLog("Error: xmlSecTmplSignatureEnsureKeyInfo returned NULL\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } keyNameNode = xmlSecTmplKeyInfoAddKeyName(keyInfoNode, BAD_CAST "my-key-name"); if(keyNameNode == NULL) { testLog("Error: xmlSecTmplKeyInfoAddKeyName returned NULL\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(keyNameNode, xmlSecNodeKeyName, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeDoc(doc); testFinishedFailure(); return; } content = xmlNodeGetContent(keyNameNode); if(content == NULL || xmlStrcmp(content, BAD_CAST "my-key-name") != 0) { testLog("Error: expected KeyName content 'my-key-name', got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTmplKeyInfoAddKeyName_null_name(void) { xmlNodePtr signNode = NULL; xmlNodePtr keyInfoNode; xmlNodePtr keyNameNode; testStart("xmlSecTmplKeyInfoAddKeyName: NULL name produces empty KeyName"); signNode = xmlSecTmplSignatureCreate(NULL, xmlSecTransformInclC14NId, xmlSecTransformEnvelopedId, NULL); if(signNode == NULL) { testLog("Error: xmlSecTmplSignatureCreate returned NULL\n"); testFinishedFailure(); return; } keyInfoNode = xmlSecTmplSignatureEnsureKeyInfo(signNode, NULL); if(keyInfoNode == NULL) { testLog("Error: xmlSecTmplSignatureEnsureKeyInfo returned NULL\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } keyNameNode = xmlSecTmplKeyInfoAddKeyName(keyInfoNode, NULL); if(keyNameNode == NULL) { testLog("Error: xmlSecTmplKeyInfoAddKeyName returned NULL for NULL name\n"); xmlFreeNode(signNode); testFinishedFailure(); return; } if(!xmlSecCheckNodeName(keyNameNode, xmlSecNodeKeyName, xmlSecDSigNs)) { testLog("Error: returned node is not \n"); xmlFreeNode(signNode); testFinishedFailure(); return; } xmlFreeNode(signNode); testFinishedSuccess(); } /****************************************************************************** * exported entry point *****************************************************************************/ int test_templates(void) { int success = 1; testGroupStart("xmlSecTmplSignatureCreate"); test_xmlSecTmplSignatureCreate_structure(); test_xmlSecTmplSignatureCreate_with_id(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplSignatureCreateNsPref"); test_xmlSecTmplSignatureCreateNsPref_prefix_applied(); test_xmlSecTmplSignatureCreateNsPref_null_prefix(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplSignatureGetMethodNodes"); test_xmlSecTmplSignatureGetSignMethodNode(); test_xmlSecTmplSignatureGetC14NMethodNode(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplSignatureEnsureKeyInfo"); test_xmlSecTmplSignatureEnsureKeyInfo_adds_node(); test_xmlSecTmplSignatureEnsureKeyInfo_idempotent(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplSignatureAddReference"); test_xmlSecTmplSignatureAddReference_with_uri(); test_xmlSecTmplSignatureAddReference_multiple(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplEncDataCreate"); test_xmlSecTmplEncDataCreate_structure(); test_xmlSecTmplEncDataCreate_null_method(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplEncDataEnsureCipherValue"); test_xmlSecTmplEncDataEnsureCipherValue_adds_node(); test_xmlSecTmplEncDataEnsureCipherValue_idempotent(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplEncDataEnsureKeyInfo"); test_xmlSecTmplEncDataEnsureKeyInfo_adds_node(); test_xmlSecTmplEncDataEnsureKeyInfo_idempotent(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecTmplKeyInfoAddKeyName"); test_xmlSecTmplKeyInfoAddKeyName_with_name(); test_xmlSecTmplKeyInfoAddKeyName_null_name(); if(testGroupFinished() != 1) { success = 0; } return(success); } xmlsec-1.3.11/apps/unit_tests/transform_helpers_unit_tests.c000066400000000000000000000275341517172715000244370ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library transform helpers unit tests. */ #include #include #include #include #include #include "xmlsec_unit_tests.h" #include #include #include "../src/transform_helpers.h" #ifndef XMLSEC_NO_CHACHA20 static xmlNodePtr xmlSecUnitTestParseNode(const char* xml, xmlDocPtr* doc) { xmlNodePtr node; xmlSecAssert2(xml != NULL, NULL); xmlSecAssert2(doc != NULL, NULL); (*doc) = xmlReadMemory(xml, (int)strlen(xml), "transform-helpers.xml", NULL, XML_PARSE_NONET | XML_PARSE_NOBLANKS); if((*doc) == NULL) { testLog("Error: failed to parse XML\n"); return(NULL); } node = xmlDocGetRootElement((*doc)); if(node == NULL) { testLog("Error: parsed XML does not have a root node\n"); xmlFreeDoc((*doc)); (*doc) = NULL; return(NULL); } return(node); } static xmlNodePtr xmlSecUnitTestFindChild(xmlNodePtr node, const xmlChar* name) { xmlNodePtr cur; xmlSecAssert2(node != NULL, NULL); xmlSecAssert2(name != NULL, NULL); for(cur = xmlSecGetNextElementNode(node->children); cur != NULL; cur = xmlSecGetNextElementNode(cur->next)) { if(xmlSecCheckNodeName(cur, name, xmlSecXmldsig2021MoreNs)) { return(cur); } } return(NULL); } static void test_xmlSecTransformChaCha20ParamsRead_missing_nonce(void) { static const char xml[] = "" "01020304" ""; xmlDocPtr doc = NULL; xmlNodePtr node; xmlSecByte iv[XMLSEC_CHACHA20_IV_SIZE]; xmlSecSize ivSize = 0; int noncePresent = 0; int ret; testStart("ChaCha20 read missing nonce"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } memset(iv, 0xFF, sizeof(iv)); ret = xmlSecTransformChaCha20ParamsRead(node, iv, sizeof(iv), &ivSize, &noncePresent); if((ret < 0) || (ivSize != XMLSEC_CHACHA20_IV_SIZE) || (noncePresent != 0) || (memcmp(iv, "\x01\x02\x03\x04", XMLSEC_CHACHA20_COUNTER_SIZE) != 0) || (memcmp(iv + XMLSEC_CHACHA20_COUNTER_SIZE, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", XMLSEC_CHACHA20_NONCE_SIZE) != 0)) { testLog("Error: ChaCha20 params read did not accept missing nonce with required counter\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTransformChaCha20ParamsRead_missing_counter(void) { static const char xml[] = "" "000102030405060708090a0b" ""; xmlDocPtr doc = NULL; xmlNodePtr node; xmlSecByte iv[XMLSEC_CHACHA20_IV_SIZE]; xmlSecSize ivSize = 0; int noncePresent = 0; int ret; testStart("ChaCha20 read missing counter"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } memset(iv, 0xFF, sizeof(iv)); ret = xmlSecTransformChaCha20ParamsRead(node, iv, sizeof(iv), &ivSize, &noncePresent); if(ret >= 0) { testLog("Error: ChaCha20 params read accepted missing counter\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTransformChaCha20ParamsRead_missing_nonce_strict(void) { static const char xml[] = "" "01020304" ""; xmlDocPtr doc = NULL; xmlNodePtr node; xmlSecByte iv[XMLSEC_CHACHA20_IV_SIZE]; int noncePresent = 0; xmlSecSize ivSize = 0; int ret; testStart("ChaCha20 read missing nonce strict"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } memset(iv, 0xFF, sizeof(iv)); ret = xmlSecTransformChaCha20ParamsRead(node, iv, sizeof(iv), &ivSize, &noncePresent); if((ret < 0) || (ivSize != XMLSEC_CHACHA20_IV_SIZE) || (noncePresent != 0) || (memcmp(iv, "\x01\x02\x03\x04", XMLSEC_CHACHA20_COUNTER_SIZE) != 0) || (memcmp(iv + XMLSEC_CHACHA20_COUNTER_SIZE, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", XMLSEC_CHACHA20_NONCE_SIZE) != 0)) { testLog("Error: ChaCha20 params read did not accept missing nonce with required counter\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTransformChaCha20ParamsWrite_roundtrip(void) { static const char xml[] = ""; static const xmlSecByte iv[XMLSEC_CHACHA20_IV_SIZE] = { 0x01, 0x02, 0x03, 0x04, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B }; xmlDocPtr doc = NULL; xmlNodePtr node; xmlNodePtr nonceNode; xmlNodePtr counterNode; xmlChar* nonceContent; xmlChar* counterContent; xmlSecByte ivRoundTrip[XMLSEC_CHACHA20_IV_SIZE]; xmlSecSize ivSize = 0; int noncePresent = 0; int ret; testStart("ChaCha20 write roundtrip"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } ret = xmlSecTransformChaCha20ParamsWrite(node, iv, sizeof(iv)); if(ret < 0) { testLog("Error: failed to write ChaCha20 params\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } nonceNode = xmlSecUnitTestFindChild(node, xmlSecNodeChaCha20Nonce); counterNode = xmlSecUnitTestFindChild(node, xmlSecNodeChaCha20Counter); if((nonceNode == NULL) || (counterNode == NULL)) { testLog("Error: ChaCha20 params write did not create both nodes\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } nonceContent = xmlNodeGetContent(nonceNode); counterContent = xmlNodeGetContent(counterNode); if((nonceContent == NULL) || (counterContent == NULL) || (xmlStrcmp(nonceContent, BAD_CAST "000102030405060708090a0b") != 0) || (xmlStrcmp(counterContent, BAD_CAST "01020304") != 0)) { testLog("Error: ChaCha20 params write serialized unexpected values\n"); xmlFree(nonceContent); xmlFree(counterContent); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(nonceContent); xmlFree(counterContent); ret = xmlSecTransformChaCha20ParamsRead(node, ivRoundTrip, sizeof(ivRoundTrip), &ivSize, &noncePresent); if((ret < 0) || (ivSize != XMLSEC_CHACHA20_IV_SIZE) || (memcmp(ivRoundTrip, iv, sizeof(iv)) != 0)) { testLog("Error: ChaCha20 params write did not round-trip through strict read\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTransformChaCha20Poly1305ParamsWrite_roundtrip(void) { static const char xml[] = ""; static const xmlSecByte iv[XMLSEC_CHACHA20_NONCE_SIZE] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B }; xmlDocPtr doc = NULL; xmlNodePtr node; xmlNodePtr nonceNode; xmlChar* nonceContent; xmlSecBuffer aad; xmlSecByte ivRoundTrip[XMLSEC_CHACHA20_NONCE_SIZE]; xmlSecSize ivSize = 0; int noncePresent = 0; int ret; testStart("ChaCha20-Poly1305 write roundtrip"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } ret = xmlSecTransformChaCha20Poly1305ParamsWrite(node, iv, sizeof(iv)); if(ret < 0) { testLog("Error: failed to write ChaCha20-Poly1305 params\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } nonceNode = xmlSecUnitTestFindChild(node, xmlSecNodeChaCha20Nonce); if(nonceNode == NULL) { testLog("Error: ChaCha20-Poly1305 params write did not create nonce node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } nonceContent = xmlNodeGetContent(nonceNode); if((nonceContent == NULL) || (xmlStrcmp(nonceContent, BAD_CAST "000102030405060708090a0b") != 0)) { testLog("Error: ChaCha20-Poly1305 params write serialized unexpected nonce\n"); xmlDebugDumpDocument(stdout, doc); xmlFree(nonceContent); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(nonceContent); ret = xmlSecBufferInitialize(&aad, 0); if(ret < 0) { testLog("Error: failed to initialize AAD buffer\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } ret = xmlSecTransformChaCha20Poly1305ParamsRead(node, &aad, ivRoundTrip, sizeof(ivRoundTrip), &ivSize, &noncePresent); xmlSecBufferFinalize(&aad); if((ret < 0) || (ivSize != XMLSEC_CHACHA20_NONCE_SIZE) || (noncePresent != 1) || (memcmp(ivRoundTrip, iv, sizeof(iv)) != 0)) { testLog("Error: ChaCha20-Poly1305 params write did not round-trip through strict read\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecTransformChaCha20Poly1305ParamsRead_missing_nonce(void) { static const char xml[] = ""; xmlDocPtr doc = NULL; xmlNodePtr node; xmlSecBuffer aad; xmlSecByte iv[XMLSEC_CHACHA20_NONCE_SIZE]; xmlSecSize ivSize = 0; int noncePresent = 1; int ret; testStart("ChaCha20-Poly1305 read missing nonce"); node = xmlSecUnitTestParseNode(xml, &doc); if(node == NULL) { testFinishedFailure(); return; } ret = xmlSecBufferInitialize(&aad, 0); if(ret < 0) { testLog("Error: failed to initialize AAD buffer\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } memset(iv, 0xFF, sizeof(iv)); ret = xmlSecTransformChaCha20Poly1305ParamsRead(node, &aad, iv, sizeof(iv), &ivSize, &noncePresent); xmlSecBufferFinalize(&aad); if((ret < 0) || (ivSize != XMLSEC_CHACHA20_NONCE_SIZE) || (noncePresent != 0) || (memcmp(iv, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", XMLSEC_CHACHA20_NONCE_SIZE) != 0)) { testLog("Error: ChaCha20-Poly1305 params read did not accept missing nonce\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } #endif /* XMLSEC_NO_CHACHA20 */ int test_transform_helpers(void) { #ifndef XMLSEC_NO_CHACHA20 testGroupStart("transform helpers"); test_xmlSecTransformChaCha20ParamsRead_missing_nonce(); test_xmlSecTransformChaCha20ParamsRead_missing_counter(); test_xmlSecTransformChaCha20ParamsRead_missing_nonce_strict(); test_xmlSecTransformChaCha20ParamsWrite_roundtrip(); test_xmlSecTransformChaCha20Poly1305ParamsRead_missing_nonce(); test_xmlSecTransformChaCha20Poly1305ParamsWrite_roundtrip(); return(testGroupFinished()); #else return(1); #endif /* XMLSEC_NO_CHACHA20 */ } xmlsec-1.3.11/apps/unit_tests/x509_unit_tests.c000066400000000000000000000434431517172715000214040ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library x509 utils unit tests. */ #include #include #include #include /* must be included before any other xmlsec header */ #include "xmlsec_unit_tests.h" #include "../src/x509_helpers.h" /****************************************************************************** * test_xmlSecX509EscapedStringRead *****************************************************************************/ static void test_xmlSecX509EscapedStringRead_success( const char * name, const char * str, const char delim, int ingoreTrailingSpaces, const char* expectedIn, const char* expectedOut ) { const xmlChar *inStr; xmlSecSize size, inSize; int len; xmlChar out[256]; xmlSecSize outSize; int ret; xmlSecAssert(name != NULL); xmlSecAssert(str != NULL); testStart(name); len = xmlStrlen(BAD_CAST str); XMLSEC_SAFE_CAST_INT_TO_SIZE(len, size, return, NULL); inStr = BAD_CAST str; inSize = size; outSize = 0; ret = xmlSecX509EscapedStringRead(&inStr, &inSize, out, sizeof(out) - 1, &outSize, (xmlChar)delim, ingoreTrailingSpaces); if(ret < 0) { testLog("Error: xmlSecX509EscapedStringRead failed for '%s'\n", str); testFinishedFailure(); return; } out[outSize] = '\0'; /* check results */ if(xmlStrcmp(inStr, BAD_CAST expectedIn) != 0) { testLog("Error: xmlSecX509EscapedStringRead returned in='%s' (expected: '%s')\n", (const char*)inStr, expectedIn); testFinishedFailure(); return; } if(xmlStrcmp(out, BAD_CAST expectedOut) != 0) { testLog("Error: xmlSecX509EscapedStringRead returned out='%s' (expected: '%s')\n", (const char*)out, expectedOut); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } static void test_xmlSecX509EscapedStringRead_failure( const char * name, const char * str, const char delim, int ingoreTrailingSpaces ) { const xmlChar *inStr; xmlSecSize size, inSize; int len; xmlChar out[16]; xmlSecSize outSize; int ret; xmlSecAssert(name != NULL); testStart(name); len = xmlStrlen(BAD_CAST str); XMLSEC_SAFE_CAST_INT_TO_SIZE(len, size, return, NULL); inStr = BAD_CAST str; inSize = size; outSize = 0; ret = xmlSecX509EscapedStringRead(&inStr, &inSize, out, sizeof(out) - 1, &outSize, (xmlChar)delim, ingoreTrailingSpaces); if(ret >= 0) { testLog("Error: xmlSecX509EscapedStringRead expected to fail for '%s'\n", (str != NULL) ? str : "NULL"); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } int test_xmlSecX509EscapedStringRead(void) { /* start */ testGroupStart("xmlSecX509EscapedStringRead"); /* positive tests */ test_xmlSecX509EscapedStringRead_success("check empty string", "=", '=', 0, "=", ""); test_xmlSecX509EscapedStringRead_success("check end of line with trailing spaces", "Foo Bar ", '=', 0, "", "Foo Bar "); test_xmlSecX509EscapedStringRead_success("check end of line without trailing spaces", "Foo Bar ", '=', 1, "", "Foo Bar"); test_xmlSecX509EscapedStringRead_success("check with trailing spaces", "Foo Bar =Value", '=', 0, "=Value", "Foo Bar "); test_xmlSecX509EscapedStringRead_success("check without trailing spaces", "Foo Bar =Value", '=', 1, "=Value", "Foo Bar"); test_xmlSecX509EscapedStringRead_success("check \\ converted to ", "Fo\\o Bar=Value", '=', 0, "=Value", "Foo Bar"); test_xmlSecX509EscapedStringRead_success("check \\XXX converted to ", "Fo\\6F Bar=Value", '=', 0, "=Value", "Foo Bar"); /* negative tests */ test_xmlSecX509EscapedStringRead_failure("check NULL", NULL, '=', 0); test_xmlSecX509EscapedStringRead_failure("check bad hex char", "Foo\\6XBar", '=', 0); test_xmlSecX509EscapedStringRead_failure("check output buffer too small", "FooBarFooBarFooBarFooBarFooBarFooBarFooBarFooBarFooBar=Value", '=', 0); /* done */ return (testGroupFinished()); } /****************************************************************************** * test_xmlSecX509AttrValueStringRead *****************************************************************************/ static void test_xmlSecX509AttrValueStringRead_success( const char * name, const char * str, const char delim, int ingoreTrailingSpaces, const char* expectedIn, const char* expectedOut, int expectedType ) { const xmlChar *inStr; xmlSecSize size, inSize; int len; xmlChar out[256]; xmlSecSize outSize; int type = -1; int ret; xmlSecAssert(name != NULL); xmlSecAssert(str != NULL); testStart(name); len = xmlStrlen(BAD_CAST str); XMLSEC_SAFE_CAST_INT_TO_SIZE(len, size, return, NULL); inStr = BAD_CAST str; inSize = size; outSize = 0; ret = xmlSecX509AttrValueStringRead(&inStr, &inSize, out, sizeof(out) - 1, &outSize, &type, (xmlChar)delim, ingoreTrailingSpaces); if(ret < 0) { testLog("Error: xmlSecX509AttrValueStringRead failed for '%s'\n", str); testFinishedFailure(); return; } out[outSize] = '\0'; /* check results */ if(xmlStrcmp(inStr, BAD_CAST expectedIn) != 0) { testLog("Error: xmlSecX509AttrValueStringRead returned in='%s' (expected: '%s')\n", (const char*)inStr, expectedIn); testFinishedFailure(); return; } if(xmlStrcmp(out, BAD_CAST expectedOut) != 0) { testLog("Error: xmlSecX509AttrValueStringRead returned out='%s' (expected: '%s')\n", (const char*)out, expectedOut); testFinishedFailure(); return; } if(type != expectedType) { testLog("Error: xmlSecX509AttrValueStringRead returned type='%d' (expected: '%d')\n", type, expectedType); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } static void test_xmlSecX509AttrValueStringRead_failure( const char * name, const char * str, const char delim, int ingoreTrailingSpaces ) { const xmlChar *inStr; xmlSecSize size, inSize; int len; xmlChar out[16]; xmlSecSize outSize; int type = -1; int ret; xmlSecAssert(name != NULL); testStart(name); len = xmlStrlen(BAD_CAST str); XMLSEC_SAFE_CAST_INT_TO_SIZE(len, size, return, NULL); inStr = BAD_CAST str; inSize = size; outSize = 0; ret = xmlSecX509AttrValueStringRead(&inStr, &inSize, out, sizeof(out) - 1, &outSize, &type, (xmlChar)delim, ingoreTrailingSpaces); if(ret >= 0) { testLog("Error: xmlSecX509AttrValueStringRead expected to fail for '%s'\n", (str != NULL) ? str : "NULL"); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } int test_xmlSecX509AttrValueStringRead(void) { /* start */ testGroupStart("xmlSecX509AttrValueStringRead"); /* positive tests */ test_xmlSecX509AttrValueStringRead_success("check empty string", ",", ',', 0, ",", "", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check end of line with trailing spaces", "Foo Bar ", ',', 0, "", "Foo Bar ", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check end of line without trailing spaces", "Foo Bar ", ',', 1, "", "Foo Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check with trailing spaces", "Foo Bar ,name=value", ',', 0, ",name=value", "Foo Bar ", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check without trailing spaces", "Foo Bar ,name=value", ',', 1, ",name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check quoted end of line", "\"Foo Bar \"", ',', 0, "", "Foo Bar ", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check quoted with trailing spaces inside quotes", "\"Foo Bar \",name=value", ',', 0, ",name=value", "Foo Bar ", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check quoted without trailing spaces inside quotes", "\"Foo Bar \",name=value", ',', 1, ",name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check quoted with trailing spaces outside quotes", "\"Foo Bar \" ,name=value", ',', 0, " ,name=value", "Foo Bar ", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check quoted without trailing spaces outside quotes", "\"Foo Bar \" ,name=value", ',', 1, ",name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509AttrValueStringRead_success("check octet/hex", "#466F6F20426172,name=value", ',', 1, ",name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_OCTET_STRING); test_xmlSecX509AttrValueStringRead_success("check octet/hex end of line", "#466F6F20426172", ',', 1, "", "Foo Bar", XMLSEC_X509_VALUE_TYPE_OCTET_STRING); test_xmlSecX509AttrValueStringRead_success("check octet/hex with trailing spaces", "#466F6F20426172 ,name=value", ',', 0, " ,name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_OCTET_STRING); test_xmlSecX509AttrValueStringRead_success("check octet/hex without trailing spaces", "#466F6F20426172 ,name=value", ',', 1, ",name=value", "Foo Bar", XMLSEC_X509_VALUE_TYPE_OCTET_STRING); /* negative tests */ test_xmlSecX509AttrValueStringRead_failure("check NULL", NULL, ',', 0); test_xmlSecX509AttrValueStringRead_failure("check bad escaping", "\"Foo\6XBar ,name=value", ',', 0); test_xmlSecX509AttrValueStringRead_failure("check missing closing quote", "\"Foo Bar ,name=value", ',', 0); test_xmlSecX509AttrValueStringRead_failure("check output buffer too small", "FooBarFooBarFooBarFooBarFooBarFooBarFooBarFooBarFooBar=Value", ',', 0); test_xmlSecX509AttrValueStringRead_failure("check octet/hex with missing char end of line", "#4", ',', 0); test_xmlSecX509AttrValueStringRead_failure("check octet/hex with missing chars", "#4,name=value", ',', 0); test_xmlSecX509AttrValueStringRead_failure("check octet/hex with non-hex chars", "#4X,name=value", ',', 0); /* done */ return (testGroupFinished()); } /****************************************************************************** * test_xmlSecX509NameRead *****************************************************************************/ #define TEST_X509_NAME_MAX_COUNT 16 typedef struct test_X509Name { xmlChar names[256][TEST_X509_NAME_MAX_COUNT]; xmlChar values[256][TEST_X509_NAME_MAX_COUNT]; xmlSecSize valueSizes[TEST_X509_NAME_MAX_COUNT]; int types[TEST_X509_NAME_MAX_COUNT]; int pos; } test_X509Name; static int test_xmlSecX509NameReadCallback( const xmlChar * name, const xmlChar * value, xmlSecSize valueSize, int type, void * context ) { test_X509Name * nm; xmlSecAssert2(name != NULL, -1); xmlSecAssert2(value != NULL, -1); xmlSecAssert2(context != NULL, -1); nm = (test_X509Name*)context; xmlSecAssert2(0 <= nm->pos && nm->pos < TEST_X509_NAME_MAX_COUNT, -1); #if defined(_MSC_VER) strcpy_s((char*)nm->names[nm->pos], sizeof(nm->names[nm->pos]), (const char*)name); strcpy_s((char*)nm->values[nm->pos], sizeof(nm->values[nm->pos]), (const char*)value); #else /* defined(_MSC_VER) */ strncpy((char*)nm->names[nm->pos], (const char*)name, sizeof(nm->names[nm->pos])); nm->names[nm->pos][sizeof(nm->names[nm->pos]) - 1] = '\0'; /* ensure \0 terminated */ strncpy((char*)nm->values[nm->pos], (const char*)value, sizeof(nm->values[nm->pos])); nm->values[nm->pos][sizeof(nm->values[nm->pos]) - 1] = '\0'; /* ensure \0 terminated */ #endif /* defined(_MSC_VER) */ nm->valueSizes[nm->pos] = valueSize; nm->types[nm->pos] = type; nm->pos += 1; return(0); } static void test_xmlSecX509NameRead_success( const char * name, const char * str, xmlSecx509NameReplacements * replacements, int expectedCount, const char * name0, const char * value0, int type0, const char * name1, const char * value1, int type1 ) { test_X509Name nms; int ret; xmlSecAssert(name != NULL); xmlSecAssert(str != NULL); testStart(name); memset(&nms, 0, sizeof(nms)); ret = xmlSecX509NameRead(BAD_CAST str, replacements, test_xmlSecX509NameReadCallback, &nms); if(ret < 0) { testLog("Error: xmlSecX509NameRead failed for '%s'\n", str); testFinishedFailure(); return; } /* check results */ if(nms.pos != expectedCount) { testLog("Error: xmlSecX509NameRead returned type='%d' (expected: '%d')\n", nms.pos , expectedCount); testFinishedFailure(); return; } if(nms.pos > 0 && xmlStrcmp(nms.names[0], BAD_CAST name0) != 0) { testLog("Error: xmlSecX509NameRead returned nms.names[0]='%s' (expected: '%s')\n", (const char*)nms.names[0], name0); testFinishedFailure(); return; } if(nms.pos > 0 && xmlStrcmp(nms.values[0], BAD_CAST value0) != 0) { testLog("Error: xmlSecX509NameRead returned nms.value[0]='%s' (expected: '%s')\n", (const char*)nms.values[0], value0); testFinishedFailure(); return; } if(nms.pos > 0 && (int)(nms.valueSizes[0]) != xmlStrlen(BAD_CAST value0)) { testLog("Error: xmlSecX509NameRead returned nms.valueSizes[0]='%d' (expected: '%d')\n", (int)(nms.valueSizes[0]), xmlStrlen(BAD_CAST value0)); testFinishedFailure(); return; } if(nms.pos > 0 && nms.types[0] != type0) { testLog("Error: xmlSecX509NameRead returned nms.types[0]='%d' (expected: '%d')\n", nms.types[0], type0); testFinishedFailure(); return; } if(nms.pos > 1 && xmlStrcmp(nms.names[1], BAD_CAST name1) != 0) { testLog("Error: xmlSecX509NameRead returned nms.names[1]='%s' (expected: '%s')\n", (const char*)nms.names[1], name1); testFinishedFailure(); return; } if(nms.pos > 1 && xmlStrcmp(nms.values[1], BAD_CAST value1) != 0) { testLog("Error: xmlSecX509NameRead returned nms.value[1]='%s' (expected: '%s')\n", (const char*)nms.values[1], value1); testFinishedFailure(); return; } if(nms.pos > 1 && (int)(nms.valueSizes[1]) != xmlStrlen(BAD_CAST value1)) { testLog("Error: xmlSecX509NameRead returned nms.valueSizes[0]='%d' (expected: '%d')\n", (int)(nms.valueSizes[1]), xmlStrlen(BAD_CAST value1)); testFinishedFailure(); return; } if(nms.pos > 1 && nms.types[1] != type1) { testLog("Error: xmlSecX509NameRead returned nms.types[1]='%d' (expected: '%d')\n", nms.types[1], type1); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } static void test_xmlSecX509NameRead_failure( const char * name, const char * str, xmlSecx509NameReplacements *replacements, int fail_callback ) { test_X509Name names; int ret; xmlSecAssert(name != NULL); testStart(name); memset(&names, 0, sizeof(names)); if (fail_callback != 0) { names.pos = -1; } ret = xmlSecX509NameRead(BAD_CAST str, replacements, test_xmlSecX509NameReadCallback, &names); if(ret >= 0) { testLog("Error: xmlSecX509NameRead expected to fail for '%s'\n", (str != NULL) ? str : "NULL"); testFinishedFailure(); return; } /* DONE */ testFinishedSuccess(); } static xmlSecx509NameReplacements test_X509NameReplacements[] = { { BAD_CAST "E", BAD_CAST "emailAddress"}, { NULL, NULL } }; int test_xmlSecX509NameRead(void) { /* start */ testGroupStart("xmlSecX509NameRead"); /* positive tests */ test_xmlSecX509NameRead_success("check empty string", "", NULL, 0, NULL, NULL, -1, NULL, NULL, -1); test_xmlSecX509NameRead_success("check one value", "Foo=Bar", NULL, 1, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, NULL, NULL, -1); test_xmlSecX509NameRead_success("check empty value", "Foo=", NULL, 1, "Foo", "", XMLSEC_X509_VALUE_TYPE_UF8_STRING, NULL, NULL, -1); test_xmlSecX509NameRead_success("check two values", "Foo=Bar,emailAddress=Value", NULL, 2, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509NameRead_success("check two values with empty value", "Foo=,emailAddress=Value", NULL, 2, "Foo", "", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509NameRead_success("check octet string", "Foo=Bar,emailAddress=#56616c7565", NULL, 2, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_OCTET_STRING); test_xmlSecX509NameRead_success("check spaces", "Foo = Bar, emailAddress = Value", NULL, 2, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509NameRead_success("check end comma", "Foo=Bar,emailAddress=Value,", NULL, 2, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_UF8_STRING); test_xmlSecX509NameRead_success("check email address", "Foo=Bar,E=Value,", test_X509NameReplacements, 2, "Foo", "Bar", XMLSEC_X509_VALUE_TYPE_UF8_STRING, "emailAddress", "Value", XMLSEC_X509_VALUE_TYPE_UF8_STRING); /* negative tests */ test_xmlSecX509NameRead_failure("check NULL", NULL, NULL, 0); test_xmlSecX509NameRead_failure("check missing =", "Foo", NULL, 0); test_xmlSecX509NameRead_failure("check bad value", "Foo=#1Q", NULL, 0); test_xmlSecX509NameRead_failure("check missing name value pair", "Foo=Bar,,", NULL, 0); test_xmlSecX509NameRead_failure("check bad callback", "Foo=Bar", NULL, 1); /* done */ return (testGroupFinished()); } xmlsec-1.3.11/apps/unit_tests/xmlsec_unit_tests.c000066400000000000000000000232351517172715000221670ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library unit tests main file. */ #include #include #include #include #if !defined(_MSC_VER) #include #endif /* defined(_MSC_VER) */ /* must be included before any other xmlsec header */ #include "xmlsec_unit_tests.h" #include "../src/x509_helpers.h" #include #ifndef XMLSEC_NO_XSLT #include #include #include #include #include #include #endif /* XMLSEC_NO_XSLT */ #if defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) #include #endif /*defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) */ /* per-test log buffer (defined after main; forward-declared here for use in main) */ static char * g_testLogBuffer; static size_t g_testLogBufferLen; static size_t g_testLogBufferCap; static void testXmlSecErrorsCallback(const char* file, int line, const char* func, const char* errorObject, const char* errorSubject, int reason, const char* msg); /* test group filter: if non-NULL, only the matching group runs */ static const char * g_testGroupFilter; static int g_testGroupSkip; #ifndef XMLSEC_NO_XSLT static xsltSecurityPrefsPtr xsltSecPrefs = NULL; #endif /* XMLSEC_NO_XSLT */ #if defined(XMLSEC_WINDOWS) && defined(UNICODE) && defined(__MINGW32__) int wmain(int argc, wchar_t* argv[]); #endif /* defined(XMLSEC_WINDOWS) && defined(UNICODE) && defined(__MINGW32__) */ #if defined(XMLSEC_WINDOWS) && defined(UNICODE) int wmain(int argc, wchar_t *argv[]) { #else /* defined(XMLSEC_WINDOWS) && defined(UNICODE) */ int main(int argc, const char **argv) { #endif /* defined(XMLSEC_WINDOWS) && defined(UNICODE) */ int success = 1; int res = 1; #if defined(XMLSEC_WINDOWS) && defined(UNICODE) char testGroupFilterBuf[256] = { '\0' }; #endif /* defined(XMLSEC_WINDOWS) && defined(UNICODE) */ #if defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) _CrtMemState memStateAtStart; #endif /* defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) */ /* Init LibXML2 */ xmlInitParser(); LIBXML_TEST_VERSION /* Init LibXSLT */ #ifndef XMLSEC_NO_XSLT /* disable everything */ xsltSecPrefs = xsltNewSecurityPrefs(); xsltSetSecurityPrefs(xsltSecPrefs, XSLT_SECPREF_READ_FILE, xsltSecurityForbid); xsltSetSecurityPrefs(xsltSecPrefs, XSLT_SECPREF_WRITE_FILE, xsltSecurityForbid); xsltSetSecurityPrefs(xsltSecPrefs, XSLT_SECPREF_CREATE_DIRECTORY, xsltSecurityForbid); xsltSetSecurityPrefs(xsltSecPrefs, XSLT_SECPREF_READ_NETWORK, xsltSecurityForbid); xsltSetSecurityPrefs(xsltSecPrefs, XSLT_SECPREF_WRITE_NETWORK, xsltSecurityForbid); xsltSetDefaultSecurityPrefs(xsltSecPrefs); #endif /* XMLSEC_NO_XSLT */ #if defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) fprintf(stderr, "Enabling memory leaks detection\n"); /* Force libxml2 thread-local state allocation (xmlNewGlobalState) * before the checkpoint. It is triggered lazily on the first * xmlNewParserCtxt() via xmlDictCreate() -> xmlRandom(). */ { xmlParserCtxtPtr warmupCtxt = xmlNewParserCtxt(); if(warmupCtxt != NULL) { xmlFreeParserCtxt(warmupCtxt); } } _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_CHECK_ALWAYS_DF | _CRTDBG_DELAY_FREE_MEM_DF); _CrtMemCheckpoint(&memStateAtStart); #endif /* defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) */ /* check command line params */ if((argc > 2) || (argv == NULL)) { fprintf(stderr, "Error: usage: xmlsec_unit_tests [test-group-name]\n"); goto done; } if(argc == 2) { #if defined(XMLSEC_WINDOWS) && defined(UNICODE) wcstombs_s(NULL, testGroupFilterBuf, sizeof(testGroupFilterBuf), argv[1], sizeof(testGroupFilterBuf) - 1); g_testGroupFilter = testGroupFilterBuf; #else /* defined(XMLSEC_WINDOWS) && defined(UNICODE) */ g_testGroupFilter = argv[1]; #endif /* defined(XMLSEC_WINDOWS) && defined(UNICODE) */ } xmlSecErrorsSetCallback(testXmlSecErrorsCallback); /* run tests */ fprintf(stdout, "=================== Checking xmlsec-core =================================\n"); if (test_base64() != 1) { success = 0; } if (test_transform_helpers() != 1) { success = 0; } if (test_xmlSecX509EscapedStringRead() != 1) { success = 0; } if (test_xmlSecX509AttrValueStringRead() != 1) { success = 0; } if (test_xmlSecX509NameRead() != 1) { success = 0; } if (test_xmltree() != 1) { success = 0; } if (test_templates() != 1) { success = 0; } if(success == 1) { /* sucecss! */ fprintf(stdout, "=================== Checking xmlsec-core: SUCCESS =================================\n"); res = 0; } else { fprintf(stdout, "=================== Checking xmlsec-core: FAILURE =================================\n"); res = 1; } done: xmlSecErrorsSetCallback(xmlSecErrorsDefaultCallback); free(g_testLogBuffer); g_testLogBuffer = NULL; g_testGroupFilter = NULL; /* Shutdown LibXSLT / LibXML2*/ #ifndef XMLSEC_NO_XSLT xsltFreeSecurityPrefs(xsltSecPrefs); xsltCleanupGlobals(); #endif /* XMLSEC_NO_XSLT */ xmlCleanupParser(); #if defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); _CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE); _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE); _CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR); _CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR); _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); { _CrtMemState memStateNow, memStateDiff; _CrtMemCheckpoint(&memStateNow); if (_CrtMemDifference(&memStateDiff, &memStateAtStart, &memStateNow) && ((ptrdiff_t)memStateDiff.lCounts[_NORMAL_BLOCK] > 0 || (ptrdiff_t)memStateDiff.lCounts[_CLIENT_BLOCK] > 0)) { _CrtMemDumpAllObjectsSince(&memStateAtStart); return(1); } } #endif /* defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) */ return(res); } static void testLogReset(void) { g_testLogBufferLen = 0; } static void testLogFlush(void) { if (g_testLogBufferLen > 0) { fwrite(g_testLogBuffer, 1, g_testLogBufferLen, stdout); fflush(stdout); } g_testLogBufferLen = 0; } void testLog(const char* fmt, ...) { char buf[8192]; va_list args; int len; char* newBuf; size_t newCap; if (fmt == NULL) return; va_start(args, fmt); len = vsnprintf(buf, sizeof(buf), fmt, args); va_end(args); if (len <= 0) return; if ((size_t)len >= sizeof(buf)) { len = (int)(sizeof(buf) - 1); } if (g_testLogBufferLen + (size_t)len + 1 > g_testLogBufferCap) { newCap = g_testLogBufferLen + (size_t)len + 1 + 4096; newBuf = (char*)realloc(g_testLogBuffer, newCap); if (newBuf == NULL) return; g_testLogBuffer = newBuf; g_testLogBufferCap = newCap; } memcpy(g_testLogBuffer + g_testLogBufferLen, buf, (size_t)len); g_testLogBufferLen += (size_t)len; g_testLogBuffer[g_testLogBufferLen] = '\0'; } static void testXmlSecErrorsCallback(const char* file, int line, const char* func, const char* errorObject, const char* errorSubject, int reason, const char* msg) { testLog("xmlsec error: func=%s:file=%s:line=%d:obj=%s:subj=%s:error=%d:%s\n", (func != NULL) ? func : "unknown", (file != NULL) ? file : "unknown", line, (errorObject != NULL) ? errorObject : "unknown", (errorSubject != NULL) ? errorSubject : "unknown", reason, (msg != NULL) ? msg : ""); } static const char * testsGroupName = NULL; static const char * testsName = NULL; static int testsStarted = 0; static int testsFinishedSuccess = 0; static int testFinishedFailed = 0; void testGroupStart(const char * name) { xmlSecAssert(name != NULL); testsGroupName = name; testsStarted = 0; testsFinishedSuccess = 0; testFinishedFailed = 0; if((g_testGroupFilter != NULL) && (strcmp(g_testGroupFilter, name) != 0)) { g_testGroupSkip = 1; return; } g_testGroupSkip = 0; fprintf(stdout, "=== STARTED TESTS FOR '%s'\n", testsGroupName); } int testGroupFinished(void) { xmlSecAssert2(testsGroupName != NULL, 0); if(g_testGroupSkip) { g_testGroupSkip = 0; testsGroupName = NULL; return 1; } fprintf(stdout, "=== FINSIHED TESTS FOR '%s': TOTAL=%d, SUCCESS=%d, FAILURE=%d, NOT FIISHED=%d\n", testsGroupName, testsStarted, testsFinishedSuccess, testFinishedFailed, (testsStarted - (testsFinishedSuccess + testFinishedFailed)) ); testsGroupName = NULL; return testsStarted == testsFinishedSuccess ? 1 : 0; } void testStart(const char * name) { xmlSecAssert(name != NULL); if(g_testGroupSkip) { return; } testsName = name; testsStarted += 1; testLogReset(); testLog(" %s ...\n", testsName); fprintf(stdout, " %s ...\n", testsName); } void testFinishedSuccess(void) { if(g_testGroupSkip) { return; } fprintf(stdout, " %s OK\n", testsName); testLogReset(); testsFinishedSuccess += 1; testsName = NULL; } void testFinishedFailure(void) { if(g_testGroupSkip) { return; } fprintf(stdout, " %s FAILED\n", testsName); testLogFlush(); testFinishedFailed += 1; testsName = NULL; } xmlsec-1.3.11/apps/unit_tests/xmlsec_unit_tests.h000066400000000000000000000023401517172715000221660ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library unit tests helpers. */ #ifndef __XMLSEC_UNIT_TESTS_H__ #define __XMLSEC_UNIT_TESTS_H__ #define XMLSEC_PRIVATE 1 #include #include #include "../src/cast_helpers.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* helper functions */ void testGroupStart(const char * name); int testGroupFinished(void); void testStart(const char * name); void testFinishedSuccess(void); void testFinishedFailure(void); #ifdef __GNUC__ void testLog(const char* fmt, ...) __attribute__ ((format (printf, 1, 2))); #else /* __GNUC__ */ void testLog(const char* fmt, ...); #endif /* __GNUC__ */ /* tests */ int test_base64(void); int test_transform_helpers(void); int test_xmlSecX509EscapedStringRead(void); int test_xmlSecX509AttrValueStringRead(void); int test_xmlSecX509NameRead(void); int test_xmltree(void); int test_templates(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __XMLSEC_UNIT_TESTS_H__ */ xmlsec-1.3.11/apps/unit_tests/xmltree_unit_tests.c000066400000000000000000001222631517172715000223550ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library unit xmltree tests. */ #include #include #include /* must be included before any other xmlsec header */ #include "xmlsec_unit_tests.h" #include #include #include #define TEST_NS BAD_CAST "http://test.ns" /****************************************************************************** * helpers *****************************************************************************/ static xmlDocPtr xmltreeTestCreateDoc(const xmlChar* rootName, const xmlChar* rootNs) { xmlDocPtr doc; xmlNodePtr root; xmlNsPtr ns; doc = xmlNewDoc(BAD_CAST "1.0"); if(doc == NULL) { return(NULL); } root = xmlNewDocNode(doc, NULL, rootName, NULL); if(root == NULL) { xmlFreeDoc(doc); return(NULL); } xmlDocSetRootElement(doc, root); if(rootNs != NULL) { ns = xmlNewNs(root, rootNs, NULL); if(ns == NULL) { xmlFreeDoc(doc); return(NULL); } xmlSetNs(root, ns); } return(doc); } /****************************************************************************** * xmlSecIsEmptyString *****************************************************************************/ static void test_xmlSecIsEmptyString_empty(void) { testStart("xmlSecIsEmptyString: empty string"); if(xmlSecIsEmptyString(BAD_CAST "") != 1) { testLog("Error: empty string was not detected as empty\n"); testFinishedFailure(); return; } testFinishedSuccess(); } static void test_xmlSecIsEmptyString_whitespace_only(void) { testStart("xmlSecIsEmptyString: whitespace-only string"); if(xmlSecIsEmptyString(BAD_CAST " \t\n\r") != 1) { testLog("Error: whitespace-only string was not detected as empty\n"); testFinishedFailure(); return; } testFinishedSuccess(); } static void test_xmlSecIsEmptyString_nonempty(void) { testStart("xmlSecIsEmptyString: non-empty string"); if(xmlSecIsEmptyString(BAD_CAST "hello") != 0) { testLog("Error: non-empty string was detected as empty\n"); testFinishedFailure(); return; } testFinishedSuccess(); } static void test_xmlSecIsEmptyString_mixed_whitespace(void) { testStart("xmlSecIsEmptyString: string with embedded text"); if(xmlSecIsEmptyString(BAD_CAST " \t hello \t ") != 0) { testLog("Error: string with text was detected as empty\n"); testFinishedFailure(); return; } testFinishedSuccess(); } /****************************************************************************** * xmlSecGetNodeContentAndTrim *****************************************************************************/ static void test_xmlSecGetNodeContentAndTrim_plain(void) { xmlDocPtr doc; xmlNodePtr root; xmlChar* content; testStart("xmlSecGetNodeContentAndTrim: plain content"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "hello"); content = xmlSecGetNodeContentAndTrim(root); if(content == NULL || xmlStrcmp(content, BAD_CAST "hello") != 0) { testLog("Error: expected 'hello', got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAndTrim_leading_trailing_spaces(void) { xmlDocPtr doc; xmlNodePtr root; xmlChar* content; testStart("xmlSecGetNodeContentAndTrim: leading/trailing spaces trimmed"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST " hello world "); content = xmlSecGetNodeContentAndTrim(root); if(content == NULL || xmlStrcmp(content, BAD_CAST "hello world") != 0) { testLog("Error: expected 'hello world', got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAndTrim_tabs_and_newlines(void) { xmlDocPtr doc; xmlNodePtr root; xmlChar* content; testStart("xmlSecGetNodeContentAndTrim: tabs and newlines trimmed"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "\t\n value \n\t"); content = xmlSecGetNodeContentAndTrim(root); if(content == NULL || xmlStrcmp(content, BAD_CAST "value") != 0) { testLog("Error: expected 'value', got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAndTrim_whitespace_only_becomes_empty(void) { xmlDocPtr doc; xmlNodePtr root; xmlChar* content; testStart("xmlSecGetNodeContentAndTrim: whitespace-only content returns empty string"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST " \t "); content = xmlSecGetNodeContentAndTrim(root); /* whitespace-only input → trimmed to empty string "" (not NULL) */ if(content == NULL || xmlStrcmp(content, BAD_CAST "") != 0) { testLog("Error: expected empty string, got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecGetNodeContentAsSize *****************************************************************************/ static void test_xmlSecGetNodeContentAsSize_valid(void) { xmlDocPtr doc; xmlNodePtr root; xmlSecSize val = 0; int ret; testStart("xmlSecGetNodeContentAsSize: valid number"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "42"); ret = xmlSecGetNodeContentAsSize(root, 0, &val); if(ret < 0 || val != 42) { testLog("Error: expected val=42, got ret=%d val=%u\n", ret, (unsigned int)val); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAsSize_with_spaces(void) { xmlDocPtr doc; xmlNodePtr root; xmlSecSize val = 0; int ret; testStart("xmlSecGetNodeContentAsSize: number with surrounding spaces"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST " 128 "); ret = xmlSecGetNodeContentAsSize(root, 0, &val); if(ret < 0 || val != 128) { testLog("Error: expected val=128, got ret=%d val=%u\n", ret, (unsigned int)val); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAsSize_zero(void) { xmlDocPtr doc; xmlNodePtr root; xmlSecSize val = 99; int ret; testStart("xmlSecGetNodeContentAsSize: zero value"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "0"); ret = xmlSecGetNodeContentAsSize(root, 99, &val); if(ret < 0 || val != 0) { testLog("Error: expected val=0, got ret=%d val=%u\n", ret, (unsigned int)val); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAsSize_negative_fails(void) { xmlDocPtr doc; xmlNodePtr root; xmlSecSize val = 0; int ret; testStart("xmlSecGetNodeContentAsSize: negative number fails"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "-5"); ret = xmlSecGetNodeContentAsSize(root, 0, &val); if(ret >= 0) { testLog("Error: expected failure for negative number, got ret=%d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNodeContentAsSize_nonnumeric_fails(void) { xmlDocPtr doc; xmlNodePtr root; xmlSecSize val = 0; int ret; testStart("xmlSecGetNodeContentAsSize: non-numeric content fails"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "abc"); ret = xmlSecGetNodeContentAsSize(root, 0, &val); if(ret >= 0) { testLog("Error: expected failure for non-numeric content, got ret=%d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecGetNodeContentAsHex / xmlSecSetNodeContentAsHex *****************************************************************************/ static void test_xmlSecNodeContentHex_roundtrip(void) { static const xmlSecByte data[] = { 0x00, 0x11, 0xAB, 0xCD, 0xEF, 0xFF }; xmlDocPtr doc; xmlNodePtr root; xmlSecBuffer buf; const xmlSecByte* bufData; xmlSecSize bufSize; int ret; testStart("xmlSecSetNodeContentAsHex/xmlSecGetNodeContentAsHex: roundtrip"); ret = xmlSecBufferInitialize(&buf, 64); if(ret < 0) { testLog("Error: failed to initialize buffer\n"); testFinishedFailure(); return; } doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); xmlSecBufferFinalize(&buf); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); ret = xmlSecSetNodeContentAsHex(root, data, sizeof(data)); if(ret < 0) { testLog("Error: xmlSecSetNodeContentAsHex failed\n"); xmlFreeDoc(doc); xmlSecBufferFinalize(&buf); testFinishedFailure(); return; } ret = xmlSecGetNodeContentAsHex(root, &buf); if(ret < 0) { testLog("Error: xmlSecGetNodeContentAsHex failed\n"); xmlFreeDoc(doc); xmlSecBufferFinalize(&buf); testFinishedFailure(); return; } bufData = xmlSecBufferGetData(&buf); bufSize = xmlSecBufferGetSize(&buf); if(bufSize != sizeof(data) || bufData == NULL || memcmp(bufData, data, sizeof(data)) != 0) { testLog("Error: hex roundtrip data mismatch (size=%u, expected=%u)\n", (unsigned int)bufSize, (unsigned int)sizeof(data)); xmlFreeDoc(doc); xmlSecBufferFinalize(&buf); testFinishedFailure(); return; } xmlFreeDoc(doc); xmlSecBufferFinalize(&buf); testFinishedSuccess(); } static void test_xmlSecSetNodeContentAsHex_encoding(void) { static const xmlSecByte data[] = { 0xDE, 0xAD, 0xBE, 0xEF }; static const char expected[] = "deadbeef"; xmlDocPtr doc; xmlNodePtr root; xmlChar* content; int ret; testStart("xmlSecSetNodeContentAsHex: correct lowercase hex encoding"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); ret = xmlSecSetNodeContentAsHex(root, data, sizeof(data)); if(ret < 0) { testLog("Error: xmlSecSetNodeContentAsHex failed\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } content = xmlNodeGetContent(root); if(content == NULL || xmlStrcmp(content, BAD_CAST expected) != 0) { testLog("Error: expected '%s', got '%s'\n", expected, content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecSetNodeContentAsHex_empty(void) { xmlDocPtr doc; xmlNodePtr root; xmlChar* content; int ret; testStart("xmlSecSetNodeContentAsHex: empty data produces empty content"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); ret = xmlSecSetNodeContentAsHex(root, BAD_CAST "", 0); if(ret < 0) { testLog("Error: xmlSecSetNodeContentAsHex failed for empty data\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } content = xmlNodeGetContent(root); if(content == NULL || xmlStrcmp(content, BAD_CAST "") != 0) { testLog("Error: expected empty string, got '%s'\n", content ? (char*)content : "NULL"); xmlFree(content); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFree(content); xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecIsEmptyNode *****************************************************************************/ static void test_xmlSecIsEmptyNode_no_children(void) { xmlDocPtr doc; xmlNodePtr root; int ret; testStart("xmlSecIsEmptyNode: no children"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); ret = xmlSecIsEmptyNode(root); if(ret != 1) { testLog("Error: expected empty (1), got %d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecIsEmptyNode_whitespace_text(void) { xmlDocPtr doc; xmlNodePtr root; int ret; testStart("xmlSecIsEmptyNode: whitespace-only text child"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST " \n\t "); ret = xmlSecIsEmptyNode(root); if(ret != 1) { testLog("Error: expected empty (1) for whitespace-only node, got %d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecIsEmptyNode_text_content(void) { xmlDocPtr doc; xmlNodePtr root; int ret; testStart("xmlSecIsEmptyNode: non-empty text content"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); xmlNodeSetContent(root, BAD_CAST "hello"); ret = xmlSecIsEmptyNode(root); if(ret != 0) { testLog("Error: expected non-empty (0), got %d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecIsEmptyNode_child_element(void) { xmlDocPtr doc; xmlNodePtr root; int ret; testStart("xmlSecIsEmptyNode: child element makes node non-empty"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); if(xmlNewChild(root, NULL, BAD_CAST "Child", NULL) == NULL) { testLog("Error: failed to add child element\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } ret = xmlSecIsEmptyNode(root); if(ret != 0) { testLog("Error: expected non-empty (0) for node with element child, got %d\n", ret); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecCreateTree *****************************************************************************/ static void test_xmlSecCreateTree_with_ns(void) { xmlDocPtr doc; xmlNodePtr root; const xmlChar* nsHref; testStart("xmlSecCreateTree: creates tree with correct root name and namespace"); doc = xmlSecCreateTree(BAD_CAST "TestRoot", BAD_CAST "http://test.example.com/ns"); if(doc == NULL) { testLog("Error: xmlSecCreateTree returned NULL\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); if(root == NULL) { testLog("Error: no root element\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(xmlStrcmp(root->name, BAD_CAST "TestRoot") != 0) { testLog("Error: expected root name 'TestRoot', got '%s'\n", (char*)root->name); xmlFreeDoc(doc); testFinishedFailure(); return; } nsHref = xmlSecGetNodeNsHref(root); if(nsHref == NULL || xmlStrcmp(nsHref, BAD_CAST "http://test.example.com/ns") != 0) { testLog("Error: expected ns 'http://test.example.com/ns', got '%s'\n", nsHref ? (char*)nsHref : "NULL"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecCreateTree_null_ns(void) { xmlDocPtr doc; xmlNodePtr root; testStart("xmlSecCreateTree: creates tree with NULL namespace"); doc = xmlSecCreateTree(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: xmlSecCreateTree returned NULL\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); if(root == NULL || xmlStrcmp(root->name, BAD_CAST "Root") != 0) { testLog("Error: root element missing or wrong name\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecAddChild *****************************************************************************/ static void test_xmlSecAddChild_name_and_ns(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child; const xmlChar* nsHref; testStart("xmlSecAddChild: child has correct name and namespace"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Child", BAD_CAST "http://ns.example.com"); if(child == NULL) { testLog("Error: xmlSecAddChild returned NULL\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(xmlStrcmp(child->name, BAD_CAST "Child") != 0) { testLog("Error: expected name 'Child', got '%s'\n", (char*)child->name); xmlFreeDoc(doc); testFinishedFailure(); return; } nsHref = xmlSecGetNodeNsHref(child); if(nsHref == NULL || xmlStrcmp(nsHref, BAD_CAST "http://ns.example.com") != 0) { testLog("Error: expected ns 'http://ns.example.com', got '%s'\n", nsHref ? (char*)nsHref : "NULL"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecAddChild_multiple_distinct(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child1, child2; testStart("xmlSecAddChild: two calls produce two distinct nodes"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child1 = xmlSecAddChild(root, BAD_CAST "First", BAD_CAST "http://ns.example.com"); child2 = xmlSecAddChild(root, BAD_CAST "Second", BAD_CAST "http://ns.example.com"); if(child1 == NULL || child2 == NULL || child1 == child2) { testLog("Error: expected two distinct children\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecCheckNodeName *****************************************************************************/ static void test_xmlSecCheckNodeName_match(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child; testStart("xmlSecCheckNodeName: matching name and ns returns 1"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Target", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(xmlSecCheckNodeName(child, BAD_CAST "Target", TEST_NS) != 1) { testLog("Error: expected 1 for matching name and ns\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecCheckNodeName_wrong_name(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child; testStart("xmlSecCheckNodeName: wrong name returns 0"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Target", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(xmlSecCheckNodeName(child, BAD_CAST "Other", TEST_NS) != 0) { testLog("Error: expected 0 for wrong name\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecCheckNodeName_wrong_ns(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child; testStart("xmlSecCheckNodeName: wrong namespace returns 0"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Target", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } if(xmlSecCheckNodeName(child, BAD_CAST "Target", BAD_CAST "http://other.ns") != 0) { testLog("Error: expected 0 for wrong namespace\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecFindChild *****************************************************************************/ static void test_xmlSecFindChild_found(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child, found; testStart("xmlSecFindChild: finds existing child"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Child", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindChild(root, BAD_CAST "Child", TEST_NS); if(found == NULL || found != child) { testLog("Error: xmlSecFindChild did not return the expected node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindChild_not_found(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr found; testStart("xmlSecFindChild: returns NULL when child not found"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); found = xmlSecFindChild(root, BAD_CAST "Missing", TEST_NS); if(found != NULL) { testLog("Error: expected NULL for missing child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindChild_first_of_two(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child1, child2, found; testStart("xmlSecFindChild: returns first matching child when multiple exist"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child1 = xmlSecAddChild(root, BAD_CAST "Child", TEST_NS); child2 = xmlSecAddChild(root, BAD_CAST "Child", TEST_NS); if(child1 == NULL || child2 == NULL) { testLog("Error: failed to add children\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindChild(root, BAD_CAST "Child", TEST_NS); if(found != child1) { testLog("Error: expected first child to be returned\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecFindSibling *****************************************************************************/ static void test_xmlSecFindSibling_finds_next(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child1, child2, found; testStart("xmlSecFindSibling: finds next sibling by name and ns"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child1 = xmlSecAddChild(root, BAD_CAST "First", TEST_NS); child2 = xmlSecAddChild(root, BAD_CAST "Second", TEST_NS); if(child1 == NULL || child2 == NULL) { testLog("Error: failed to add children\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindSibling(child1, BAD_CAST "Second", TEST_NS); if(found == NULL || found != child2) { testLog("Error: xmlSecFindSibling did not find second child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindSibling_matches_self(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child, found; testStart("xmlSecFindSibling: matches self if it satisfies criteria"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Only", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindSibling(child, BAD_CAST "Only", TEST_NS); if(found != child) { testLog("Error: expected self to be returned\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecFindParent *****************************************************************************/ static void test_xmlSecFindParent_matches_self(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr found; testStart("xmlSecFindParent: returns self when cur matches"); doc = xmlSecCreateTree(BAD_CAST "Root", TEST_NS); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); found = xmlSecFindParent(root, BAD_CAST "Root", TEST_NS); if(found != root) { testLog("Error: expected self, got different node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindParent_finds_ancestor(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr middle, leaf; xmlNodePtr found; testStart("xmlSecFindParent: finds ancestor by walking up tree"); doc = xmlSecCreateTree(BAD_CAST "Root", TEST_NS); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); middle = xmlSecAddChild(root, BAD_CAST "Middle", TEST_NS); leaf = xmlSecAddChild(middle, BAD_CAST "Leaf", TEST_NS); if(middle == NULL || leaf == NULL) { testLog("Error: failed to add nodes\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindParent(leaf, BAD_CAST "Root", TEST_NS); if(found != root) { testLog("Error: expected root ancestor\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindParent_not_found(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child; xmlNodePtr found; testStart("xmlSecFindParent: returns NULL when no match found"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Child", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindParent(child, BAD_CAST "Missing", TEST_NS); if(found != NULL) { testLog("Error: expected NULL for non-existent ancestor\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecFindNode *****************************************************************************/ static void test_xmlSecFindNode_direct_child(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr child, found; testStart("xmlSecFindNode: finds direct child"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); child = xmlSecAddChild(root, BAD_CAST "Target", TEST_NS); if(child == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindNode(root, BAD_CAST "Target", TEST_NS); if(found != child) { testLog("Error: xmlSecFindNode did not find direct child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindNode_nested_child(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr parent, target, found; testStart("xmlSecFindNode: finds deeply nested node"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); parent = xmlSecAddChild(root, BAD_CAST "Parent", TEST_NS); target = xmlSecAddChild(parent, BAD_CAST "DeepNode", TEST_NS); if(parent == NULL || target == NULL) { testLog("Error: failed to add nodes\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecFindNode(root, BAD_CAST "DeepNode", TEST_NS); if(found != target) { testLog("Error: xmlSecFindNode did not find nested node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecFindNode_not_found(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr found; testStart("xmlSecFindNode: returns NULL when node not found"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); found = xmlSecFindNode(root, BAD_CAST "Missing", TEST_NS); if(found != NULL) { testLog("Error: expected NULL\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * xmlSecGetNextElementNode *****************************************************************************/ static void test_xmlSecGetNextElementNode_already_element(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr elem, found; testStart("xmlSecGetNextElementNode: returns self when already an element"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); elem = xmlSecAddChild(root, BAD_CAST "Elem", TEST_NS); if(elem == NULL) { testLog("Error: failed to add child\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecGetNextElementNode(elem); if(found != elem) { testLog("Error: expected same element node, got different node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNextElementNode_skips_text(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr textNode, elemNode, found; testStart("xmlSecGetNextElementNode: skips text node to find element"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); /* build: sometext */ textNode = xmlNewText(BAD_CAST "some text"); if(textNode == NULL) { testLog("Error: failed to create text node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlAddChild(root, textNode); elemNode = xmlNewChild(root, NULL, BAD_CAST "Elem", NULL); if(elemNode == NULL) { testLog("Error: failed to add element node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } found = xmlSecGetNextElementNode(textNode); if(found != elemNode) { testLog("Error: expected element node after text, got unexpected node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } static void test_xmlSecGetNextElementNode_no_elements(void) { xmlDocPtr doc; xmlNodePtr root; xmlNodePtr textNode, found; testStart("xmlSecGetNextElementNode: returns NULL when no element follows"); doc = xmltreeTestCreateDoc(BAD_CAST "Root", NULL); if(doc == NULL) { testLog("Error: failed to create doc\n"); testFinishedFailure(); return; } root = xmlDocGetRootElement(doc); textNode = xmlNewText(BAD_CAST "only text"); if(textNode == NULL) { testLog("Error: failed to create text node\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlAddChild(root, textNode); found = xmlSecGetNextElementNode(textNode); if(found != NULL) { testLog("Error: expected NULL when no element follows text\n"); xmlFreeDoc(doc); testFinishedFailure(); return; } xmlFreeDoc(doc); testFinishedSuccess(); } /****************************************************************************** * exported entry point *****************************************************************************/ int test_xmltree(void) { int success = 1; testGroupStart("xmlSecIsEmptyString"); test_xmlSecIsEmptyString_empty(); test_xmlSecIsEmptyString_whitespace_only(); test_xmlSecIsEmptyString_nonempty(); test_xmlSecIsEmptyString_mixed_whitespace(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecGetNodeContentAndTrim"); test_xmlSecGetNodeContentAndTrim_plain(); test_xmlSecGetNodeContentAndTrim_leading_trailing_spaces(); test_xmlSecGetNodeContentAndTrim_tabs_and_newlines(); test_xmlSecGetNodeContentAndTrim_whitespace_only_becomes_empty(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecGetNodeContentAsSize"); test_xmlSecGetNodeContentAsSize_valid(); test_xmlSecGetNodeContentAsSize_with_spaces(); test_xmlSecGetNodeContentAsSize_zero(); test_xmlSecGetNodeContentAsSize_negative_fails(); test_xmlSecGetNodeContentAsSize_nonnumeric_fails(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecNodeContentHex"); test_xmlSecNodeContentHex_roundtrip(); test_xmlSecSetNodeContentAsHex_encoding(); test_xmlSecSetNodeContentAsHex_empty(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecIsEmptyNode"); test_xmlSecIsEmptyNode_no_children(); test_xmlSecIsEmptyNode_whitespace_text(); test_xmlSecIsEmptyNode_text_content(); test_xmlSecIsEmptyNode_child_element(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecCreateTree"); test_xmlSecCreateTree_with_ns(); test_xmlSecCreateTree_null_ns(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecAddChild"); test_xmlSecAddChild_name_and_ns(); test_xmlSecAddChild_multiple_distinct(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecCheckNodeName"); test_xmlSecCheckNodeName_match(); test_xmlSecCheckNodeName_wrong_name(); test_xmlSecCheckNodeName_wrong_ns(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecFindChild"); test_xmlSecFindChild_found(); test_xmlSecFindChild_not_found(); test_xmlSecFindChild_first_of_two(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecFindSibling"); test_xmlSecFindSibling_finds_next(); test_xmlSecFindSibling_matches_self(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecFindParent"); test_xmlSecFindParent_matches_self(); test_xmlSecFindParent_finds_ancestor(); test_xmlSecFindParent_not_found(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecFindNode"); test_xmlSecFindNode_direct_child(); test_xmlSecFindNode_nested_child(); test_xmlSecFindNode_not_found(); if(testGroupFinished() != 1) { success = 0; } testGroupStart("xmlSecGetNextElementNode"); test_xmlSecGetNextElementNode_already_element(); test_xmlSecGetNextElementNode_skips_text(); test_xmlSecGetNextElementNode_no_elements(); if(testGroupFinished() != 1) { success = 0; } return(success); } xmlsec-1.3.11/apps/xmlsec.c000066400000000000000000004041251517172715000155060ustar00rootroot00000000000000/** * XML Security Library (http://www.aleksey.com/xmlsec). * * This is free software; see the Copyright file in the source distribution for precise wording. * * Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved. */ /** * @brief XML Security Library command line utility. */ #include #include #include #if !defined(_MSC_VER) #include #endif /* defined(_MSC_VER) */ #if defined(_MSC_VER) && _MSC_VER < 1900 #define snprintf _snprintf #endif /* defined(_MSC_VER) && _MSC_VER < 1900 */ #include #include #include #include #include #include #ifndef XMLSEC_NO_XSLT #include #include #include #include #include #include #endif /* XMLSEC_NO_XSLT */ #include #include #include #include #include #include #include #include #include #include #include #include #include "crypto.h" #include "cmdline.h" #if defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) #include #endif /*defined(_MSC_VER) && defined(_CRTDBG_MAP_ALLOC) */ static const char copyright[] = "Written by Aleksey Sanin .\n\n" "Copyright (C) 2002-2026 Aleksey Sanin . All Rights Reserved.\n" "This is free software: see the source for copying information.\n"; static const char bugs[] = "Report bugs to http://www.aleksey.com/xmlsec/bugs.html\n"; static const char helpCommands1[] = "Usage: xmlsec [] []\n" "\n" "xmlsec is a command line tool for signing, verifying, encrypting and\n" "decrypting XML documents. The allowed values are:\n" " --help " "\tdisplay this help information and exit\n" " --help-all " "\tdisplay help information for all commands/options and exit\n" " --help-" "\tdisplay help information for command and exit\n" " --version " "\tprint version information and exit\n" " --keys " "\tkeys XML file manipulation\n"; static const char helpCommands2[] = #ifndef XMLSEC_NO_XMLDSIG " --sign " "\tsign data and output XML document\n" " --verify " "\tverify signed document\n" #endif /* XMLSEC_NO_XMLDSIG */ #ifndef XMLSEC_NO_XMLENC " --encrypt " "\tencrypt data and output XML document\n" " --decrypt " "\tdecrypt data from XML document\n" #endif /* XMLSEC_NO_XMLENC */ ; static const char helpVersion[] = "Usage: xmlsec version\n" "Prints version information and exits\n"; static const char helpKeys[] = "Usage: xmlsec keys [] \n" "Creates a new XML keys file \n"; static const char helpSign[] = "Usage: xmlsec sign [] \n" "Calculates XML Digital Signature using template file \n"; static const char helpVerify[] = "Usage: xmlsec verify [] \n" "Verifies XML Digital Signature in the \n"; static const char helpEncrypt[] = "Usage: xmlsec encrypt [] \n" "Encrypts data and creates XML Encryption using template file \n"; static const char helpDecrypt[] = "Usage: xmlsec decrypt [] \n" "Decrypts XML Encryption data in the \n"; static const char helpListKeyData[] = "Usage: xmlsec list-key-data\n" "Prints the list of known key data klasses\n"; static const char helpCheckKeyData[] = "Usage: xmlsec check-key-data [ ... ]\n" "Checks the given key-data against the list of known key-data klasses\n"; static const char helpListTransforms[] = "Usage: xmlsec list-transforms\n" "Prints the list of known transform klasses\n"; static const char helpCheckTransforms[] = "Usage: xmlsec check-transforms [ ... ]\n" "Checks the given transforms against the list of known transform klasses\n"; #define xmlSecAppCmdLineTopicGeneral 0x0001 #define xmlSecAppCmdLineTopicDSigCommon 0x0002 #define xmlSecAppCmdLineTopicDSigSign 0x0004 #define xmlSecAppCmdLineTopicDSigVerify 0x0008 #define xmlSecAppCmdLineTopicEncCommon 0x0010 #define xmlSecAppCmdLineTopicEncEncrypt 0x0020 #define xmlSecAppCmdLineTopicEncDecrypt 0x0040 /* #define UNUSED 0x0080 */ #define xmlSecAppCmdLineTopicKeysMngr 0x1000 #define xmlSecAppCmdLineTopicX509Certs 0x2000 #define xmlSecAppCmdLineTopicVersion 0x4000 #define xmlSecAppCmdLineTopicCryptoConfig 0x8000 #define xmlSecAppCmdLineTopicAll 0xFFFF /****************************************************************************** * * General configuration params * *****************************************************************************/ static xmlSecAppCmdLineParam helpParam = { xmlSecAppCmdLineTopicGeneral, "--help", "-h", "--help" "\n\tprint help information about the command", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam cryptoParam = { xmlSecAppCmdLineTopicCryptoConfig, "--crypto", NULL, "--crypto " "\n\tthe name of the crypto engine to use from the following" "\n\tlist: openssl, mscrypto, nss, gnutls, gcrypt (if no crypto engine is" "\n\tspecified then the default one is used)", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam cryptoConfigParam = { xmlSecAppCmdLineTopicCryptoConfig, "--crypto-config", NULL, "--crypto-config " "\n\tpath to crypto engine configuration", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam repeatParam = { xmlSecAppCmdLineTopicCryptoConfig, "--repeat", "-r", "--repeat " "\n\trepeat the operation times", xmlSecAppCmdLineParamTypeNumber, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam base64LineSizeParam = { xmlSecAppCmdLineTopicCryptoConfig, "--base64-line-size", NULL, "--base64-line-size " "\n\tsets the max line size for base64 encodings to ", xmlSecAppCmdLineParamTypeNumber, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam transformBinChunkSizeParam = { xmlSecAppCmdLineTopicCryptoConfig, "--transform-binary-chunk-size", NULL, "--transform-binary-chunk-size " "\n\tsets the transforms binary processing chunk size to ; " "\n\tincreasing chunk size might improve performance at the expense" "\n\tof increased memory usage", xmlSecAppCmdLineParamTypeNumber, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam verboseParam = { xmlSecAppCmdLineTopicGeneral, "--verbose", NULL, "--verbose" "\n\tprint detailed error messages", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam printCryptoErrorsParam = { xmlSecAppCmdLineTopicGeneral, "--print-crypto-library-errors", NULL, "--print-crypto-library-errors" "\n\tprint errors from crypto library (OpenSSL only)", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; /****************************************************************************** * * Keys Manager params * *****************************************************************************/ static xmlSecAppCmdLineParam genKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--gen-key", "-g", "--gen-key[:] -" "\n\tgenerate new key of bits size," "\n\tset the key name to and add the result to keys" "\n\tmanager (for example, \"--gen:MyKeyName rsa-1024\" generates" "\n\ta new 1024 bits RSA key and sets it's name to \"MyKeyName\")", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam keysFileParam = { xmlSecAppCmdLineTopicKeysMngr, "--keys-file", "-k", "--keys-file " "\n\tload keys from XML file", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam privkeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--privkey-pem", "--privkey", "--privkey-pem[:] [,[,[...]]]" "\n\tload private key from PEM file and certificates" "\n\tthat verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam privkeyDerParam = { xmlSecAppCmdLineTopicKeysMngr, "--privkey-der", NULL, "--privkey-der[:] [,[,[...]]]" "\n\tload private key from DER file and certificates" "\n\tthat verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pkcs8PemParam = { xmlSecAppCmdLineTopicKeysMngr, "--pkcs8-pem", "--privkey-p8-pem", "--pkcs8-pem[:] [,[,[...]]]" "\n\tload private key from PKCS8 PEM file and PEM certificates" "\n\tthat verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pkcs8DerParam = { xmlSecAppCmdLineTopicKeysMngr, "--pkcs8-der", "--privkey-p8-der", "--pkcs8-der[:] [,[,[...]]]" "\n\tload private key from PKCS8 DER file and DER certificates" "\n\tthat verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; /* openssl specific privkey options */ static xmlSecAppCmdLineParam privkeyOpensslStoreParam = { xmlSecAppCmdLineTopicKeysMngr, "--privkey-openssl-store", NULL, "--privkey-openssl-store[:] " "\n\tload private key and certs through OpenSSL ossl_store interface (e.g. from HSM)", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam privkeyOpensslEngineParam = { xmlSecAppCmdLineTopicKeysMngr, "--privkey-openssl-engine", NULL, "--privkey-openssl-engine[:] ;[,[,[...]]]" "\n\tload private key by OpenSSL ENGINE interface; specify the name of engine" "\n\t(like with -engine params), the key specs (like with -inkey or -key params)" "\n\tand optionally certificates that verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pubkeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-pem", "--pubkey", "--pubkey-pem[:] " "\n\tload public key from PEM file", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pubkeyDerParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-der", NULL, "--pubkey-der[:] " "\n\tload public key from DER file", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; /* openssl specific pubkey options */ static xmlSecAppCmdLineParam pubkeyOpensslStoreParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-openssl-store", NULL, "--pubkey-openssl-store[:] " "\n\tload pubkey key and certs through OpenSSL ossl_store interface (e.g. from HSM)", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pubkeyOpensslEngineParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-openssl-engine", NULL, "--pubkey-openssl-engine[:] ;[,[,[...]]]" "\n\tload public key by OpenSSL ENGINE interface; specify the name of engine" "\n\t(like with -engine params), the key specs (like with -inkey or -key params)" "\n\tand optionally certificates that verify this key", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #ifndef XMLSEC_NO_AES static xmlSecAppCmdLineParam aesKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--aes-key", "--aeskey", "--aes-key[:] " "\n\tload AES key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_AES */ #ifndef XMLSEC_NO_CAMELLIA static xmlSecAppCmdLineParam camelliaKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--camellia-key", "--camelliakey", "--camellia-key[:] " "\n\tload Camellia key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_CAMELLIA */ #ifndef XMLSEC_NO_CHACHA20 static xmlSecAppCmdLineParam chacha20KeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--chacha20-key", "--chacha20key", "--chacha20-key[:] " "\n\tload ChaCha20 key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_CHACHA20 */ #ifndef XMLSEC_NO_CONCATKDF static xmlSecAppCmdLineParam concatKdfKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--concatkdfkey", "--concatkdf-key", "--concatkdf-key[:] " "\n\tload ConcatKDF key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_CONCATKDF */ #ifndef XMLSEC_NO_DES static xmlSecAppCmdLineParam desKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--des-key", "--deskey", "--des-key[:] " "\n\tload DES key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_DES */ #ifndef XMLSEC_NO_HMAC static xmlSecAppCmdLineParam hmacKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--hmac-key", "--hmackey", "--hmac-key[:] " "\n\tload HMAC key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam hmacMinOutputLenParam = { xmlSecAppCmdLineTopicKeysMngr, "--hmac-min-out-len", NULL, "--hmac-min-out-len " "\n\tsets minimum HMAC output length to ", xmlSecAppCmdLineParamTypeNumber, xmlSecAppCmdLineParamFlagParamNameValue, NULL }; #endif /* XMLSEC_NO_HMAC */ #ifndef XMLSEC_NO_PBKDF2 static xmlSecAppCmdLineParam pbkdf2KeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--pbkdf2key", "--pbkdf2-key", "--pbkdf2-key[:] " "\n\tload Pbkdf2 key from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_PBKDF2 */ #ifndef XMLSEC_NO_HKDF static xmlSecAppCmdLineParam hkdfKeyParam = { xmlSecAppCmdLineTopicKeysMngr, "--hkdfkey", "--hkdf-key", "--hkdf-key[:] " "\n\tload HKDF key (IKM) from binary file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; #endif /* XMLSEC_NO_HKDF */ static xmlSecAppCmdLineParam pwdParam = { xmlSecAppCmdLineTopicKeysMngr, "--pwd", NULL, "--pwd " "\n\tthe password to use for reading keys and certs", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam enabledKeyDataParam = { xmlSecAppCmdLineTopicKeysMngr, "--enabled-key-data", NULL, "--enabled-key-data " "\n\tcomma-separated list of key-data types to enable." "\n\tExample:" "\n\t rsa,key-value,x509 -> populates and keeps " "\n\t when and placeholders" "\n\t are present in the template." "\n\tUse \"--list-key-data\" to view full list of registered key data klasses." "\n\tBy default, all registered key data are enabled.", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam enabledRetrievalMethodUrisParam = { xmlSecAppCmdLineTopicKeysMngr, "--enabled-retrieval-method-uris", NULL, "--enabled-retrieval-method-uris " "\n\tcomma separated list of of the following values:" "\n\t\"empty\", \"same-doc\", \"local\",\"remote\" to restrict possible URI" "\n\tattribute values for the element.", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam enabledKeyInfoReferenceUrisParam = { xmlSecAppCmdLineTopicKeysMngr, "--enabled-key-info-reference-uris", NULL, "--enabled-key-info-reference-uris " "\n\tcomma separated list of of the following values:" "\n\t\"empty\", \"same-doc\", \"local\",\"remote\" to restrict possible URI" "\n\tattribute values for the element.", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam laxKeySearchParam = { xmlSecAppCmdLineTopicKeysMngr, "--lax-key-search", NULL, "--lax-key-search" "\n\tenable lax key search (e.g. by key type like \"rsa\") vs default strict key search" "\n\tmode using only information from node (e.g. key name)", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam verifyKeysParam = { xmlSecAppCmdLineTopicKeysMngr, "--verify-keys", NULL, "--verify-keys" "\n\tforce verification of public/private keys loaded from the command: keys are required" "\n\tto have a key certificate that will be verified against the certificates in the key store", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam verifyCrlsParam = { xmlSecAppCmdLineTopicX509Certs, "--verify-crls", NULL, "--verify-crls" "\n\tforce verification of loaded CRLs: CRLs are required to have a valid signature" "\n\tfrom an issuer certificate in the trusted or untrusted certificate store, and" "\n\tmust be within their validity period (thisUpdate/nextUpdate)", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; /****************************************************************************** * * Common params * *****************************************************************************/ static xmlSecAppCmdLineParam sessionKeyParam = { xmlSecAppCmdLineTopicDSigSign | xmlSecAppCmdLineTopicEncEncrypt, "--session-key", NULL, "--session-key -" "\n\tgenerate new session key of bits size" "\n\t(for example, \"--session des-192\" generates a new 192 bits" "\n\tDES key for DES3 encryption)", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam outputParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--output", "-o", "--output " "\n\twrite result document to file ; the can" "\n\tbe a template and include '{inputfile}' which will be repaced" "\n\twith the input filename", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam nodeIdParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--node-id", NULL, "--node-id " "\n\tset the operation start point to the node with given ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam nodeNameParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--node-name", NULL, "--node-name [:]" "\n\tset the operation start point to the first node" "\n\twith given and URI", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam nodeXPathParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--node-xpath", NULL, "--node-xpath " "\n\tset the operation start point to the first node" "\n\tselected by the specified XPath expression", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam dtdFileParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--dtd-file", NULL, "--dtd-file " "\n\tload the specified file as the DTD", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam printDebugParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--print-debug", NULL, "--print-debug" "\n\tprint debug information to stdout", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam printXmlDebugParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--print-xml-debug", NULL, "--print-xml-debug" "\n\tprint debug information to stdout in xml format", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam idAttrParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--id-attr", NULL, "--id-attr[:] [:]" "\n\tadds attributes (default value \"id\") from all nodes" "\n\twith and namespace to the list of" "\n\tknown ID attributes; this is a hack and if you can use DTD or schema" "\n\tto declare ID attributes instead (see \"--dtd-file\" option)", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam addIdAttrParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--add-id-attr", NULL, "--add-id-attr " "\n\tadds attribute to all nodes in the document;" "\n\tthis is a hack and if you can use DTD or schema to declare ID attributes" "\n\tinstead (see \"--dtd-file\" option)", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam xxeParam = { xmlSecAppCmdLineTopicAll, "--xxe", NULL, "--xxe" "\n\tenable External Entity resolution." "\n\tWARNING: this may allow the reading of arbitrary files and URLs," "\n\tcontrolled by the input XML document. Use with caution!", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam urlMapParam = { xmlSecAppCmdLineTopicDSigCommon | xmlSecAppCmdLineTopicEncCommon, "--url-map", NULL, "--url-map: " "\n\tmaps a given to the given for loading external resources", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; /****************************************************************************** * * Common dsig params * *****************************************************************************/ #ifndef XMLSEC_NO_XMLDSIG static xmlSecAppCmdLineParam ignoreManifestsParam = { xmlSecAppCmdLineTopicDSigCommon, "--ignore-manifests", NULL, "--ignore-manifests" "\n\tdo not process elements", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam storeReferencesParam = { xmlSecAppCmdLineTopicDSigCommon, "--store-references", NULL, "--store-references" "\n\tstore and print the result of element processing" "\n\tjust before calculating digest", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam storeSignaturesParam = { xmlSecAppCmdLineTopicDSigCommon, "--store-signatures", NULL, "--store-signatures" "\n\tstore and print the result of processing" "\n\tjust before calculating signature", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam enabledRefUrisParam = { xmlSecAppCmdLineTopicDSigCommon, "--enabled-reference-uris", NULL, "--enabled-reference-uris " "\n\tcomma separated list of of the following values:" "\n\t\"empty\", \"same-doc\", \"local\",\"remote\" to restrict possible URI" "\n\tattribute values for the element", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam enableVisa3DHackParam = { xmlSecAppCmdLineTopicDSigCommon, "--enable-visa3d-hack", NULL, "--enable-visa3d-hack" "\n\tenables Visa3D protocol specific hack for URI attributes processing" "\n\twhen we are trying not to use XPath/XPointer engine; this is a hack" "\n\tand I don't know what else might be broken in your application when" "\n\tyou use it (also check \"--id-attr\" option because you might need it)", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam enableAsn1SignaturesHackParam = { xmlSecAppCmdLineTopicDSigCommon, "--enable-asn1-signatures-hack", NULL, "--enable-asn1-signatures-hack" "\n\tenables support for ASN1 signature values generated by some XMLDsig" "\n\timplementations.", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; #endif /* XMLSEC_NO_XMLDSIG */ /****************************************************************************** * * Enc params * *****************************************************************************/ #ifndef XMLSEC_NO_XMLENC static xmlSecAppCmdLineParam enabledCipherRefUrisParam = { xmlSecAppCmdLineTopicEncCommon, "--enabled-cipher-reference-uris", NULL, "--enabled-cipher-reference-uris " "\n\tcomma separated list of of the following values:" "\n\t\"empty\", \"same-doc\", \"local\",\"remote\" to restrict possible URI" "\n\tattribute values for the element", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam binaryDataParam = { xmlSecAppCmdLineTopicEncEncrypt, "--binary-data", "--binary", "--binary-data " "\n\tbinary to encrypt", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam xmlDataParam = { xmlSecAppCmdLineTopicEncEncrypt, "--xml-data", NULL, "--xml-data " "\n\tXML to encrypt", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagNone, NULL }; #endif /* XMLSEC_NO_XMLENC */ /****************************************************************************** * * X509 params * *****************************************************************************/ #ifndef XMLSEC_NO_X509 static xmlSecAppCmdLineParam pkcs12Param = { xmlSecAppCmdLineTopicKeysMngr, "--pkcs12", NULL, "--pkcs12[:] " "\n\tload load private key from pkcs12 file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pkcs12PersistParam = { xmlSecAppCmdLineTopicKeysMngr, "--pkcs12-persist", NULL, "--pkcs12-persist" "\n\tpersist loaded private key", xmlSecAppCmdLineParamTypeFlag, xmlSecAppCmdLineParamFlagNone, NULL }; static xmlSecAppCmdLineParam pubkeyCertParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-cert-pem", "--pubkey-cert", "--pubkey-cert-pem[:] " "\n\tload public key from PEM cert file", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam pubkeyCertDerParam = { xmlSecAppCmdLineTopicKeysMngr, "--pubkey-cert-der", NULL, "--pubkey-cert-der[:] " "\n\tload public key from DER cert file", xmlSecAppCmdLineParamTypeStringList, xmlSecAppCmdLineParamFlagParamNameValue | xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam trustedParam = { xmlSecAppCmdLineTopicX509Certs, "--trusted-pem", "--trusted", "--trusted-pem " "\n\tload trusted (root) certificate from PEM file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam trustedDerParam = { xmlSecAppCmdLineTopicX509Certs, "--trusted-der", NULL, "--trusted-der " "\n\tload trusted (root) certificate from DER file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam untrustedParam = { xmlSecAppCmdLineTopicX509Certs, "--untrusted-pem", "--untrusted", "--untrusted-pem " "\n\tload untrusted certificate from PEM file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam untrustedDerParam = { xmlSecAppCmdLineTopicX509Certs, "--untrusted-der", NULL, "--untrusted-der " "\n\tload untrusted certificate from DER file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam crlPemParam = { xmlSecAppCmdLineTopicX509Certs, "--crl-pem", "--crl", "--crl-pem " "\n\tload CRLs from PEM file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam crlDerParam = { xmlSecAppCmdLineTopicX509Certs, "--crl-der", NULL, "--crl-der " "\n\tload CRLs from DER file ", xmlSecAppCmdLineParamTypeString, xmlSecAppCmdLineParamFlagMultipleValues, NULL }; static xmlSecAppCmdLineParam verificationTimeParam = { xmlSecAppCmdLineTopicX509Certs, "--verification-time", NULL, "--verification-time CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE 1017788370348 MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQDd454C+qcTIWlb65NKCt2PtguNpOSn Id5woUigu7xBk2QZNAjVyIhMEfSWp8iR0IdKLx+JQLcNOrcn0Wwl5/hhW0MXsmlS 8dM5Cq2rtmDHooLxbGTPqtALE6vsXQCk5iLz3MtGh7gyQMZ7q7HT5a3I5NChUgY1 MMNQVetRA1susQIVAIQy3BStBjvx89Wq8Tjr7IDP1S8lAoGBAJ58e4W3VqMxm7Zx YJ2xZ6KX0Ze10WnKZDyURn+T9iFIFbKRFElKDeotXwwXwYON8yre3ZRGkC+2+fiU 2bdzIWTT6LMbIMVbk+07P4OZOxJ6XWL9GuYcOQcNvX42xh34DPHdq4XdlItMR25N A+OdZ4S8VVrpb4jkj4cyir1628kgA4GEAAKBgHH2KYoaQEHnqWzRUuDAG0EYXV6Q 4ucC68MROYSL6GKqNS/AUFbvH2NUxQD7aGntYgYPxiCcj94i38rgSWg7ySSz99MA R/Yv7OSd+uej3r6TlXU34u++xYvRo+sv4m9lb/jmXyZJKeC+dPqeU1IT5kCybURL ILZfrZyDsiU/vhvVozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIatY7SE lXEOMBMGA1UdIwQMMAqACIOGPkB2MuKTMAkGByqGSM44BAMDLwAwLAIUSvT02iQj Q5da4Wpe0Bvs7GuCcVsCFCEcQpbjUfnxXFXNWiFyQ49ZrWqn MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7 PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5 NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg== xmlsec-1.3.11/tests/merlin-exc-c14n-one/000077500000000000000000000000001517172715000176255ustar00rootroot00000000000000xmlsec-1.3.11/tests/merlin-exc-c14n-one/Readme.txt000066400000000000000000000001341517172715000215610ustar00rootroot00000000000000untested exclusive c14n example signature + c14n output merlin@baltimore.ie mon jan 14 2002 xmlsec-1.3.11/tests/merlin-exc-c14n-one/exc-signature.tmpl000066400000000000000000000045341517172715000233070ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-exc-c14n-one/exc-signature.xml000066400000000000000000000065101517172715000231270ustar00rootroot00000000000000 7yOTjUu+9oEhShgyIIXDLjQ08aY= 09xMy0RTQM1Q91demYe/0F6AGXo= ZQH+SkCN8c5y0feAr+aRTZDwyvY= a1cTqBgbqpUt6bMJN4C6zFtnoyo= Kv1e7Kjhz4gFtOZKgvC5cLYtMQNIn99fyLBa6D//bBokTxTUEkMwaA== 8FkJgwdyizV5Vd0m6DA/DZsdweJdnkueYVUd7L8aA4JpZxrlCI/M7mDE/OGhEhgB nFzSTrBjSFpT7DG66uy7oJeE+RgkXO7EWWOEglMPwaZgGgi1oZarv95VOx3uO8W8 L7+S/3AuHNUZQD4b5bpdYAmjXFwz6dl0mKiXAvVuP9E= mFf8DiMVNFXy0vag9oNGNW/g4u0= g8gRdNlq9EOTR2TjmVApqCAZAq3jEjOIxXbs8JBiZ+U7dV9geeXEy13GbYoP23Qr apZQo+35diw+cMYPHjN+iUCwUkiGWv7/piAK+Ootfw03etL8XiVWjtL5NBof2CNp wmAw7mrwmNG092y1e6HXSGMMZpaoth/P8xhsxCQsqI8= j0V14dc/I+okDAeG4ZbWUzb3HTFkEOC6feOMo5Dk218GcPqEKroVHaDBF9CmRV1v B8MUOExB+6ZNHfcs5Vaw0HVn62YiEBzrmKikx6SxO4Dg9L8I5WbHn37vxUKvHs8r 7+rma3kpZQftTMiBpJ8XK8Z6jg8VhuJqo9yZZO+p3I0= xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/000077500000000000000000000000001517172715000216305ustar00rootroot00000000000000xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/Readme.txt000066400000000000000000000042041517172715000235660ustar00rootroot00000000000000Sample XML Signatures[1][2] [1] http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/ [2] http://www.w3.org/TR/2001/REC-xml-c14n-20010315 1. A large and complex signature: This includes internal and external base 64, references of the forms "", "#xpointer(/)", "#foo" and "#xpointer(id('foo'))" (with and without comments), manifests, signature properties, simple xpath with here(), xslt, retrieval method and odd interreferential dependencies. signature.xml - A signature signature.tmpl - The template from which the signature was created signature-c14n-*.txt - All intermediate c14n output 2. Some basic signatures: The key for the HMAC-SHA1 signatures is "secret".getBytes("ASCII") which is, in hex, (73 65 63 72 65 74). No key info is provided for these signatures. signature-enveloped-dsa.xml signature-enveloping-b64-dsa.xml signature-enveloping-dsa.xml signature-enveloping-hmac-sha1-40.xml signature-enveloping-hmac-sha1.xml signature-enveloping-rsa.xml signature-external-b64-dsa.xml signature-external-dsa.xml - The signatures signature-*-c14n-*.txt - The intermediate c14n output 3. Varying key information: To resolve the key associated with the KeyName in `signature-keyname.xml' you must perform a cunning transformation from the name `Xxx' to the certificate that resides in the directory `certs/' that has a subject name containing the common name `Xxx', which happens to be in the file `certs/xxx.crt'. To resolve the key associated with the X509Data in `signature-x509-is.xml', `signature-x509-ski.xml' and `signature-x509-sn.xml' you need to resolve the identified certificate from those in the `certs' directory. In `signature-x509-crt-crl.xml' an X.509 CRL is present which has revoked the X.509 certificate used for signing. So verification should be qualified. signature-keyname.xml signature-retrievalmethod-rawx509crt.xml signature-x509-crt-crl.xml signature-x509-crt.xml signature-x509-is.xml signature-x509-ski.xml signature-x509-sn.xml - The signatures certs/*.crt - The certificates Merlin Hughes Baltimore Technologies, Ltd. http://www.baltimore.com/ Thursday, April 4, 2002 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/000077500000000000000000000000001517172715000227505ustar00rootroot00000000000000xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/badb.der000066400000000000000000000015221517172715000243340ustar00rootroot000000000000000N0!gJ0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020402235957Z 120402225946Z0f1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure1 0 UBadb00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2Bn.Es,ŎP_.xB~˖⭢@g 7O9/c7{`ydw)¸lvb!%8;s56#:GSp&)*Ht1 FFߣ:080U0U j50U# 0 V0Z2}0 *H8/0,R?R&c:}kt5>iq{F\Nouxmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/badb.pem000066400000000000000000000022701517172715000243440ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDTjCCAw6gAwIBAgIGAOz5IWdKMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAyMjM1OTU3WhcNMTIwNDAyMjI1OTQ2WjBmMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ0wCwYDVQQDEwRCYWRi MIIBtjCCASsGByqGSM44BAEwggEeAoGBAISKsEonjNGgHs/uh+9YKgnwZ8Bt3T7u yQBJW9dxpMF0cPUXz4dFbSFY4QyW8igCLswpOa+eHHEYsWvE0Nr1lcKHUPXq7u41 JJwHNq1RAFeZiU6wa+1FL3v1/T1rAgzepV7xS4iafz4vxdHMlfwgKfoyKfq6JU1z oVM/ahI5xWDDAhUAmEv6eIJrB4KN0fPRABPx3NHYclkCgYAlhuYZ/AzPta7+bE5C QasmSVzc8uM/e+LN7ABlEXwQRk6QfZBcX8TbePNE8ZFng4Uft/QzAOUxALET7kKA ek4Jeytpzc0XYCYyuGJATm4F9ZY1pAJ5yQmUmwvDYdlaZJ4ldGzO/R57Evngn/G4 tqjjoi0sx3jq7czvDwdGHnky0AOBhAACgYATQutuLkVzLAWmxY7yUNr12h3oXy54 Bq1CfurLlhfiraKcFqe6QB6DvfEbh+4e/GeQIPI3y+dP/zkvrbdjN6l74mCueWTI dyn+wrhsvHbx6sb8YiElOKE7xnM1Nv8jOgcOR1NwJinjKqPv+stIdDENExfx6Ubz 8hrtRueuFP3b36M6MDgwDgYDVR0PAQH/BAQDAgeAMBEGA1UdDgQKBAiAtARqytE1 qDATBgNVHSMEDDAKgAiKHFYwWjISfTAJBgcqhkjOOAQDAy8AMCwCFFKTrj8PpVIm Yzp9a4bruXQS6ZvQAhQ1kT4Tac5xe7Gu8fu4RlzNTm911A== -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/balor.der000066400000000000000000000015231517172715000245440ustar00rootroot000000000000000O0!G0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020403000015Z 120402225946Z0g1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10 UBalor00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2n[eK 7#7Ra6J'*8\YMxĕ ;p6|"oYSL.C8)6r+f K~[AOftQ=d3s8#b\82 suW_:080U0U m0U# 0 V0Z2}0 *H8/0,CƃN_o!ydazڥd]_Ղ߭xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/balor.pem000066400000000000000000000022701517172715000245530ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDTzCCAw+gAwIBAgIGAOz5IaxHMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDE1WhcNMTIwNDAyMjI1OTQ2WjBnMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ4wDAYDVQQDEwVCYWxv cjCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCEirBKJ4zRoB7P7ofvWCoJ8GfAbd0+ 7skASVvXcaTBdHD1F8+HRW0hWOEMlvIoAi7MKTmvnhxxGLFrxNDa9ZXCh1D16u7u NSScBzatUQBXmYlOsGvtRS979f09awIM3qVe8UuImn8+L8XRzJX8ICn6Min6uiVN c6FTP2oSOcVgwwIVAJhL+niCaweCjdHz0QAT8dzR2HJZAoGAJYbmGfwMz7Wu/mxO QkGrJklc3PLjP3vizewAZRF8EEZOkH2QXF/E23jzRPGRZ4OFH7f0MwDlMQCxE+5C gHpOCXsrac3NF2AmMrhiQE5uBfWWNaQCeckJlJsLw2HZWmSeJXRszv0eexL54J/x uLao46ItLMd46u3M7w8HRh55MtADgYQAAoGAbueMW9xlSwsHNyM3j1KFYeM2yUon KtIVOMFc4VmNFE14ldDEldIK/8072nA2fCJvWfhTTC5DOAjzvSmH8sw2cgCLuo72 K39mC5aDx3/US5x+WwiDqYiVQbrir09mHdnjGnRRPWTjmA4AM3PBOCNi8VykODIB r9sgc3UAV+b8jl+jOjA4MA4GA1UdDwEB/wQEAwIHgDARBgNVHQ4ECgQIg+4EbbfC EBMwEwYDVR0jBAwwCoAIihxWMFoyEn0wCQYHKoZIzjgEAwMvADAsAhRDxoNOoKQC 6qpfb4Eh4YrYxHnwnwIUZKOfYeB62qVk0Mpd4V/zHNWC360= -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/bres.pem000066400000000000000000000022701517172715000244070ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDTjCCAw6gAwIBAgIGAOz5Id5/MAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDI4WhcNMTIwNDAyMjI1OTQ2WjBmMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ0wCwYDVQQDEwRCcmVz MIIBtjCCASsGByqGSM44BAEwggEeAoGBAISKsEonjNGgHs/uh+9YKgnwZ8Bt3T7u yQBJW9dxpMF0cPUXz4dFbSFY4QyW8igCLswpOa+eHHEYsWvE0Nr1lcKHUPXq7u41 JJwHNq1RAFeZiU6wa+1FL3v1/T1rAgzepV7xS4iafz4vxdHMlfwgKfoyKfq6JU1z oVM/ahI5xWDDAhUAmEv6eIJrB4KN0fPRABPx3NHYclkCgYAlhuYZ/AzPta7+bE5C QasmSVzc8uM/e+LN7ABlEXwQRk6QfZBcX8TbePNE8ZFng4Uft/QzAOUxALET7kKA ek4Jeytpzc0XYCYyuGJATm4F9ZY1pAJ5yQmUmwvDYdlaZJ4ldGzO/R57Evngn/G4 tqjjoi0sx3jq7czvDwdGHnky0AOBhAACgYBgvDFxw1U6Ou2G6P/+347Jfk2wPB1/ atr4p3JUVLuT0ExZG6np+rKiXmcBbYKbAhMY37zVkroR9bwo+NgaJGubQ4ex5Y1X N2Q5gIHNhNfKr8G4LPVqWGxf/lFPDYxX3ezqBJPpJCJTREX7s6Hp/VTV2SpQlySv +GRcFKJFPlhD9aM6MDgwDgYDVR0PAQH/BAQDAgeAMBEGA1UdDgQKBAiC+5gx0MHL hTATBgNVHSMEDDAKgAiKHFYwWjISfTAJBgcqhkjOOAQDAy8AMCwCFDTcM5i61uqq /aveERhOJ6NG/LubAhREVDtAeNbTEywXr4O7KvEEvFLUjg== -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/ca.der000066400000000000000000000015361517172715000240340ustar00rootroot000000000000000Z0!:<0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020402235946Z 120402225946Z0v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2Φ: Hxmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/ca.pem000066400000000000000000000023101517172715000240320ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDWjCCAxqgAwIBAgIGAOz5ITo8MAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAyMjM1OTQ2WhcNMTIwNDAyMjI1OTQ2WjB2MQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMR0wGwYDVQQDExRBbm90 aGVyIFRyYW5zaWVudCBDQTCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCEirBKJ4zR oB7P7ofvWCoJ8GfAbd0+7skASVvXcaTBdHD1F8+HRW0hWOEMlvIoAi7MKTmvnhxx GLFrxNDa9ZXCh1D16u7uNSScBzatUQBXmYlOsGvtRS979f09awIM3qVe8UuImn8+ L8XRzJX8ICn6Min6uiVNc6FTP2oSOcVgwwIVAJhL+niCaweCjdHz0QAT8dzR2HJZ AoGAJYbmGfwMz7Wu/mxOQkGrJklc3PLjP3vizewAZRF8EEZOkH2QXF/E23jzRPGR Z4OFH7f0MwDlMQCxE+5CgHpOCXsrac3NF2AmMrhiQE5uBfWWNaQCeckJlJsLw2HZ WmSeJXRszv0eexL54J/xuLao46ItLMd46u3M7w8HRh55MtADgYQAAoGADpGA7hzl zqaxtr6U+w86qQmoDJhIPMGAUG65aFhGDLm410IzA30J4DYEd9gpnG7lNF+AeHQq rpvUN+H0CB0eSxiElFRiV+x+oYUN/p1v/mbKXb4H1+mT7XTi5G/k9Kw5e8UbNgDC Ij/2uewSMd5y+jkWUUUXlwYbqt5pOZZhmtejNjA0MA4GA1UdDwEB/wQEAwICBDAP BgNVHRMECDAGAQH/AgEAMBEGA1UdDgQKBAiKHFYwWjISfTAJBgcqhkjOOAQDAy8A MCwCFDI9WLFVplIMf5ta+kB2s/BHBzm9AhQTczFDTX/7sawplNpLfzu5i/g+qA== -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/lugh-cert.der000066400000000000000000000015231517172715000253370ustar00rootroot000000000000000O0!Ħ0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020403000021Z 120402225946Z0f1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure1 0 ULugh00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2HvX0䔹PkVt݂NF[MrvK'.́MEH'CU|()5U9%= ~Ȭc>!eL jН_$Pe7 f+Lck<Ȑc:080U0U Y"P0U# 0 V0Z2}0 *H800-lܛ^[O|2&tCsci!tֵcDxmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/lugh-cert.pem000066400000000000000000000022701517172715000253460ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDTzCCAw6gAwIBAgIGAOz5IcSmMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDIxWhcNMTIwNDAyMjI1OTQ2WjBmMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ0wCwYDVQQDEwRMdWdo MIIBtjCCASsGByqGSM44BAEwggEeAoGBAISKsEonjNGgHs/uh+9YKgnwZ8Bt3T7u yQBJW9dxpMF0cPUXz4dFbSFY4QyW8igCLswpOa+eHHEYsWvE0Nr1lcKHUPXq7u41 JJwHNq1RAFeZiU6wa+1FL3v1/T1rAgzepV7xS4iafz4vxdHMlfwgKfoyKfq6JU1z oVM/ahI5xWDDAhUAmEv6eIJrB4KN0fPRABPx3NHYclkCgYAlhuYZ/AzPta7+bE5C QasmSVzc8uM/e+LN7ABlEXwQRk6QfZBcX8TbePNE8ZFng4Uft/QzAOUxALET7kKA ek4Jeytpzc0XYCYyuGJATm4F9ZY1pAJ5yQmUmwvDYdlaZJ4ldGzO/R57Evngn/G4 tqjjoi0sx3jq7czvDwdGHnky0AOBhAACgYBIdlgw5JS5w1C4a5zQVul03YLFTkaX 6RxbTYsDcnb0SyegrcKQ5y7MgaeDTUVIzCe6Q1WNjvT1fLwWmygpNVUUOZKEJT3p kSB+8/7IrGM+IWUTxkyIwasgsmrQnV/a+CSRFVDzZQKJFzcdCfZmK0yxh2NrPMiQ ogOgroVjgLrlE6M6MDgwDgYDVR0PAQH/BAQDAgeAMBEGA1UdDgQKBAiMWQ6+Iv7t UDATBgNVHSMEDDAKgAiKHFYwWjISfTAJBgcqhkjOOAQDAzAAMC0CFQCE72yE3Jte 0ltPp3yWpePyMp0RJgIUdB+bQ5BzY7G332mPCCH7dNa1Y0Q= -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/lugh.der000066400000000000000000000006721517172715000244100ustar00rootroot0000000000000000+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2HvX0䔹PkVt݂NF[MrvK'.́MEH'CU|()5U9%= ~Ȭc>!eL jН_$Pe7 f+Lck<Ȑcxmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/lugh.pem000066400000000000000000000012161517172715000244120ustar00rootroot00000000000000-----BEGIN PUBLIC KEY----- MIIBtjCCASsGByqGSM44BAEwggEeAoGBAISKsEonjNGgHs/uh+9YKgnwZ8Bt3T7u yQBJW9dxpMF0cPUXz4dFbSFY4QyW8igCLswpOa+eHHEYsWvE0Nr1lcKHUPXq7u41 JJwHNq1RAFeZiU6wa+1FL3v1/T1rAgzepV7xS4iafz4vxdHMlfwgKfoyKfq6JU1z oVM/ahI5xWDDAhUAmEv6eIJrB4KN0fPRABPx3NHYclkCgYAlhuYZ/AzPta7+bE5C QasmSVzc8uM/e+LN7ABlEXwQRk6QfZBcX8TbePNE8ZFng4Uft/QzAOUxALET7kKA ek4Jeytpzc0XYCYyuGJATm4F9ZY1pAJ5yQmUmwvDYdlaZJ4ldGzO/R57Evngn/G4 tqjjoi0sx3jq7czvDwdGHnky0AOBhAACgYBIdlgw5JS5w1C4a5zQVul03YLFTkaX 6RxbTYsDcnb0SyegrcKQ5y7MgaeDTUVIzCe6Q1WNjvT1fLwWmygpNVUUOZKEJT3p kSB+8/7IrGM+IWUTxkyIwasgsmrQnV/a+CSRFVDzZQKJFzcdCfZmK0yxh2NrPMiQ ogOgroVjgLrlEw== -----END PUBLIC KEY----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/macha.der000066400000000000000000000015241517172715000245170ustar00rootroot000000000000000P0!{0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020403000003Z 120402225946Z0g1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10 UMacha00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2]h"D㶤Lw'WIGބ}Z<IVs$9p[8Z0N`E?Y;~07;:080U0U 3Ay0U# 0 V0Z2}0 *H800->3WLܜ[:+r<)֒jn @xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/macha.pem000066400000000000000000000022701517172715000245250ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDUDCCAw+gAwIBAgIGAOz5IXv6MAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDAzWhcNMTIwNDAyMjI1OTQ2WjBnMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ4wDAYDVQQDEwVNYWNo YTCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCEirBKJ4zRoB7P7ofvWCoJ8GfAbd0+ 7skASVvXcaTBdHD1F8+HRW0hWOEMlvIoAi7MKTmvnhxxGLFrxNDa9ZXCh1D16u7u NSScBzatUQBXmYlOsGvtRS979f09awIM3qVe8UuImn8+L8XRzJX8ICn6Min6uiVN c6FTP2oSOcVgwwIVAJhL+niCaweCjdHz0QAT8dzR2HJZAoGAJYbmGfwMz7Wu/mxO QkGrJklc3PLjP3vizewAZRF8EEZOkH2QXF/E23jzRPGRZ4OFH7f0MwDlMQCxE+5C gHpOCXsrac3NF2AmMrhiQE5uBfWWNaQCeckJlJsLw2HZWmSeJXRszv0eexL54J/x uLao46ItLMd46u3M7w8HRh55MtADgYQAAoGAXenEaP4SIoG3ukTjtqT8TOKddzyb dd8epOpGDnPemC6hmsjkbfNDrKEdbsb9AKhb0pp2HKWxNPzPACJ65LMgrtTPY/6f NLxB1/o+J1dJR7nehKF9WjwDjAJJ6f9Wc4OwJP7B7DlwWzhaMMNOzmASAUU/AoeL WTuMfjA3O+6hm6ijOjA4MA4GA1UdDwEB/wQEAwIHgDARBgNVHQ4ECgQIizPsQXmT yPowEwYDVR0jBAwwCoAIihxWMFoyEn0wCQYHKoZIzjgEAwMwADAtAhUAiT4zE8AB 6veOzVcWxkyYFwHcnFsCFDorkHKzPCnWkmpuDY39GvfKEYBA -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/merlin.der000066400000000000000000000015171517172715000247360ustar00rootroot000000000000000K0  0 *H80n1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10U Transient CA0 020402225925Z 120402215925Z0n1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10U Transient CA00,*H80!i[J ݏ !pHAd4ȈLȑЇJ/@ :'l%a[CiR9 `ǢldϪ ]"F2@{СR50PUQ[.2;ժ8/%|{V1q`gїid  ?@j`sdܺ{>I@I[x mʋ_W&VodDy7Y&w  V892;`6e`mu=M۫8DN >`JEF6040U0U00U >@v20 *H8/0,B{zY,OaMvd⊏EI8.xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/merlin.pem000066400000000000000000000022651517172715000247460ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7 PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5 NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg== -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/morigu.pem000066400000000000000000000022701517172715000247560ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDUDCCAxCgAwIBAgIGAOz5IVHTMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAyMjM1OTUyWhcNMTIwNDAyMjI1OTQ2WjBoMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ8wDQYDVQQDEwZNb3Jp Z3UwggG2MIIBKwYHKoZIzjgEATCCAR4CgYEAhIqwSieM0aAez+6H71gqCfBnwG3d Pu7JAElb13GkwXRw9RfPh0VtIVjhDJbyKAIuzCk5r54ccRixa8TQ2vWVwodQ9eru 7jUknAc2rVEAV5mJTrBr7UUve/X9PWsCDN6lXvFLiJp/Pi/F0cyV/CAp+jIp+rol TXOhUz9qEjnFYMMCFQCYS/p4gmsHgo3R89EAE/Hc0dhyWQKBgCWG5hn8DM+1rv5s TkJBqyZJXNzy4z974s3sAGURfBBGTpB9kFxfxNt480TxkWeDhR+39DMA5TEAsRPu QoB6Tgl7K2nNzRdgJjK4YkBObgX1ljWkAnnJCZSbC8Nh2VpkniV0bM79HnsS+eCf 8bi2qOOiLSzHeOrtzO8PB0YeeTLQA4GEAAKBgH1NBJ9Az5TwY4tDE0dPYVHHABt+ yLspnT3k9G6YWUMFhZ/+3RuqEPjnKrPfUoXTTJGIACgPU3/PkqwrPVD0JMdpOcnZ LHiJ/P7QRQeMwDRoBrs7genB1bDd4pSJrEUcjrkA5uRrIj2Z5fL+UuLiLGPO2rM7 BNQRIq3QFPdX++NuozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIK7Ljjh +EsfMBMGA1UdIwQMMAqACIocVjBaMhJ9MAkGByqGSM44BAMDLwAwLAIUEJJCOHw8 ppxoRyz3s+Vmb4NKIfMCFDgJoZn9zh/3WoYNBURODwLvyBOy -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/nemain.der000066400000000000000000000015241517172715000247150ustar00rootroot000000000000000P0!0 *H80v1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10UAnother Transient CA0 020403000008Z 120402225946Z0h1 0 UIE10 UDublin1$0"U Baltimore Technologies Ltd.10U X/Secure10 UNemain00+*H80J'ѠX* gm>I[qtpχEm!X (.)9qk‡P5$6QWNkE/{=k ޥ^K>/̕ )2)%MsS?j9`KxkrY% ϵlNBA&I\?{e|FN}\_xDg31BzN {+i`&2b@Nn5y aZd%tl{񸶨-,xFy2|sO5(#  $h Ā߰ $ fW+zmTSƫokSa&/HV@Ԇs t-Ļ\wU!$cGR\o/T0vQnԋFgRd:080U0U tħҜ0U# 0 V0Z2}0 *H8/0,$/5)M7faJKQ}Xx>?_~ xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/certs/nemain.pem000066400000000000000000000022701517172715000247230ustar00rootroot00000000000000-----BEGIN CERTIFICATE----- MIIDUDCCAxCgAwIBAgIGAOz5IZDHMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDA4WhcNMTIwNDAyMjI1OTQ2WjBoMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ8wDQYDVQQDEwZOZW1h aW4wggG2MIIBKwYHKoZIzjgEATCCAR4CgYEAhIqwSieM0aAez+6H71gqCfBnwG3d Pu7JAElb13GkwXRw9RfPh0VtIVjhDJbyKAIuzCk5r54ccRixa8TQ2vWVwodQ9eru 7jUknAc2rVEAV5mJTrBr7UUve/X9PWsCDN6lXvFLiJp/Pi/F0cyV/CAp+jIp+rol TXOhUz9qEjnFYMMCFQCYS/p4gmsHgo3R89EAE/Hc0dhyWQKBgCWG5hn8DM+1rv5s TkJBqyZJXNzy4z974s3sAGURfBBGTpB9kFxfxNt480TxkWeDhR+39DMA5TEAsRPu QoB6Tgl7K2nNzRdgJjK4YkBObgX1ljWkAnnJCZSbC8Nh2VpkniV0bM79HnsS+eCf 8bi2qOOiLSzHeOrtzO8PB0YeeTLQA4GEAAKBgHzbc/0aTzXwKKeT85kjCq2HD4WY nZC9DOck02gNhNbEgN+wGeUPDSQM/vhmxVeoK3ptVA/sU8arBW8V+AdrU/9hJr0v nEiqgt9WQLHUhnMJiXTMLcS7XHeIVcwh/iRjD61HUp1cby9UMHZRsW6Ys8rUi0Zn /1KrtpTwZJuNwsYIozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIX9dMSn 0pyIMBMGA1UdIwQMMAqACIocVjBaMhJ9MAkGByqGSM44BAMDLwAwLAIUFRYkL6qD NZWtKU03+WYBiGEGSoECFEtRGI19WHg+sT9fBfGKfo8NnJX4 -----END CERTIFICATE----- xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloped-dsa.tmpl000066400000000000000000000014651517172715000272610ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloped-dsa.xml000066400000000000000000000032451517172715000271030ustar00rootroot00000000000000 fdy6S2NLpnT4fMdokUHSHsmpcvo= Z4pBb+o+XOKWME7CpLyXuNqyIYdXOcGvthfUf+ZDLL5immPx+3tK8Q==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa.tmpl000066400000000000000000000013701517172715000300320ustar00rootroot00000000000000 TestKeyName-dsa-1024 c29tZSB0ZXh0 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa.xml000066400000000000000000000031001517172715000276470ustar00rootroot00000000000000 N6pjx3OY2VRHMmLhoAV8HmMu2nc= KgAeq8e0yUNfFz+mFlZ3QgyQNMciV+Z3BoDQDvQNker7pazEnJmOIA==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
c29tZSB0ZXh0
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-dsa.tmpl000066400000000000000000000012031517172715000274340ustar00rootroot00000000000000 TestKeyName-dsa-1024 some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-dsa.xml000066400000000000000000000027131517172715000272670ustar00rootroot00000000000000 7/XTsHaBSOnJ/jXD5v0zL6VKYsk= PfD92lkxKgc2OKvF4p0ba6cJj6d1eqIDx5Q1hvVYTviotje23Snunw==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
some text
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40.tmpl000066400000000000000000000012441517172715000306550ustar00rootroot00000000000000 80 TeskKeyName-Hmac some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40.xml000066400000000000000000000012241517172715000304770ustar00rootroot00000000000000 80 7/XTsHaBSOnJ/jXD5v0zL6VKYsk= xjqFz/yYQRTOrw== some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1.tmpl000066400000000000000000000011411517172715000304300ustar00rootroot00000000000000 TeskKeyName-Hmac some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1.xml000066400000000000000000000011351517172715000302570ustar00rootroot00000000000000 7/XTsHaBSOnJ/jXD5v0zL6VKYsk= JElPttIT4Am7Q+MNoMyv+WDfAZw= some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-rsa.tmpl000066400000000000000000000012031517172715000274520ustar00rootroot00000000000000 TestKeyName-rsa-2048 some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-enveloping-rsa.xml000066400000000000000000000021771517172715000273110ustar00rootroot00000000000000 7/XTsHaBSOnJ/jXD5v0zL6VKYsk= ov3HOoPN0w71N3DdGNhN+dSzQm6NJFUB5qGKRp9Q986nVzMb8wCIVxCQu+x3vMtq p4/R3KEcPtEJSaoR+thGq++GPIh2mZXyWJs3xHy9P4xmoTVwli7/l7s8ebDSmnbZ 7xZU4Iy1BSMZSxGKnRG+Z/0GJIfTz8jhH6wCe3l03L4= q07hpxA5DGFfvJFZueFl/LI85XxQxrvqgVugL25V090A9MrlLBg5PmAsxFTe+G6a xvWJQwYOVHj/nuiCnNLa9a7uAtPFiTtW+v5H3wlLaY3ws4atRBNOQlYkIBp38sTf QBkk4i8PEU1GQ2M0CLIJq4/2Akfv1wxzSQ9+8oWkArc= AQAB some text xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.tmpl000066400000000000000000000013731517172715000275110ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml000066400000000000000000000031031517172715000273260ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= IhOlAjMFaZtkEju5R5bi528h1HpDa4A21sudZynhJRRLjZuQIHZ3eQ==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-external-dsa.tmpl000066400000000000000000000011661517172715000271200ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-external-dsa.xml000066400000000000000000000026761517172715000267530ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= LaL1/t/XodYvDJDgSEbq47GX8ltnlx3FFURdi7o+UFVi+zLf0WyWaQ==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-keyname.tmpl000066400000000000000000000011431517172715000261550ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-keyname.xml000066400000000000000000000012401517172715000257770ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= JkJ3GplEU0iDbqSv7ZOXhvv3zeM1KmP+CLphhoc+NPYqpGYQiW6O6w== Lugh xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-retrievalmethod-rawx509crt.tmpl000066400000000000000000000012461517172715000316540ustar00rootroot00000000000000 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-retrievalmethod-rawx509crt.xml000066400000000000000000000014201517172715000314720ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= SNB5FI193RFXoG2j8Z9bXWgW7BMPICqNob4Hjh08oou4tkhGxz4+pg== xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-crt-crl.tmpl000066400000000000000000000011661517172715000266020ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-crt-crl.xml000066400000000000000000000047221517172715000264270ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= WF6EaX66f8CdGE6NafmzdLpb/1OVYX4kBNsqgGIqHR5JZAu4HpbVQQ== MIIDTjCCAw6gAwIBAgIGAOz5Id5/MAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAzMDAwMDI4WhcNMTIwNDAyMjI1OTQ2WjBmMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ0wCwYDVQQDEwRCcmVz MIIBtjCCASsGByqGSM44BAEwggEeAoGBAISKsEonjNGgHs/uh+9YKgnwZ8Bt3T7u yQBJW9dxpMF0cPUXz4dFbSFY4QyW8igCLswpOa+eHHEYsWvE0Nr1lcKHUPXq7u41 JJwHNq1RAFeZiU6wa+1FL3v1/T1rAgzepV7xS4iafz4vxdHMlfwgKfoyKfq6JU1z oVM/ahI5xWDDAhUAmEv6eIJrB4KN0fPRABPx3NHYclkCgYAlhuYZ/AzPta7+bE5C QasmSVzc8uM/e+LN7ABlEXwQRk6QfZBcX8TbePNE8ZFng4Uft/QzAOUxALET7kKA ek4Jeytpzc0XYCYyuGJATm4F9ZY1pAJ5yQmUmwvDYdlaZJ4ldGzO/R57Evngn/G4 tqjjoi0sx3jq7czvDwdGHnky0AOBhAACgYBgvDFxw1U6Ou2G6P/+347Jfk2wPB1/ atr4p3JUVLuT0ExZG6np+rKiXmcBbYKbAhMY37zVkroR9bwo+NgaJGubQ4ex5Y1X N2Q5gIHNhNfKr8G4LPVqWGxf/lFPDYxX3ezqBJPpJCJTREX7s6Hp/VTV2SpQlySv +GRcFKJFPlhD9aM6MDgwDgYDVR0PAQH/BAQDAgeAMBEGA1UdDgQKBAiC+5gx0MHL hTATBgNVHSMEDDAKgAiKHFYwWjISfTAJBgcqhkjOOAQDAy8AMCwCFDTcM5i61uqq /aveERhOJ6NG/LubAhREVDtAeNbTEywXr4O7KvEEvFLUjg== MIIBJDCB5AIBATAJBgcqhkjOOAQDMHYxCzAJBgNVBAYTAklFMQ8wDQYDVQQIEwZE dWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9sb2dpZXMgTHRkLjERMA8G A1UECxMIWC9TZWN1cmUxHTAbBgNVBAMTFEFub3RoZXIgVHJhbnNpZW50IENBFw0w MjA0MDQwMjE2NThaFw0xMTA0MDIwMjE2NThaMBkwFwIGAOz5Id5/Fw0wMjA0MDQw MjE2NThaoCMwITATBgNVHSMEDDAKgAiKHFYwWjISfTAKBgNVHRQEAwIBADAJBgcq hkjOOAQDAzAAMC0CFCEIm38fvGzSJHms284hUs9dNB8nAhUAjEtZr0TGgc6sVRVk krEgltdo7Jw= xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-crt.tmpl000066400000000000000000000011661517172715000260240ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-crt.xml000066400000000000000000000037461517172715000256560ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= GCQVmBq+1H7e9IjvKfe+egLM1Jlp3L1JCGkl9SlJ0eaDh2MKYUUnHA== MIIDUDCCAxCgAwIBAgIGAOz5IVHTMAkGByqGSM44BAMwdjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEdMBsGA1UEAxMUQW5vdGhlciBUcmFu c2llbnQgQ0EwHhcNMDIwNDAyMjM1OTUyWhcNMTIwNDAyMjI1OTQ2WjBoMQswCQYD VQQGEwJJRTEPMA0GA1UECBMGRHVibGluMSQwIgYDVQQKExtCYWx0aW1vcmUgVGVj aG5vbG9naWVzIEx0ZC4xETAPBgNVBAsTCFgvU2VjdXJlMQ8wDQYDVQQDEwZNb3Jp Z3UwggG2MIIBKwYHKoZIzjgEATCCAR4CgYEAhIqwSieM0aAez+6H71gqCfBnwG3d Pu7JAElb13GkwXRw9RfPh0VtIVjhDJbyKAIuzCk5r54ccRixa8TQ2vWVwodQ9eru 7jUknAc2rVEAV5mJTrBr7UUve/X9PWsCDN6lXvFLiJp/Pi/F0cyV/CAp+jIp+rol TXOhUz9qEjnFYMMCFQCYS/p4gmsHgo3R89EAE/Hc0dhyWQKBgCWG5hn8DM+1rv5s TkJBqyZJXNzy4z974s3sAGURfBBGTpB9kFxfxNt480TxkWeDhR+39DMA5TEAsRPu QoB6Tgl7K2nNzRdgJjK4YkBObgX1ljWkAnnJCZSbC8Nh2VpkniV0bM79HnsS+eCf 8bi2qOOiLSzHeOrtzO8PB0YeeTLQA4GEAAKBgH1NBJ9Az5TwY4tDE0dPYVHHABt+ yLspnT3k9G6YWUMFhZ/+3RuqEPjnKrPfUoXTTJGIACgPU3/PkqwrPVD0JMdpOcnZ LHiJ/P7QRQeMwDRoBrs7genB1bDd4pSJrEUcjrkA5uRrIj2Z5fL+UuLiLGPO2rM7 BNQRIq3QFPdX++NuozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIK7Ljjh +EsfMBMGA1UdIwQMMAqACIocVjBaMhJ9MAkGByqGSM44BAMDLwAwLAIUEJJCOHw8 ppxoRyz3s+Vmb4NKIfMCFDgJoZn9zh/3WoYNBURODwLvyBOy xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-is.tmpl000066400000000000000000000011661517172715000256470ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-is.xml000066400000000000000000000016371517172715000254760ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= bmKMy/w1DO9dHA6E7Dt0B8IFkYAj1/UD3TqcdqIcfkMT7evE8+NBgg== CN=Another Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE 1017792003066 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-ski.tmpl000066400000000000000000000011661517172715000260220ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-ski.xml000066400000000000000000000013311517172715000256400ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= F9nEU1Us48iKTml8n7E4wt7HtFJ5gaLIgox0J9WbujGndW0oQJbeGg== hf10xKfSnIg= xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-sn.tmpl000066400000000000000000000011661517172715000256540ustar00rootroot00000000000000 TestKeyName-dsa-1024 xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature-x509-sn.xml000066400000000000000000000014351517172715000254770ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= MUOjiqG0dbjvR6+qYYPL85nKSt2FeZGQBQkYudv48KyJhJLG1Bp+bA== CN=Badb,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature.tmpl000066400000000000000000000273611517172715000245400ustar00rootroot00000000000000 ]> foo bar self::text() ancestor-or-self::dsig:SignedInfo and count(ancestor-or-self::dsig:Reference | here()/ancestor::dsig:Reference[1]) > count(ancestor-or-self::dsig:Reference) or count(ancestor-or-self::node() | id('notaries')) = count(ancestor-or-self::node()) ancestor-or-self::dsig:X509Data I am the text. SSBhbSB0aGUgdGV4dC4= Notaries
192.168.21.138 MIIFqjCCBJKgAwIBAgIUdzXuSH9oYtrxs5VtlhzLD6bzT1AwDQYJKoZIhvcNAQEL BQAwgbYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMT0wOwYDVQQK EzRYTUwgU2VjdXJpdHkgTGlicmFyeSAoaHR0cDovL3d3dy5hbGVrc2V5LmNvbS94 bWxzZWMpMRgwFgYDVQQLEw9TZWNvbmQgbGV2ZWwgQ0ExFjAUBgNVBAMTDUFsZWtz ZXkgU2FuaW4xITAfBgkqhkiG9w0BCQEWEnhtbHNlY0BhbGVrc2V5LmNvbTAgFw0y NjAzMDgyMjEzMTBaGA8yMTI2MDIxMjIyMTMxMFowfTELMAkGA1UEBhMCVVMxEzAR BgNVBAgTCkNhbGlmb3JuaWExPTA7BgNVBAoTNFhNTCBTZWN1cml0eSBMaWJyYXJ5 IChodHRwOi8vd3d3LmFsZWtzZXkuY29tL3htbHNlYykxGjAYBgNVBAMTEVRlc3Qg S2V5IGRzYS0xMDI0MIIBtjCCASsGByqGSM44BAEwggEeAoGBAIXYS5F9OLq7vXyX vPx4EY5UKcDS+nXaVDFwppOgO5DxHw8ZDronBwAYUMMJrNsakb17IMyQvuJDR0FP HLxyAQXrWjXXiR7tbwG5oC2/N/H33iU6qcHcxk9Xp6DKaiNZXVgOmwuiD4xDQm0n lAMeFRP1TIlvouaQB6s6+RGwPD81AhUApYJ8h4jXgfdyWtN+hFTj4bub068CgYBq /BjSSH5vUQaZZshI2BdEu8N7R4Ecy5OJYcPytvfj6zSTR/N+4PRnDCAHXXyGsYi0 FB3SDcdgIn+MfJUOx1KRNXhp2AK/F6QVfgp8J6TgFonsHAJNlsjZJ06QLwAVs0Tv yVuEZcePakDLsGwfFsRIWLT0oeZ5wmm59tQ1AY881wOBhAACgYBgSc1I6UqJiCj4 MDiNQ1s+rVJHG0emMr7sELrqaxmQrgzEs5NBfFE6e4doXfVfz1A+OXDW4vmx0YFD vXOy9KHgFQpBViUf7P4c9/BERiIvL7rWuTNkW/g2O9ssCHhwq3Ifs51ScfGjjdpb gsEtdrCzxiQondH71HAXvLcy9g2XgqOCAVAwggFMMAwGA1UdEwQFMAMBAf8wLAYJ YIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRpZmljYXRlMB0GA1Ud DgQWBBSja1vEKoR/s6T/Ybtp6LvtXuA2SDCB7gYDVR0jBIHmMIHjgBTRfResRUKK jvmwFyXVPHKYnYg6JaGBtKSBsTCBrjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNh bGlmb3JuaWExPTA7BgNVBAoTNFhNTCBTZWN1cml0eSBMaWJyYXJ5IChodHRwOi8v d3d3LmFsZWtzZXkuY29tL3htbHNlYykxEDAOBgNVBAsTB1Jvb3QgQ0ExFjAUBgNV BAMTDUFsZWtzZXkgU2FuaW4xITAfBgkqhkiG9w0BCQEWEnhtbHNlY0BhbGVrc2V5 LmNvbYIUdzXuSH9oYtrxs5VtlhzLD6bzT08wDQYJKoZIhvcNAQELBQADggEBAJA2 6Gg+tjwHN2LOFLGf0H/L9EGOsVd766W9WlSMd9o4Scu7CpPxjlxIiZ1Me4PqNA9B yOpn0+etG4C2ZYx8uC05NaqqwsONDyCbDIQY65DoHgmN1UykWtFo7+7107C6d2Dt Sx9NK/s8+khLHCKk+zcCSlITHqo9jGqkeHJ/N7D1YY7J4tigDnQLK0JDYP86GwVm Lntj2aOW8tlTuT/e2SFfcjaeAbY8nw1j6Xe3cI/IsMQIKkZPDSpi1vpbQh2Wp2VJ qfD/c9NgPET/AhJ8M6+2dAQ2odRwBRknPhbyFKHuRbUS5M29h0AaRM7JzgajieZH YGsyfg9XjjhqrWyi+OM=
bar
xmlsec-1.3.11/tests/merlin-xmldsig-twenty-three/signature.xml000066400000000000000000000331261517172715000243600ustar00rootroot00000000000000 ]> foo bar 60NvZvtdTB+7UnlLp/H24p7h4bs= 60NvZvtdTB+7UnlLp/H24p7h4bs= self::text() zyjp8GJOX69990Kkqw8ioPXGExk= ancestor-or-self::dsig:SignedInfo and count(ancestor-or-self::dsig:Reference | here()/ancestor::dsig:Reference[1]) > count(ancestor-or-self::dsig:Reference) or count(ancestor-or-self::node() | id('notaries')) = count(ancestor-or-self::node()) tQiE3GUKiBenPyp3J0Ei6rJMFv4= zyjp8GJOX69990Kkqw8ioPXGExk= qg4HFwsN+/WX32uH85WlJU9l45k= ETlEI3y7hvvAtMe9wQSz7LhbHEE= J/O0HhdaPXxx49fgGWMESL09GpA= J/O0HhdaPXxx49fgGWMESL09GpA= J/O0HhdaPXxx49fgGWMESL09GpA= MkL9CX8yeABBth1RChyPx58Ls8w= yamSIokKmjA3hB/s3Fu07wDO3vM= yamSIokKmjA3hB/s3Fu07wDO3vM= yamSIokKmjA3hB/s3Fu07wDO3vM= 419CYgyTWOTGYGBhzieWklNf7Bk= VzK45P9Ksjqq5oXlKQpkGgB2CNY= 7/9fR+NIDz9owc1Lfsxu1JBr8uo= qURlo3LSq4TWQtygBZJ0iXQ9E14= WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw== ancestor-or-self::dsig:X509Data I am the text. SSBhbSB0aGUgdGV4dC4= 60NvZvtdTB+7UnlLp/H24p7h4bs= qURlo3LSq4TWQtygBZJ0iXQ9E14= Notaries
c7wq5XKos6RqNVJyFy7/fl6+sAs=
192.168.21.138 CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE 1017788370348 MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQDd454C+qcTIWlb65NKCt2PtguNpOSn Id5woUigu7xBk2QZNAjVyIhMEfSWp8iR0IdKLx+JQLcNOrcn0Wwl5/hhW0MXsmlS 8dM5Cq2rtmDHooLxbGTPqtALE6vsXQCk5iLz3MtGh7gyQMZ7q7HT5a3I5NChUgY1 MMNQVetRA1susQIVAIQy3BStBjvx89Wq8Tjr7IDP1S8lAoGBAJ58e4W3VqMxm7Zx YJ2xZ6KX0Ze10WnKZDyURn+T9iFIFbKRFElKDeotXwwXwYON8yre3ZRGkC+2+fiU 2bdzIWTT6LMbIMVbk+07P4OZOxJ6XWL9GuYcOQcNvX42xh34DPHdq4XdlItMR25N A+OdZ4S8VVrpb4jkj4cyir1628kgA4GEAAKBgHH2KYoaQEHnqWzRUuDAG0EYXV6Q 4ucC68MROYSL6GKqNS/AUFbvH2NUxQD7aGntYgYPxiCcj94i38rgSWg7ySSz99MA R/Yv7OSd+uej3r6TlXU34u++xYvRo+sv4m9lb/jmXyZJKeC+dPqeU1IT5kCybURL ILZfrZyDsiU/vhvVozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIatY7SE lXEOMBMGA1UdIwQMMAqACIOGPkB2MuKTMAkGByqGSM44BAMDLwAwLAIUSvT02iQj Q5da4Wpe0Bvs7GuCcVsCFCEcQpbjUfnxXFXNWiFyQ49ZrWqn MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7 PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5 NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg==
bar
xmlsec-1.3.11/tests/merlin-xmlenc-five/000077500000000000000000000000001517172715000177415ustar00rootroot00000000000000xmlsec-1.3.11/tests/merlin-xmlenc-five/Readme.txt000066400000000000000000000103431517172715000217000ustar00rootroot00000000000000Example Signatures[1] using Encryption[2] key information and Additional Security URIs[3], Encrypted Data[2] and Decryption Transform[4] [1] http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/ [2] http://www.w3.org/Encryption/2001/Drafts/xmlenc-core/ [3] https://www.rfc-editor.org/rfc/rfc9231.html [4] http://www.w3.org/TR/xmlenc-decrypt *** Some of these signature are WITHOUT cryptographic merit; for example, key transport of an HMAC key is meaningless. These are provided solely for testing purposes. *** Private keys necessary for performing the verification and decryption are provided in the PKCS#12 file ids.p12, encrypted under the pass phrase "Our Little Secret". I may have done some of the ASN.1 encoding in this P12 incorrectly; I hope not. Private keys are also available in PKCS#8 encoding; rsa.p8, dh1.p8. RSA/OAEP is presently poorly defined; I assume MGF1/SHA-1. Secret keys are identified by key name as follows: Key Name | Algorithm | Key Value ----------+-----------+----------- bob | 3des | "abcdefghijklmnopqrstuvwx".getBytes ("ASCII") job | aes-128 | "abcdefghijklmnop".getBytes ("ASCII") jeb | aes-192 | "abcdefghijklmnopqrstuvwx".getBytes ("ASCII") jed | aes-256 | "abcdefghijklmnopqrstuvwxyz012345".getBytes ("ASCII") . encrypt-content-aes128-cbc-kw-aes192.xml . encrypt-content-aes192-cbc-dh-sha512.xml . encrypt-content-tripledes-cbc.xml . encrypt-data-aes128-cbc.xml . encrypt-data-aes192-cbc-kw-aes256.xml . encrypt-data-aes256-cbc-kw-tripledes.xml . encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.xml . encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.xml . encrypt-element-aes128-cbc-rsa-1_5.xml . encrypt-element-aes192-cbc-ref.xml . encrypt-element-aes256-cbc-kw-aes256-dh-ripemd160.xml . encrypt-element-tripledes-cbc-kw-aes128.xml Encrypted content, element and data. RSA private key has friendly name "RSA" in the P12, and is rsa.p8. DH private key has ID "DH1", and is dh1.p8. . encrypt-content-aes256-cbc-prop.xml Contains a useless EncryptionProperty. . encrypt-element-aes256-cbc-carried-kw-aes256.xml External EncryptedKey contains a CarriedKeyName which is referenced by a KeyName in the EncryptedData; the key for Recipient "someone else" is not for you; the key for Recipient "you" is. . encrypt-element-aes256-cbc-retrieved-kw-aes256.xml External EncryptedKey is identified by a RetrievalMethod in the EncryptedData. . decryption-transform.xml Decryption transform. . decryption-transform-except.xml Decryption transform with Except. All signatures are performed with nontruncated HMAC algorithms. For debugging purposes, where chosen, the MAC key is "abcdefghijklmnopqrstuvwxyz012345".getBytes ("ASCII"). Where agreed, it has length equal to the HMAC output length; e.g., 256 bits for HMAC/SHA-256. . encsig-ripemd160-hmac-ripemd160-kw-tripledes.xml RIPEMD-160 message digest; HMAC/RIPEMD-160 key is wrapped using triple DES. The decryption key is from the above table, identified by the key name "bob". . encsig-sha256-hmac-sha256-kw-aes128.xml SHA-256 message digest; HMAC/SHA-256 key is wrapped using AES-128. The decryption key is from the above table, identified by the key name "job". . encsig-sha384-hmac-sha384-kw-aes192.xml SHA-384 message digest; HMAC/SHA-384 key is wrapped using AES-192. The decryption key is from the above table, identified by the key name "jeb". . encsig-sha512-hmac-sha512-kw-aes256.xml SHA-512 message digest; HMAC/SHA-512 key is wrapped using AES-256. The decryption key is from the above table, identified by the key name "jed". . encsig-hmac-sha256-rsa-1_5.xml HMAC/SHA-256 keys is transported using RSA/OAEP. Your private key has friendly name "RSA" in the P12. . encsig-hmac-sha256-rsa-oaep-mgf1p.xml HMAC/SHA-256 keys is transported using RSA/PKCS#1. Your private key has friendly name "RSA" in the P12. . encsig-hmac-sha256-dh.xml HMAC/SHA-256 key is agreed using Diffie Hellman. Your private key has friendly name "DH1" in the P12. . encsig-hmac-sha256-kw-tripledes-dh.xml HMAC/SHA-256 key is wrapped using triple DES. The decryption key is agreed using Diffie Hellman. Your private key has friendly name "DH1" in the P12. Merlin Hughes Baltimore Technologies, Ltd. Monday, March 4, 2002 xmlsec-1.3.11/tests/merlin-xmlenc-five/bad-encrypt-content-aes128-cbc-kw-aes192.xml000066400000000000000000000031161517172715000275130ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jeb JbjZH7Mq564oMybpvCHWYM/5ER3eFsAV YDYTxR+smxZDSVoXXEp3n6HzTgWqV7ZlG6I1lmEv7zLGZBF/o7eqe5QGT6L3DPNW geflA8vVJHxwliixWcvHCnNKQkx+Sw8YbIknCQyr4mqtXEmHhsie5XYTEyqgKLVP YdNXf56wLUTMEmBqq7cto9OrYcBWkrDcQQvHmDkHuG+Nom4m+623GsB0FNts6VyN sdGMwo4K0bEFReLL04l6It+cgLJ2q+LKdBoMQL59IAQmrwi0bkiqee2cLlDuGyQ1 KD9IQ1qtlJpvQujN4xNVWT00UjtWxmpSMID/Kue/AnXn7Cf8zw1ZZQitgh8uWOX2 uMy99F2YlxqIK1r+MeXHuZDNf75S8dFaKIKtHMf7ioA= xmlsec-1.3.11/tests/merlin-xmlenc-five/decryption-transform-except.xml000066400000000000000000000064511517172715000261500ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jed cX6lnfgmvWuxyiQgNhzAq1lYggW2M5GziFgNBQju3xcnDqlzf5LSjeyBnbL0Q7ws 8XhySFCrdwIi5mVxyfdFkVrTlzQQ0viaqTDgi9PQRgZMOImGGWij3wbmf9XseHHt 6q8V7LPjMFQAnsLDQgKf4gzzOnhtKf15GfTEpGvUnNn2dLDxw+hDcD1N54/bjSQs uTiL7PgGQ5g4u4eaXRRLWeAGsIf5QgdQG3GLiOZIX1LJ5bREKgXeKrtJJI97xUX3 3vaF+tKRcSFBFIMjFrw271bFj4vvvQZfSS6xX+BKXHOUu8C4NH9Le8pA9o4NgCB8 tWA8W3iI5/BGEZve0Me9byvPHYjRXlbG+YqysVTmzfw= x3aR5pJ5pepFFH5ENv61pZG4pVwNKaM+H9oyY4qG6d8l/C0J1iGv6c8dyLp0YQ2k 5Oe9qba6preOZG1NZAYK2/6pu9RCon9vRJ9hVLDpeng= LuHrz9+WG7/c4Q81tFboNZg2cktWbZcRfp08XrmgKy1GDm9xSfTYCA==

imup6lmki4rAmUstKb/xdBRMWNtQ+pDN97ZnLA9X3lKbkEHtYFyjQ3uActgVSJ75 iVRuKxz4Cb5RzVm25EaKmKq8rif1MtBIi6jjDJxmIdNaEKG9zVTf9giJx1N9I0t3 oh1fAVZDSrzKzJGQ2WvDfIfFHdJMtB3C0VKGmLZR7Xk=

xDve3j7sEnh4rIzM5gK+5/gxxFU= NLugAf6IZJxo3BCOi5yrGEVwtlEzXcnndXhd0Tz38CnQKc4SEupm4PyP5TmLvK64 TDfOD7sno/W5oI1KZdimfW2c4r/6waNzZSvicMOWhLYY621Nn6njBc8VNwoxWpzC XhKm70b8+D4YZMn/eU5DN8dvhTv/bNK21FfJqjp033U= W7dOmH/vWqocVCiqaxj6soxVXfR8XpMdY2Zv4Amjr3n81geyOLb6IZ+l7MUbdp85 29DQzuoVTthVpB9X4JKCprZIzifOTM1PFflTBzjx7egJwJWAIVdWyiIPjke6Va+w uV2n4Rl/cgCvrXK5cTov5C/Bpaf6o+qrrDGFBLLZTF4=
xmlsec-1.3.11/tests/merlin-xmlenc-five/decryption-transform.xml000066400000000000000000000055431517172715000246630ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jed SE3HkQevYxzuN9LoMH3QIYHK0X7DBlobhiTbRucgKcTKt9DsUJIcd6JZV6lrw/4x YICyq6YM73IWpibspxgz/0chhvWem9sYZvWTuTtZgHzeY0Uri6bpXqBEn1YT0K6B chwfv1myfp91EmdPHU+shH6ZEyYkHJUMss58iIawIuVsIfpCO7xDKgfs/glnN3os epY0KvAMZSnwUAf42fQ3TlahLTR+B52AmdodwaCwQlwQwrC7RH0FtNiiLQA9SA2t //StKWcyHjswUCejfKLdjv6bK+WmBxmnNWtmI9DYkjJ6V5pYU1MVw+JG410O+gaa fnNWxlWa+BGwcTaz+KNrP8bIqli8IoJJgxXIUqfb734= wSvPYqTcpLfX2mKXibtsmm7FDu8N+/BObM0+bGaeXhk= O0VYUdslJ8t2EURD0T/v2nNrFQMo42vzvfAhooZrDbkuLbCj6/Hxmw==

imup6lmki4rAmUstKb/xdBRMWNtQ+pDN97ZnLA9X3lKbkEHtYFyjQ3uActgVSJ75 iVRuKxz4Cb5RzVm25EaKmKq8rif1MtBIi6jjDJxmIdNaEKG9zVTf9giJx1N9I0t3 oh1fAVZDSrzKzJGQ2WvDfIfFHdJMtB3C0VKGmLZR7Xk=

xDve3j7sEnh4rIzM5gK+5/gxxFU= NLugAf6IZJxo3BCOi5yrGEVwtlEzXcnndXhd0Tz38CnQKc4SEupm4PyP5TmLvK64 TDfOD7sno/W5oI1KZdimfW2c4r/6waNzZSvicMOWhLYY621Nn6njBc8VNwoxWpzC XhKm70b8+D4YZMn/eU5DN8dvhTv/bNK21FfJqjp033U= W7dOmH/vWqocVCiqaxj6soxVXfR8XpMdY2Zv4Amjr3n81geyOLb6IZ+l7MUbdp85 29DQzuoVTthVpB9X4JKCprZIzifOTM1PFflTBzjx7egJwJWAIVdWyiIPjke6Va+w uV2n4Rl/cgCvrXK5cTov5C/Bpaf6o+qrrDGFBLLZTF4=
xmlsec-1.3.11/tests/merlin-xmlenc-five/dh0.p8000066400000000000000000000006311517172715000206650ustar00rootroot0000000000000000*H>0\k5ϣbx&:Qb3xI/d>;T<=I¶hL0YCOG 8#K&M!jtL\A9icf u _cOula =f04ހS 9y3]E}%?<J-2nП]^jb9@Pi6'>ARWK?YE0 >-+ΥÐvBsP"R82WB(͢*c/3my f;ԜT8\V\MP_1ORz;UA Qkqhs\فն4 !<򸃘sAghh}p g~}x7Pxmlsec-1.3.11/tests/merlin-xmlenc-five/dh1.p8000066400000000000000000000006311517172715000206660ustar00rootroot0000000000000000*H>0\k5ϣbx&:Qb3xI/d>;T<=I¶hL0YCOG 8#K&M!jtL\A9icf u _cOula =f04ހS 9y3]E}%?<J-2nП]^jb9@Pi6'>ARWK?YE0 >-+ΥÐvBsP"R82WB(͢*c/3my f;ԜT8\V\MP_1ORz;UA Qkqhs\فն4 !<򸃘sAghh}p g~}x7Pxmlsec-1.3.11/tests/merlin-xmlenc-five/dsa.p8000066400000000000000000000005151517172715000207620ustar00rootroot000000000000000J0+*H80kYK-)tLXPg,WRA`\C{rHTn+ QYF'2H f!ZTS}#Kw_VCJ̑k|LRQy;>xx1U4dhEpQ3]ux]<))f9L7'Jeئ}mse+pÖmM7 1Z^F>dyNC7o;lҶWɪ:tuRVYsy飱 exmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192.data000066400000000000000000000012401517172715000270740ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192.tmpl000066400000000000000000000014431517172715000271440ustar00rootroot00000000000000 jeb xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192.xml000066400000000000000000000032101517172715000267620ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jeb IbjZH7Mq564oMybpvCHWYM/5ER3eFsAV YDYTxR+smxZDSVoXXEp3n6HzTgWqV7ZlG6I1lmEv7zLGZBF/o7eqe5QGT6L3DPNW geflA8vVJHxwliixWcvHCnNKQkx+Sw8YbIknCQyr4mqtXEmHhsie5XYTEyqgKLVP YdNXf56wLUTMEmBqq7cto9OrYcBWkrDcQQvHmDkHuG+Nom4m+623GsB0FNts6VyN sdGMwo4K0bEFReLL04l6It+cgLJ2q+LKdBoMQL59IAQmrwi0bkiqee2cLlDuGyQ1 KD9IQ1qtlJpvQujN4xNVWT00UjtWxmpSMID/Kue/AnXn7Cf8zw1ZZQitgh8uWOX2 uMy99F2YlxqIK1r+MeXHuZDNf75S8dFaKIKtHMf7ioA= xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes192-cbc-dh-sha512.xml000066400000000000000000000142651517172715000267500ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland bm9uY2U=

plygl2uMNc+jYtAZeKCZxPsmqa2z8DrOUa7L455iszN4SdPnL+LsZD47VJayvQY8 6D1J5arkwrbUzmhMAjBZsENPBgffRwwEBTjoq+gjSyZNIbxqsqnJdEyUElzn4kGE whECkJGnOaScacpjZg11h+gd0iBfY091bGHrCZrvr/8=

9jJXQijNovoq6QUBFcEUYwUvyTM= PerUZgMEMDTegMdTBRG9DPY5EHmwDxwzladdRcfvfdfU/9wlPzz5BUotMm730J9d lF6avWr929fzYsnIOUDeUOJpltXmrTYnvz5Bi6yuUu6bVwSfv7u4S+I/EM9ZB+eY 3fdF5TAMHD4tK86lw5APDrN2QnO1UMCwIvjOFatSOI0= Ulu6B1lCwajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82r NyOUqgfnm97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCt m2vKo/BpoLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhM=
MIIDvjCCA36gAwIBAgIGAOxN39MIMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxNloXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAUlu6B1lC wajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82rNyOUqgfn m97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCtm2vKo/Bp oLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhOjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIgUAwB+9f1oIwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQ41mCUsFhmxI58tytV8XEVZOCuUwIUVMe/HbUAH5PJ7aRoCNqa3fCI cU0=
MIIDvjCCA36gAwIBAgIGAOxN3+EMMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxOVoXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTmlscmVtIFNlaGd1 aDCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAGSYT19Pb VCxMt06cAP7zQZ6AC5eXp3zeAweIevV96ryA1mB03qhB9X2lVowAUOFc24aVRTz7 wRoRjNQ20atzSy21C7yXDkvZ4uxfdrpIqpIVrI28e7XL+6CrhnAk621OvdeyEz5H orA21hPXoCNdnUPG5Ib20oopM87ptF5dwiWjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIiDCSQ3FB/oEwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQMtZ98TyqVkVqUJ3RJqaU7l2xqKgIUX997qRqeMjAkK88NHeNd95/2 Yos=
5jIlxXZGhx8vUNbL0ZvdRry6mPapX8qLYlDgy3tE6nRbnBRWACviYQAXBqvDfn1R TKmBWZ5NoJobM8lXWOk2nNQIuSQojcFYRuvcWU7DffDVX7dUCAVRJp6PS/5V1IHR JJ2WBagWSW1lFW9mqjfe0ZflEZGYI3/5kUYQIpbMvEuXoF8129VGiKalZsCVTRxd /IsdT8x/7L57GlGq0OzCMI5zG3QrBV7wUOoqBu5SxS8QUvUPucH8hsD4Bq4BwVEa GlUVAj7H3HYYo7fviTO4i2lTMunGW9rcJVnKXjDM/Mds3oM4zbBo/Ao3m3rmpUUz AwSe6ofh6ML418+cyCaRUoVQOlG+VwkHEKUiYYGhsKY=
xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes256-cbc-prop.data000066400000000000000000000012551517172715000264410ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes256-cbc-prop.tmpl000066400000000000000000000012751517172715000265060ustar00rootroot00000000000000 jed certifiable xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-aes256-cbc-prop.xml000066400000000000000000000030041517172715000263220ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jed H8n1OuEJFyUgUguDFF6ml8nRbA0IaDYgmtGelWT4V7CSz9q/AvtfxyMzUH+tQZ+F jyXh3otR1+V1+8EsevzEq5nUmNKl+wyxQmWaUvbvXpSwAJnlJdyvnP56JiXUBS+p C2KzlO9kk8l6awtuRd9Z6eVjngwTf7kNprmu5Bv0o+x7dcq96G8wGLvMThbs4uxk iIDK5+qGBzzIlFw3GG82MKmnVBveQw3LD52y76yBtoayuAJFJMnrXa0OEAaBRSI2 fjPNGJV3sCyKZDHqGlsQ4X+VvXzevLbBLkFy1xH9/zoUXo8cEaTvsIOBYu/Xn/CJ y/dpe/dvOqqji+9vFccAyrBHxHeYSonuFsxfpSDVC6Y= certifiable xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-tripledes-cbc.data000066400000000000000000000012551517172715000264510ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-tripledes-cbc.tmpl000066400000000000000000000006671517172715000265220ustar00rootroot00000000000000 bob xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-content-tripledes-cbc.xml000066400000000000000000000023521517172715000263370ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland bob uchJT2QyzQe7BoBaDYKPR5BDgEW8jsJ3UOGEYz9EVrBKVztYfcu0xhif5Y9kqtyx DDa7woNcTyhwQDZh9jGr5hzkcjrsKfMjJw+PnKNZzc+KMW0z861L8sdhdl8TA+bt yudfaCEJaH4RdHABp+VMzL5CrXr5skvubolWs1KzUtqbRekkxucknzJmnqRY8yPp 4iBvVuvus+Bk0pj271NWu13CmHvdJRMMDSX30JMfsecW6mfdF5xjoFciL8VnemzJ qt0SUVjMzoeY0PnCdk09Ej2OZdj8AtkLPCEKeiBBD+coCf5F8WaLrPTRPgjoAtiN Wda+McaZPJje1IfoAKGTcg== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes128-cbc.data000066400000000000000000000000231517172715000247100ustar00rootroot00000000000000top secret message xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes128-cbc.tmpl000066400000000000000000000005721517172715000247640ustar00rootroot00000000000000 job xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes128-cbc.xml000066400000000000000000000007011517172715000246020ustar00rootroot00000000000000 job QMpxhXq1DtBeyC9KfSaMQWrEtefe+e935gF/x62spvmL6IW0XeS0W4Kk31OgWzN0 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256.data000066400000000000000000000000231517172715000263330ustar00rootroot00000000000000top secret message xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256.tmpl000066400000000000000000000013011517172715000263760ustar00rootroot00000000000000 jed xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256.xml000066400000000000000000000014771517172715000262400ustar00rootroot00000000000000 jed 4AAgyi3M7xNdBimbQZKdGJLn3/cS4Yv8QKuA01+gUnY= 50lv94d/DFJirJXYOUXaBlrO+7gIXpx8cqH+G2xvE4mueoIxmGs8RH7FBXwjuMgf xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes.data000066400000000000000000000000231517172715000273220ustar00rootroot00000000000000top secret message xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes.tmpl000066400000000000000000000013041517172715000273700ustar00rootroot00000000000000 bob xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes.xml000066400000000000000000000015261517172715000272220ustar00rootroot00000000000000 bob ZyJbVsjRM4MEsswwwHz57aUz1eMqZHuEIoEPGS47CcmLvhuCtlzWZ9S/WcVJZIpz Lp2ZWyJERT05icmHvWWbEtCCfmB2jvSlSclhS0oj3A3PU90aE6v+bFFQxrHw7VUd xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.data000066400000000000000000000000231517172715000314230ustar00rootroot00000000000000top secret message xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.tmpl000066400000000000000000000015771517172715000315050ustar00rootroot00000000000000 MTIzNDU2Nzg= merlin-rsa-key xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.xml000066400000000000000000000044061517172715000313230ustar00rootroot00000000000000 MTIzNDU2Nzg= MIICkjCCAfugAwIBAgIGAOxN32E+MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFTATBgNVBAMTDFRyYW5zaWVu dCBDQTAeFw0wMjAyMjgxNzUyNDZaFw0wMzAyMjgxNzUyNDBaMG8xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFjAUBgNVBAMTDU1lcmxpbiBI dWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAORdNSxbNFWlQeNsOlYJ 9gN9eZD+rguRqKhmhOm7i63VDd5ALm2APXhqAmGBPzLN5jlL9g2XALK5WSO4XKjJ McVfYg4+nPuOeHgqdD4HUgf19j/6SaTMcmDFJQMmx1Qw+Aakq3mGcSfvOJcBZctz a50VucfCGL1NdfBEcaL3BnhjAgMBAAGjOjA4MA4GA1UdDwEB/wQEAwIFoDARBgNV HQ4ECgQIjFG0ZGNyvNswEwYDVR0jBAwwCoAIhJXVlhr6O4wwDQYJKoZIhvcNAQEF BQADgYEAXzG7x5aCJYRusTbmuZqhidGM5iiA9+RmZ4JTPDEgbeiTiJROxpr+ZjnA TmsDKrCpqNUiHWjmsKEArYQp8R/KjdKl/pVe3jUvTxb0YZ+li/7k0GQ5LyRT/K4c 2SgyLlyBPhpMq+z3g4P2egVRaZbxsLuKQILf7MIV/X5iAEBzu1w= 1SVctZA/RB6vVjsu5NYTxowdvsViJJ1skDXX09RmNU3YlCuPpSqWWhCU5u5ILfr9 6AFcascXbdFyEZ9tjDhK8Nid2MEqkR/Mc9zFHf7mPMnO7C8bRggkjjdILSIF/Ft7 FXzm/DFP50IF3zPe/n5jy2Nk8uRvTmKUDcnoV6qnUgY= QOImekuU44UeCmVaMma9bCT5h5a6mWXDSndTB81jvHw= xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.data000066400000000000000000000000231517172715000304150ustar00rootroot00000000000000top secret message xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.tmpl000066400000000000000000000015431517172715000304700ustar00rootroot00000000000000 merlin-rsa-key xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.xml000066400000000000000000000043031517172715000303110ustar00rootroot00000000000000 MIICkjCCAfugAwIBAgIGAOxN32E+MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFTATBgNVBAMTDFRyYW5zaWVu dCBDQTAeFw0wMjAyMjgxNzUyNDZaFw0wMzAyMjgxNzUyNDBaMG8xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFjAUBgNVBAMTDU1lcmxpbiBI dWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAORdNSxbNFWlQeNsOlYJ 9gN9eZD+rguRqKhmhOm7i63VDd5ALm2APXhqAmGBPzLN5jlL9g2XALK5WSO4XKjJ McVfYg4+nPuOeHgqdD4HUgf19j/6SaTMcmDFJQMmx1Qw+Aakq3mGcSfvOJcBZctz a50VucfCGL1NdfBEcaL3BnhjAgMBAAGjOjA4MA4GA1UdDwEB/wQEAwIFoDARBgNV HQ4ECgQIjFG0ZGNyvNswEwYDVR0jBAwwCoAIhJXVlhr6O4wwDQYJKoZIhvcNAQEF BQADgYEAXzG7x5aCJYRusTbmuZqhidGM5iiA9+RmZ4JTPDEgbeiTiJROxpr+ZjnA TmsDKrCpqNUiHWjmsKEArYQp8R/KjdKl/pVe3jUvTxb0YZ+li/7k0GQ5LyRT/K4c 2SgyLlyBPhpMq+z3g4P2egVRaZbxsLuKQILf7MIV/X5iAEBzu1w= S5SqVG+QxxpCNWobuqQFAI6db1pTEpWNMQXQVJAPjlfmvnVmTtq5v6fgMA2l/r7M iX7gUPZthrKezkSavDfi057cK6YKpC5/KACXjNJvUoaVXj/aXpcoMOO+ZTPq36eo pyeW99DWYgCbY88Kf9R3r3QMx/ogwjScfRVJTRZL3Lo= HG02AxNyn4iA9NH5x+PQ9lgPNzTkljThotXWKz0UYrE= xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5.data000066400000000000000000000012601517172715000266010ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5.tmpl000066400000000000000000000014061517172715000266460ustar00rootroot00000000000000 merlin-rsa-key xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5.xml000066400000000000000000000056511517172715000265000ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland MIICkjCCAfugAwIBAgIGAOxN32E+MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFTATBgNVBAMTDFRyYW5zaWVu dCBDQTAeFw0wMjAyMjgxNzUyNDZaFw0wMzAyMjgxNzUyNDBaMG8xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFjAUBgNVBAMTDU1lcmxpbiBI dWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAORdNSxbNFWlQeNsOlYJ 9gN9eZD+rguRqKhmhOm7i63VDd5ALm2APXhqAmGBPzLN5jlL9g2XALK5WSO4XKjJ McVfYg4+nPuOeHgqdD4HUgf19j/6SaTMcmDFJQMmx1Qw+Aakq3mGcSfvOJcBZctz a50VucfCGL1NdfBEcaL3BnhjAgMBAAGjOjA4MA4GA1UdDwEB/wQEAwIFoDARBgNV HQ4ECgQIjFG0ZGNyvNswEwYDVR0jBAwwCoAIhJXVlhr6O4wwDQYJKoZIhvcNAQEF BQADgYEAXzG7x5aCJYRusTbmuZqhidGM5iiA9+RmZ4JTPDEgbeiTiJROxpr+ZjnA TmsDKrCpqNUiHWjmsKEArYQp8R/KjdKl/pVe3jUvTxb0YZ+li/7k0GQ5LyRT/K4c 2SgyLlyBPhpMq+z3g4P2egVRaZbxsLuKQILf7MIV/X5iAEBzu1w= heZshNX5m7arS3OmR72+8WNCMMpznxE41dLWkgd6XJpzl+IN2xuijAf4YPEjjJmZ nt9PlO3/hiHl0Cvpg5vMR6AhvL49BvCz9JCeMG6x3MHBiKbRNhyEq2rX7o1GdJhC 5cm35Q/ZDKV9DHG8jWmPcOb8yKU9NYo2LJKDb3YHOJY= 0wkECpTy60/FDwbVM4zgd9qJVjR4h0q4PLm5pyyIxAuhbEh0art03yEikmbWBt2H 7qOk2G9iufUdwwqNPuZV5Qw5Rg2FMvTx234lDERGn5p+hhjOTcss5JF9QDzgdiec KABX3vbCESi/f3uwQ8BYDT+6SnxTR+xtcNv5xhbUCIFk/TaenSWx6p6fntTwTl1e lpwnI0EtM1yf4a9tBiH9PNd36BUv2rvSi4cZvJqSB3ZKvGtuwwyRzOzlzl259d1u QuoYysTBEAHw/WIop8eAexU9PUv7UbTkQAQag1yStda+GepVdpXEpu4hcxXQcvfs 9AQgkAgh4JKrnY4Bhz2B/e4CHHfbEedDOi+FVYlZuLn0CzrKMnM+1nUmqxJVWHz7 hytidpuqNRw3gcMkYvgH6g== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes192-cbc-ref.data000066400000000000000000000022641517172715000262140ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 zih1MFU6Px1m2U1lSEIV9LUIsnb3SIWBfRHlRrOWKFFFcVvXiE6z3nCbkNYMuy1T nPwXDd9/BkOGiPuFT2jixN7Zowe2ANK1dZXKVjZ1+ACx+Kg17U+EMPEuq481OW7e wm0vnbur0L2lCXb4DP7c6sotV89W53v2MlaYqWHhlBO/zasqwhl6q/c/L/GdPUHH ovKZ+24ZWYktxCLEXMslIAysQ0UFBLolrtC/7XDgYY9s4UvbedgeqbrdnxQ4LiRn L+aKN1bnKF3KlWKCJFvVrRESriGPBfpasWA/A1LOK333a8LaOlS7RFamflfICk+t VqCspVnIs6vBBtrGLI5SsJS+rh1r42jI/h/ivELUOmUq1sZCFQvEhx7AiHi4/9SY LWcR4w3ZH3aqFL/XtAzKYQ== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes192-cbc-ref.xml000066400000000000000000000033411517172715000261000ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland jeb self::text()[parent::rep:CipherValue[@Id="example1"]] zih1MFU6Px1m2U1lSEIV9LUIsnb3SIWBfRHlRrOWKFFFcVvXiE6z3nCbkNYMuy1T nPwXDd9/BkOGiPuFT2jixN7Zowe2ANK1dZXKVjZ1+ACx+Kg17U+EMPEuq481OW7e wm0vnbur0L2lCXb4DP7c6sotV89W53v2MlaYqWHhlBO/zasqwhl6q/c/L/GdPUHH ovKZ+24ZWYktxCLEXMslIAysQ0UFBLolrtC/7XDgYY9s4UvbedgeqbrdnxQ4LiRn L+aKN1bnKF3KlWKCJFvVrRESriGPBfpasWA/A1LOK333a8LaOlS7RFamflfICk+t VqCspVnIs6vBBtrGLI5SsJS+rh1r42jI/h/ivELUOmUq1sZCFQvEhx7AiHi4/9SY LWcR4w3ZH3aqFL/XtAzKYQ== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes256-cbc-carried-kw-aes256.xml000066400000000000000000000043011517172715000303550ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Foo Key pdDtiyd7XQ/BFEEN0PMJuHnLUfCY+bJlsW+q04OiKSPnRd4/dS1tjaTfj5dPpGXe cY3fJvRsq9QP1CJiwyEC/EQ1zSLbzwOtZ+NtxtsFgYvPBJ9t86ZcXIjlErQ85z3L wnb8rSHpE9tu4tJ1rjgf2i6NCbdFnSMXLSDgLEs48+gkX0cJCmKxzRaSE4cV0OSl hBWND4EYzX1M679VlSYrI0de+lSPO3Vx+y/TuZ5Vo+uu9+YP+ce0LRkx2BicjjsP QO9sp+yjHPNDIV1Z7VHsDIWqqmBaNQo3GuzF5WzWgaXTKnPv/IgUQn+1t3EtgHyb JhnfR/1em16z/Zaf9Uy1Lfd//yfEJ9BCjqwe1UjwN6ytu1v2BHd+8bVjD2o+Dg8V 7ayOLlkWOTOLvtJMPOXPqw== ned EWlIkFPGrkeW4cyjWSznLVoClVh/OEC7Klya9d9o7R6wll6JswZb2w== Foo Key jed bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg== Foo Key xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes256-cbc-kw-aes256-dh-ripemd160.xml000066400000000000000000000153541517172715000310560ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland bm9uY2U=

plygl2uMNc+jYtAZeKCZxPsmqa2z8DrOUa7L455iszN4SdPnL+LsZD47VJayvQY8 6D1J5arkwrbUzmhMAjBZsENPBgffRwwEBTjoq+gjSyZNIbxqsqnJdEyUElzn4kGE whECkJGnOaScacpjZg11h+gd0iBfY091bGHrCZrvr/8=

9jJXQijNovoq6QUBFcEUYwUvyTM= PerUZgMEMDTegMdTBRG9DPY5EHmwDxwzladdRcfvfdfU/9wlPzz5BUotMm730J9d lF6avWr929fzYsnIOUDeUOJpltXmrTYnvz5Bi6yuUu6bVwSfv7u4S+I/EM9ZB+eY 3fdF5TAMHD4tK86lw5APDrN2QnO1UMCwIvjOFatSOI0= Ulu6B1lCwajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82r NyOUqgfnm97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCt m2vKo/BpoLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhM=
MIIDvjCCA36gAwIBAgIGAOxN39MIMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxNloXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAUlu6B1lC wajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82rNyOUqgfn m97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCtm2vKo/Bp oLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhOjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIgUAwB+9f1oIwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQ41mCUsFhmxI58tytV8XEVZOCuUwIUVMe/HbUAH5PJ7aRoCNqa3fCI cU0=
MIIDvjCCA36gAwIBAgIGAOxN3+EMMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxOVoXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTmlscmVtIFNlaGd1 aDCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAGSYT19Pb VCxMt06cAP7zQZ6AC5eXp3zeAweIevV96ryA1mB03qhB9X2lVowAUOFc24aVRTz7 wRoRjNQ20atzSy21C7yXDkvZ4uxfdrpIqpIVrI28e7XL+6CrhnAk621OvdeyEz5H orA21hPXoCNdnUPG5Ib20oopM87ptF5dwiWjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIiDCSQ3FB/oEwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQMtZ98TyqVkVqUJ3RJqaU7l2xqKgIUX997qRqeMjAkK88NHeNd95/2 Yos=
qKWnCxVIlNvPEqBMxhCaY6z9NK0ZFCmRef1U5wbIMPaR/g2Zdw7VZg==
betMfG/VMLdwNGdkspCrJSo092PltInklQisKd8ImQgeFMzjn73OpXhK0KJtB9IB 1xGjENZ8Yzu625ehhCZGGFK4mp8DkIE7Sfw7O+5UEqprE/cGrWL0bbcz0U7X2Evh 4/9va6h+DHAzmVYW7bqsa0WkiHkELRq44ORdSzyPUIwpGUCsOWyThsYfIn4uhIHQ NJVTKPRHTb5H5lsxNtobSeXACSYAHk/BmJM99h4IQ9Gh7bCkhkmZsIvo/lNOW+6r xtvLqHfYw9XhJe7hL0Q5EluMCBZQJ/Vx2r5lTXzBeonlurpzNdRa+ClKSVRUwKYH Vjemr/o+Y4e4r8gD3TVP3auVuUCmi3XLpj4WjOsPDcekzZUgXA/xuJ+7jHXjOEOK RViMiwIk0cqOa6s0Qg63EQ==
xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256.data000066400000000000000000000022341517172715000310510ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 jed bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256.xml000066400000000000000000000034461517172715000307460ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland cudR6Hg0xqhrOjbvQz4C/WOdHbcB7Duc+xFxbObkfkW6jXweDOf8Tq87FPbj5bby oCLbWqq3ap/zx/gN8Xv3Fj6fYUz3dIb1wzXy7B0/3me7i4fBHyGropflLi7iEag2 WU7aGJ0CA9/jQr6Td2qhH0CDU47QN9eK/PVMPPfLX1D1A90uK32wPn+SCysE58Q3 rCi7Jwo+OsrxT0qqjP82T3FjVi0i/dsnPb5GQWLE3/y7OsIuknuMRO4mWma+bO/m aAN9JNeom5Kn3IKHCK2+kyx+LsGo2daKxF7RF9QqlaA/imsMS4trRjZjYhgfgm96 kb1l4AI7VZcfRXwYdzLqKNHty6ZxbSQBMeEca0mEuIbor7IH34641a/BuFME/BLm MoVaLUCE0rg1e1U0S18UCg== jed bsL63D0hPN6EOyzdgfEmKsAAvoJiGM+Wp9a9KZM92IKdl7s3YSntRg== xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128.data000066400000000000000000000012401517172715000300420ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128.tmpl000066400000000000000000000014031517172715000301060ustar00rootroot00000000000000 job xmlsec-1.3.11/tests/merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128.xml000066400000000000000000000031261517172715000277360ustar00rootroot00000000000000 ]> spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland job dV45TUpJbidb9iKa34xj1WVtTZ036cnqvym2TBJWR5c= bmExbDyrUQtsGjNBU7TRpMhOC76O/wBDWVMQML43lWNP0xp7QwVPce1XdbB4AVUn xxAuJh18jOd9UzPTzrJHrKWvsWP8Xp1m/HL3A1XhOUe+MEcFyJB9fXazhDmyaSYU SvieaPXcpzKWiHhZE8RKUyAYw9nU9wf2SEUgCVRuRPfsrXg4Uyr83VTn84LPe9sL dd2hMj4jhgHL86b7PTYBWdtrYXq0Jwzptuw+TZ1C706BAZDYNAiSTdx3J17Ey3ex IeIFBBIq8D8Gp7XiH4UxiDB6rtA2czox6+FCvaIsrGFaaw9XdzvhiZ3HxYROjprz qiXcJlZzG6j8yRdpHSjsDkN3w7XjEgRODieGx110rBytZcwtqb0zc6JTZH5DzoJy xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-hmac-sha256-dh.xml000066400000000000000000000125301517172715000242410ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= 255LFQdP+eAK2aeuuLnz10pmaw4WEYb6TZa3B6H4z8c= bm9uY2U=

plygl2uMNc+jYtAZeKCZxPsmqa2z8DrOUa7L455iszN4SdPnL+LsZD47VJayvQY8 6D1J5arkwrbUzmhMAjBZsENPBgffRwwEBTjoq+gjSyZNIbxqsqnJdEyUElzn4kGE whECkJGnOaScacpjZg11h+gd0iBfY091bGHrCZrvr/8=

9jJXQijNovoq6QUBFcEUYwUvyTM= PerUZgMEMDTegMdTBRG9DPY5EHmwDxwzladdRcfvfdfU/9wlPzz5BUotMm730J9d lF6avWr929fzYsnIOUDeUOJpltXmrTYnvz5Bi6yuUu6bVwSfv7u4S+I/EM9ZB+eY 3fdF5TAMHD4tK86lw5APDrN2QnO1UMCwIvjOFatSOI0= Ulu6B1lCwajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82r NyOUqgfnm97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCt m2vKo/BpoLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhM=
MIIDvjCCA36gAwIBAgIGAOxN39MIMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxNloXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAUlu6B1lC wajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82rNyOUqgfn m97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCtm2vKo/Bp oLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhOjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIgUAwB+9f1oIwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQ41mCUsFhmxI58tytV8XEVZOCuUwIUVMe/HbUAH5PJ7aRoCNqa3fCI cU0=
MIIDvjCCA36gAwIBAgIGAOxN3+EMMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxOVoXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTmlscmVtIFNlaGd1 aDCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAGSYT19Pb VCxMt06cAP7zQZ6AC5eXp3zeAweIevV96ryA1mB03qhB9X2lVowAUOFc24aVRTz7 wRoRjNQ20atzSy21C7yXDkvZ4uxfdrpIqpIVrI28e7XL+6CrhnAk621OvdeyEz5H orA21hPXoCNdnUPG5Ib20oopM87ptF5dwiWjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIiDCSQ3FB/oEwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQMtZ98TyqVkVqUJ3RJqaU7l2xqKgIUX997qRqeMjAkK88NHeNd95/2 Yos=
xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-hmac-sha256-kw-tripledes-dh.xml000066400000000000000000000140611517172715000266520ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= 9XBpYbFplNqqF7U/QtCHYE20U7oIxcyCr0L19MlenNo= bm9uY2U=

plygl2uMNc+jYtAZeKCZxPsmqa2z8DrOUa7L455iszN4SdPnL+LsZD47VJayvQY8 6D1J5arkwrbUzmhMAjBZsENPBgffRwwEBTjoq+gjSyZNIbxqsqnJdEyUElzn4kGE whECkJGnOaScacpjZg11h+gd0iBfY091bGHrCZrvr/8=

9jJXQijNovoq6QUBFcEUYwUvyTM= PerUZgMEMDTegMdTBRG9DPY5EHmwDxwzladdRcfvfdfU/9wlPzz5BUotMm730J9d lF6avWr929fzYsnIOUDeUOJpltXmrTYnvz5Bi6yuUu6bVwSfv7u4S+I/EM9ZB+eY 3fdF5TAMHD4tK86lw5APDrN2QnO1UMCwIvjOFatSOI0= Ulu6B1lCwajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82r NyOUqgfnm97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCt m2vKo/BpoLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhM=
MIIDvjCCA36gAwIBAgIGAOxN39MIMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxNloXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAUlu6B1lC wajtIBnolqqgU+R1oxfye63DnI/iLM/Oe+Y8I/LMMaEmo3LmCU30m82rNyOUqgfn m97S0bT8ZhI8gvw0EyQJ87vhlUz4WcmddU/YlTi3gJHUClr2olmBmRCtm2vKo/Bp oLGJ0Wg1eyWfo54+gCqbeNez/DmBGcBEEhOjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIgUAwB+9f1oIwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQ41mCUsFhmxI58tytV8XEVZOCuUwIUVMe/HbUAH5PJ7aRoCNqa3fCI cU0=
MIIDvjCCA36gAwIBAgIGAOxN3+EMMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDIyODE3NTMxOVoXDTAzMDIyODE3NTI1NFowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTmlscmVtIFNlaGd1 aDCCAiUwggGaBgcqhkjOPgIBMIIBjQKBgQCmXKCXa4w1z6Ni0Bl4oJnE+yaprbPw Os5RrsvjnmKzM3hJ0+cv4uxkPjtUlrK9BjzoPUnlquTCttTOaEwCMFmwQ08GB99H DAQFOOir6CNLJk0hvGqyqcl0TJQSXOfiQYTCEQKQkac5pJxpymNmDXWH6B3SIF9j T3VsYesJmu+v/wKBgD3q1GYDBDA03oDHUwURvQz2ORB5sA8cM5WnXUXH733X1P/c JT88+QVKLTJu99CfXZRemr1q/dvX82LJyDlA3lDiaZbV5q02J78+QYusrlLum1cE n7+7uEviPxDPWQfnmN33ReUwDBw+LSvOpcOQDw6zdkJztVDAsCL4zhWrUjiNAhUA 9jJXQijNovoq6QUBFcEUYwUvyTMCbQCs/HkLusCqHmY71JxUOFzy5fuWkPpWXJzx qU3oz1BfMZtPUqjpBnqU97M7VUEg+5pRG2txaHP8XNmB1bY0DCE88riDmHP7HqZB Z2gbaH2LxXDQDayb5GcPfn38eDcWvVAaKP9fJ8wG5RUu3AoDgYQAAoGAGSYT19Pb VCxMt06cAP7zQZ6AC5eXp3zeAweIevV96ryA1mB03qhB9X2lVowAUOFc24aVRTz7 wRoRjNQ20atzSy21C7yXDkvZ4uxfdrpIqpIVrI28e7XL+6CrhnAk621OvdeyEz5H orA21hPXoCNdnUPG5Ib20oopM87ptF5dwiWjOjA4MA4GA1UdDwEB/wQEAwIDCDAR BgNVHQ4ECgQIiDCSQ3FB/oEwEwYDVR0jBAwwCoAIgjqisiZ1WVswCQYHKoZIzjgE AwMvADAsAhQMtZ98TyqVkVqUJ3RJqaU7l2xqKgIUX997qRqeMjAkK88NHeNd95/2 Yos=
2s+2ji8opL0SLKziiyNZ+mZ8Ibfu7cTwe4C0MmyarYDwGmsiRSqff8trHUwa+njZ
xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-hmac-sha256-rsa-1_5.xml000066400000000000000000000044301517172715000250150ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= 9XBpYbFplNqqF7U/QtCHYE20U7oIxcyCr0L19MlenNo= MIICkjCCAfugAwIBAgIGAOxN32E+MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFTATBgNVBAMTDFRyYW5zaWVu dCBDQTAeFw0wMjAyMjgxNzUyNDZaFw0wMzAyMjgxNzUyNDBaMG8xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFjAUBgNVBAMTDU1lcmxpbiBI dWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAORdNSxbNFWlQeNsOlYJ 9gN9eZD+rguRqKhmhOm7i63VDd5ALm2APXhqAmGBPzLN5jlL9g2XALK5WSO4XKjJ McVfYg4+nPuOeHgqdD4HUgf19j/6SaTMcmDFJQMmx1Qw+Aakq3mGcSfvOJcBZctz a50VucfCGL1NdfBEcaL3BnhjAgMBAAGjOjA4MA4GA1UdDwEB/wQEAwIFoDARBgNV HQ4ECgQIjFG0ZGNyvNswEwYDVR0jBAwwCoAIhJXVlhr6O4wwDQYJKoZIhvcNAQEF BQADgYEAXzG7x5aCJYRusTbmuZqhidGM5iiA9+RmZ4JTPDEgbeiTiJROxpr+ZjnA TmsDKrCpqNUiHWjmsKEArYQp8R/KjdKl/pVe3jUvTxb0YZ+li/7k0GQ5LyRT/K4c 2SgyLlyBPhpMq+z3g4P2egVRaZbxsLuKQILf7MIV/X5iAEBzu1w= BRhPOKN/KLCih2Q2RoxQiaV0s1FfpOM+kisl9MwRSPow5CyX91rBVfoWpP/Qq1T3 Rj/f0gVoJyE008uLic4X/S4spnudlOzTkVB6bUzoBt4j+z4hEq/cIfHqVdEJ+lN0 iu1sJk3k6ESl22OWEqQB7Rl5sAdhFPOqXsnLUNWmqA8= xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-hmac-sha256-rsa-oaep-mgf1p.xml000066400000000000000000000047601517172715000263730ustar00rootroot00000000000000 60NvZvtdTB+7UnlLp/H24p7h4bs= 9XBpYbFplNqqF7U/QtCHYE20U7oIxcyCr0L19MlenNo= MTIzNDU2Nzg= MIICkjCCAfugAwIBAgIGAOxN32E+MA0GCSqGSIb3DQEBBQUAMG4xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFTATBgNVBAMTDFRyYW5zaWVu dCBDQTAeFw0wMjAyMjgxNzUyNDZaFw0wMzAyMjgxNzUyNDBaMG8xCzAJBgNVBAYT AklFMQ8wDQYDVQQIEwZEdWJsaW4xJDAiBgNVBAoTG0JhbHRpbW9yZSBUZWNobm9s b2dpZXMgTHRkLjERMA8GA1UECxMIWC9TZWN1cmUxFjAUBgNVBAMTDU1lcmxpbiBI dWdoZXMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAORdNSxbNFWlQeNsOlYJ 9gN9eZD+rguRqKhmhOm7i63VDd5ALm2APXhqAmGBPzLN5jlL9g2XALK5WSO4XKjJ McVfYg4+nPuOeHgqdD4HUgf19j/6SaTMcmDFJQMmx1Qw+Aakq3mGcSfvOJcBZctz a50VucfCGL1NdfBEcaL3BnhjAgMBAAGjOjA4MA4GA1UdDwEB/wQEAwIFoDARBgNV HQ4ECgQIjFG0ZGNyvNswEwYDVR0jBAwwCoAIhJXVlhr6O4wwDQYJKoZIhvcNAQEF BQADgYEAXzG7x5aCJYRusTbmuZqhidGM5iiA9+RmZ4JTPDEgbeiTiJROxpr+ZjnA TmsDKrCpqNUiHWjmsKEArYQp8R/KjdKl/pVe3jUvTxb0YZ+li/7k0GQ5LyRT/K4c 2SgyLlyBPhpMq+z3g4P2egVRaZbxsLuKQILf7MIV/X5iAEBzu1w= NGIOL9UzhGwPYvVzbBxOGzxXfTIkzIsmtNSkWA03p64aS41vVA0sKWvcr/79Nf7T 6RdA61TmwOKa5GDUYRumEadC7Z0zKFDKcuN78iJzlj2WwVqr5vBx14X2BSVW+de1 UTmXRZFRosFOk9etvD7Lm1V+kqIxqSrod68G8gJvGrY= xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-ripemd160-hmac-ripemd160-kw-tripledes.tmpl000066400000000000000000000016371517172715000306460ustar00rootroot00000000000000 bob xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-ripemd160-hmac-ripemd160-kw-tripledes.xml000066400000000000000000000020471517172715000304660ustar00rootroot00000000000000 ixv9ZpIiqEzBC3Uztm5Rl6tXd9Q= kwV4uELL96oFm8/+VGzq+xAOgUg= bob gHMpx5iF7+KXtNHLasZrkcLHn8Ti4rxUjCIRK+IcgbQir6FUsQ/uxQ3o8enEMWq1 xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-sha256-hmac-sha256-kw-aes128.xml000066400000000000000000000020661517172715000263010ustar00rootroot00000000000000 eI1OLVStn6Z4q7Byq8XGUJ4bce1LMSlanI6o+SvYzt0= cOQGJE3d3fXi1BIfdvr1v6tz/4lt9xGznfyDPXEvc4Q= job rPnY/XoSGCbuwy7vpslf29rs9dbvSCmGFOjEs3LT6g/qyZjfDA+2fQ== xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-sha384-hmac-sha384-kw-aes192.xml000066400000000000000000000021441517172715000263030ustar00rootroot00000000000000 bWetGDV3M5oEiecfEHILQxVQRa1XgdY37VH8eWi9yVVx7Rr7UNhk+v6Jk7sMNPoA iEjhOJoKiwsOBduxHj7bxILSsl6TLhNO3w/vlRcw9RZAe24HIxLRfhj4Xqsz1Orr jeb 19D633XVohP6UJvaVRAhJek+ahtM3gOiVs6nZyAasDEb+WCUQOcWZw== xmlsec-1.3.11/tests/merlin-xmlenc-five/encsig-sha512-hmac-sha512-kw-aes256.xml000066400000000000000000000022231517172715000262640ustar00rootroot00000000000000 c8+KT9+qCSbNpdZm7/dp9Mv/lgF51ATycY0Ttz/0bw2p5nvnmeEgQpIPw5HhVJ9Ku6dDf0RKVVR/CsYvPGfnEg== zB8ZUo9bQxzxnxW2aZ217eu//1e5xHB6RlfEOFOlx1l5PIhadKAlQo0z1D9B2HVU Kj4StSnlUsrvDo2BxgiAoA== jed tPCC89jQShB+WDINCdRfKgf8wTlAx8xRXD73RmEHPBfix8zS1N82KQ== xmlsec-1.3.11/tests/merlin-xmlenc-five/ids.p12000066400000000000000000000007631517172715000210520ustar00rootroot000000000000000#0#I *H #:#60#20#. *H ##0#0@ *H  00' *H  0K 4` eUΥhF5Q O>+5o~?M"#@:FAct[k:ю%q:fX}JioE+1#;u1}!FKA^Ha\=x -(%X-so'8YP|§a"Oms〟wiR-Q?)ZY`6)˂4/xqb(c-.7U&(7!Zľ۪:y9sIo3lurUgv0WmYlgTaL_BGAb0Ojݐv֝èYF8fGY 3A42qgq Q{C5shRL1D^ܺrV$^^3xmlsec-1.3.11/tests/merlin-xmlenc-five/keys.xml000066400000000000000000000020041517172715000214320ustar00rootroot00000000000000 bob YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4 jed YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU= job YWJjZGVmZ2hpamtsbW5vcA== jeb YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4 xmlsec-1.3.11/tests/merlin-xmlenc-five/plaintext.xml000066400000000000000000000011471517172715000224760ustar00rootroot00000000000000 spade shovel Dig PLC, 1 First Ave, Dublin 1, Ireland Dig PLC, 1 First Ave, Dublin 1, Ireland Foo B Baz 1234 567890 12345 xmlsec-1.3.11/tests/merlin-xmlenc-five/rsa.p8000066400000000000000000000004701517172715000210000ustar00rootroot000000000000000w0  *H a0]]5,[4UAl:V }y f黋 @.m=xja?29K Y#\1_b>xx*t>R?Ir`%&T0yq'8eskMuDqxcSUީ8[Cg jVT2k d]Ce S]xx*t>R?Ir`%&T0yq'8eskMuDqxcSUީ8[Cg jVT2k d]Ce S] &2:;~`!+T)){ ! d]#6S[A@0fЊdwT|JӭQҫ{8->Qkxè:hoc4@uؙT "G:#j!@9h0wS!k~~ x$FheEp?@bq>8(W$8>P>]fkAZ x/N~W'Z@ "Jxmlsec-1.3.11/tests/merlin-xmlenc-five/rsapriv.p12000066400000000000000000000043421517172715000217560ustar00rootroot0000000000000000 *H 0}0" *H 00 *H 0W *H  0J0) *H  0bV0 *H  0 `He*`4Ew8IoK,2]lW,m=C⊠àޝtUm_@qLx'zf9zMΰdT&2t2A+c2N@I-NP~~zMG\Q ?QK0覃qx6Y̽mךdZn;fr?͵p:}^ňz Rjоkho"uT"aDJ,ϯݚ  DcٲwJ \I0Wߵ'J(H C X^ױ{U__ԙ JӚy_Z0QM{TDXm5Cjɳ,G߰_rA;͐9Yn-F3#&Y{d_ܒyED05F{ 6$AX (1dHlzb[^dD$m>V$D"&{ê_/<C/cSiS xMj3EȌ"!w_ ᾍ)5I}ш|PԽ'ɘGc W,9j$9΍^,Еrw̱\2\lꮿR>V_H htWZ"H <QrQs2bj2HCXYHSDsd/b˕3_QSǫ T0)_& {6 /7sIV['Ɩ"<Hy\]&u8 ]_+I/y&9C?`%o{^k)q  WBNܑk<7p1ci6.r ?c+.6p2W$# `rT_9Hʼ2zܴKA!ncs}yy WNo7->fX9cOʹ ؁B!6::jt3Tc Hu3N9[?@UQ׍SM"k[w(.N>imd1p"e]M ,F:~tnF_cTo N)R&PIkx0S *H D@0<08 *H  00W *H  0J0) *H  0K踅q60 *H  0 `He* %cU-=['Q\x(,Q[XjP8ۤakK zaVXw3 |~q0dx(=v/娡m?PU7T"^xrƨXV0^\-hIq[])C>I ʣ6W4;,Aє0P5rt-3vx$ܭ/BwMϙ&cye8h]tC Uq,򸡈Hڲ%&eHOU.|AQF>>aAp.k_ NCb3Ԩ1Yg Y ;/Kk( "u/$z=4 +T>S Fݞ6:N_B^&\AC?:H1D0 *H  1rsapriv0# *H  1 A4mh^TU^0A010  `He Gsp1yXy]6'&wsQInID$de7G0$ .W e,SaY9ڻߩFT8ƴҜdsQd/MOc0\Nի[8s9V}N X_ƭ uߦҠs+#NՔUvvNW޿eT JD{8n/:])q߉:DAnQұʹc72^ Baltimore Technologies, Ltd. Wednesday, June 10, 2002 xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-spec-c14n-0.txt000066400000000000000000000002661517172715000246570ustar00rootroot00000000000000 xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-spec-c14n-1.txt000066400000000000000000000000001517172715000246420ustar00rootroot00000000000000xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-spec-c14n-2.txt000066400000000000000000000031711517172715000246570ustar00rootroot00000000000000 //ToBeSigned //NotToBeSigned //ReallyToBeSigned p6/HaYIdxbEdYX8/8zNfjED4H5Y= / 2jmj7l5rSw0yVb/vlWAYkK/YBwk= xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-spec.tmpl000066400000000000000000000033211517172715000241070ustar00rootroot00000000000000 //ToBeSigned //NotToBeSigned //ReallyToBeSigned / xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-spec.xml000066400000000000000000000142501517172715000237360ustar00rootroot00000000000000 //ToBeSigned //NotToBeSigned //ReallyToBeSigned p6/HaYIdxbEdYX8/8zNfjED4H5Y= / 2jmj7l5rSw0yVb/vlWAYkK/YBwk= Ft7PdmEYSC8GwxffIa4xiobr1iEaUf3LGNfPLiQnJBJI/1Cp5WiEiQ== 3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE= hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U= CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE 1017788370348 MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQDd454C+qcTIWlb65NKCt2PtguNpOSn Id5woUigu7xBk2QZNAjVyIhMEfSWp8iR0IdKLx+JQLcNOrcn0Wwl5/hhW0MXsmlS 8dM5Cq2rtmDHooLxbGTPqtALE6vsXQCk5iLz3MtGh7gyQMZ7q7HT5a3I5NChUgY1 MMNQVetRA1susQIVAIQy3BStBjvx89Wq8Tjr7IDP1S8lAoGBAJ58e4W3VqMxm7Zx YJ2xZ6KX0Ze10WnKZDyURn+T9iFIFbKRFElKDeotXwwXwYON8yre3ZRGkC+2+fiU 2bdzIWTT6LMbIMVbk+07P4OZOxJ6XWL9GuYcOQcNvX42xh34DPHdq4XdlItMR25N A+OdZ4S8VVrpb4jkj4cyir1628kgA4GEAAKBgHH2KYoaQEHnqWzRUuDAG0EYXV6Q 4ucC68MROYSL6GKqNS/AUFbvH2NUxQD7aGntYgYPxiCcj94i38rgSWg7ySSz99MA R/Yv7OSd+uej3r6TlXU34u++xYvRo+sv4m9lb/jmXyZJKeC+dPqeU1IT5kCybURL ILZfrZyDsiU/vhvVozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIatY7SE lXEOMBMGA1UdIwQMMAqACIOGPkB2MuKTMAkGByqGSM44BAMDLwAwLAIUSvT02iQj Q5da4Wpe0Bvs7GuCcVsCFCEcQpbjUfnxXFXNWiFyQ49ZrWqn MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7 PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5 NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg== xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-xfdl-c14n-0.txt000066400000000000000000002564241517172715000246730ustar00rootroot00000000000000 SF71 Thomas Mohr 4/6/98 4/6/98 application/x-xfdl application/x-xfdl 1.0.0 letter 120 8.0;10.5 235 235 235 Courier 9 plain absolute 17 32 extent 876 1 absolute 17 82 extent 876 1 absolute 17 133 extent 876 1 absolute 17 179 extent 876 1 absolute 268 218 extent 406 1 absolute 268 263 extent 406 1 absolute 17 311 extent 657 1 absolute 268 354 extent 406 1 absolute 268 398 extent 406 1 absolute 17 484 extent 657 1 absolute 17 530 extent 657 1 absolute 17 578 extent 657 1 absolute 17 626 extent 876 1 absolute 17 743 extent 876 1 absolute 17 867 extent 876 1 absolute 17 967 extent 876 1 absolute 17 1164 extent 876 1 absolute 17 32 extent 1 1133 absolute 510 32 extent 1 51 absolute 892 32 extent 1 1133 absolute 268 133 extent 1 266 absolute 349 179 extent 1 220 absolute 430 133 extent 1 266 absolute 510 179 extent 1 220 absolute 592 133 extent 1 265 absolute 673 133 extent 1 494 absolute 268 484 extent 1 143 absolute 349 484 extent 1 143 absolute 431 484 extent 1 143 absolute 510 484 extent 1 143 absolute 591 484 extent 1 143 absolute 20 58 extent 489 23 string mandatory wordwrap fixed 0 John Q. Public absolute 537 58 extent 123 23 string mandatory wordwrap fixed 0 123456789 absolute 19 109 extent 872 23 string mandatory wordwrap fixed 0 PureEdge Solutions Inc. absolute 28 191 extent 22 23 Helvetica 18 plain absolute 269 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 188 extent 80 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 511 188 extent 81 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 593 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 28 231 extent 22 23 Helvetica 18 plain absolute 269 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 231 extent 80 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 511 231 extent 81 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 593 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 28 277 extent 22 23 Helvetica 18 plain absolute 269 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 276 extent 80 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 511 276 extent 81 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 593 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 28 322 extent 22 23 Helvetica 18 plain absolute 269 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 321 extent 79 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 511 321 extent 81 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 593 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 28 367 extent 22 23 Helvetica 18 plain absolute 269 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 366 extent 80 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 511 366 extent 81 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 593 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 121 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 121 438 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK6.value == "on")) ? set("value", "off") : "" absolute 519 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK6.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 28 495 extent 22 23 Helvetica 18 plain absolute 269 498 extent 80 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 498 extent 78 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 511 498 extent 80 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 592 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 28 543 extent 22 23 Helvetica 18 plain absolute 269 543 extent 80 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 543 extent 78 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 511 543 extent 80 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 592 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 28 591 extent 22 23 Helvetica 18 plain absolute 269 590 extent 80 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 590 extent 78 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 511 590 extent 80 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 592 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 680 326 extent 15 14 Helvetica 10 plain absolute 689 404 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK15.value == "on")) ? set("value", "off") : "" absolute 689 428 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK15.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 689 485 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 42 657 extent 846 57 wordwrap fixed 0 string optional (CHECK10.value == "on") ? "mandatory" : "optional" absolute 42 712 extent 846 31 0 string optional (CHECK8.value == "on") ? "mandatory" : "optional" readonly (CHECK8.value == "on") ? "readwrite" : "readonly" absolute 655 840 extent 155 27 0 readonly 05-08-02 (BUTTON1.value != "") ? "*" : "" date optional MM-DD-YY absolute 960 1260 extent 1 1 xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-xfdl.tmpl000066400000000000000000002672741517172715000241350ustar00rootroot00000000000000 SF71 Thomas Mohr 4/6/98 4/6/98 application/x-xfdl application/x-xfdl 1.0.0 letter 120 8.0;10.5 235 235 235 Courier 9 plain absolute 17 32 extent 876 1 absolute 17 82 extent 876 1 absolute 17 133 extent 876 1 absolute 17 179 extent 876 1 absolute 268 218 extent 406 1 absolute 268 263 extent 406 1 absolute 17 311 extent 657 1 absolute 268 354 extent 406 1 absolute 268 398 extent 406 1 absolute 17 484 extent 657 1 absolute 17 530 extent 657 1 absolute 17 578 extent 657 1 absolute 17 626 extent 876 1 absolute 17 743 extent 876 1 absolute 17 867 extent 876 1 absolute 17 967 extent 876 1 absolute 17 1164 extent 876 1 absolute 17 32 extent 1 1133 absolute 510 32 extent 1 51 absolute 892 32 extent 1 1133 absolute 268 133 extent 1 266 absolute 349 179 extent 1 220 absolute 430 133 extent 1 266 absolute 510 179 extent 1 220 absolute 592 133 extent 1 265 absolute 673 133 extent 1 494 absolute 268 484 extent 1 143 absolute 349 484 extent 1 143 absolute 431 484 extent 1 143 absolute 510 484 extent 1 143 absolute 591 484 extent 1 143 absolute 20 58 extent 489 23 string mandatory wordwrap fixed 0 John Q. Public absolute 537 58 extent 123 23 string mandatory wordwrap fixed 0 123456789 absolute 19 109 extent 872 23 string mandatory wordwrap fixed 0 PureEdge Solutions Inc. absolute 28 191 extent 22 23 Helvetica 18 plain absolute 269 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 188 extent 80 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 511 188 extent 81 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 593 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 28 231 extent 22 23 Helvetica 18 plain absolute 269 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 231 extent 80 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 511 231 extent 81 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 593 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 28 277 extent 22 23 Helvetica 18 plain absolute 269 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 276 extent 80 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 511 276 extent 81 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 593 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 28 322 extent 22 23 Helvetica 18 plain absolute 269 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 321 extent 79 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 511 321 extent 81 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 593 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 28 367 extent 22 23 Helvetica 18 plain absolute 269 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 366 extent 80 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 511 366 extent 81 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 593 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 121 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 121 438 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK6.value == "on")) ? set("value", "off") : "" absolute 519 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK6.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 28 495 extent 22 23 Helvetica 18 plain absolute 269 498 extent 80 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 498 extent 78 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 511 498 extent 80 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 592 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 28 543 extent 22 23 Helvetica 18 plain absolute 269 543 extent 80 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 543 extent 78 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 511 543 extent 80 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 592 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 28 591 extent 22 23 Helvetica 18 plain absolute 269 590 extent 80 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 590 extent 78 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 511 590 extent 80 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 592 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 680 326 extent 15 14 Helvetica 10 plain absolute 689 404 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK15.value == "on")) ? set("value", "off") : "" absolute 689 428 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK15.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 689 485 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 42 657 extent 846 57 wordwrap fixed 0 string optional (CHECK10.value == "on") ? "mandatory" : "optional" absolute 42 712 extent 846 31 0 string optional (CHECK8.value == "on") ? "mandatory" : "optional" readonly (CHECK8.value == "on") ? "readwrite" : "readonly" /XFDL/page[@sid="PAGE1"]/*[@sid="CHECK16" or @sid="CHECK17" or @sid="FIELD47" or @sid="BUTTON2" or @sid="FIELD48"] | /XFDL/page/triggeritem[not(@sid)] absolute 655 840 extent 155 27 0 readonly 05-08-02 (BUTTON1.value != "") ? "*" : "" date optional MM-DD-YY absolute 362 873 extent 22 23 Helvetica 18 plain (CHECK17.value == "on") ? set("value", "off") : "" absolute 604 873 extent 22 23 Helvetica 18 plain (CHECK16.value == "on") ? set("value", "off") : "" absolute 41 917 extent 770 23 string optional (CHECK17.value == "on") ? "mandatory" : "optional" readonly (CHECK17.value == "on") ? "readwrite" : "readonly" 0 wordwrap fixed absolute 656 940 extent 155 27 0 readonly (BUTTON2.value != "") ? "*" : "" date optional MM-DD-YY absolute 960 1260 extent 1 1 xmlsec-1.3.11/tests/merlin-xpath-filter2-three/sign-xfdl.xml000066400000000000000000003003131517172715000237370ustar00rootroot00000000000000 SF71 Thomas Mohr 4/6/98 4/6/98 application/x-xfdl application/x-xfdl 1.0.0 letter 120 8.0;10.5 235 235 235 Courier 9 plain absolute 17 32 extent 876 1 absolute 17 82 extent 876 1 absolute 17 133 extent 876 1 absolute 17 179 extent 876 1 absolute 268 218 extent 406 1 absolute 268 263 extent 406 1 absolute 17 311 extent 657 1 absolute 268 354 extent 406 1 absolute 268 398 extent 406 1 absolute 17 484 extent 657 1 absolute 17 530 extent 657 1 absolute 17 578 extent 657 1 absolute 17 626 extent 876 1 absolute 17 743 extent 876 1 absolute 17 867 extent 876 1 absolute 17 967 extent 876 1 absolute 17 1164 extent 876 1 absolute 17 32 extent 1 1133 absolute 510 32 extent 1 51 absolute 892 32 extent 1 1133 absolute 268 133 extent 1 266 absolute 349 179 extent 1 220 absolute 430 133 extent 1 266 absolute 510 179 extent 1 220 absolute 592 133 extent 1 265 absolute 673 133 extent 1 494 absolute 268 484 extent 1 143 absolute 349 484 extent 1 143 absolute 431 484 extent 1 143 absolute 510 484 extent 1 143 absolute 591 484 extent 1 143 absolute 20 58 extent 489 23 string mandatory wordwrap fixed 0 John Q. Public absolute 537 58 extent 123 23 string mandatory wordwrap fixed 0 123456789 absolute 19 109 extent 872 23 string mandatory wordwrap fixed 0 PureEdge Solutions Inc. absolute 28 191 extent 22 23 Helvetica 18 plain absolute 269 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 188 extent 80 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 511 188 extent 81 23 center wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" time short optional optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 593 188 extent 80 23 wordwrap fixed readonly (CHECK1.value == "on") ? "readwrite" : "readonly" (CHECK1.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK1.value == "on") ? "mandatory" : "optional") 0 absolute 28 231 extent 22 23 Helvetica 18 plain absolute 269 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 231 extent 80 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 511 231 extent 81 23 center wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" time short optional optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 593 231 extent 80 23 wordwrap fixed readonly (CHECK2.value == "on") ? "readwrite" : "readonly" (CHECK2.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK2.value == "on") ? "mandatory" : "optional") 0 absolute 28 277 extent 22 23 Helvetica 18 plain absolute 269 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 276 extent 80 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 511 276 extent 81 23 center wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" time short optional optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 593 276 extent 80 23 wordwrap fixed readonly (CHECK3.value == "on") ? "readwrite" : "readonly" (CHECK3.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK3.value == "on") ? "mandatory" : "optional") 0 absolute 28 322 extent 22 23 Helvetica 18 plain absolute 269 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 321 extent 79 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 511 321 extent 81 23 center wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" time short optional optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 593 321 extent 80 23 wordwrap fixed readonly (CHECK4.value == "on") ? "readwrite" : "readonly" (CHECK4.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK4.value == "on") ? "mandatory" : "optional") 0 absolute 28 367 extent 22 23 Helvetica 18 plain absolute 269 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 431 366 extent 80 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 511 366 extent 81 23 center wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" time short optional optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 593 366 extent 80 23 wordwrap fixed readonly (CHECK5.value == "on") ? "readwrite" : "readonly" (CHECK5.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK5.value == "on") ? "mandatory" : "optional") 0 absolute 121 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 121 438 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK8.value == "on") || (CHECK6.value == "on")) ? set("value", "off") : "" absolute 519 412 extent 15 14 Helvetica 10 plain off off (CHECK5.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK6.value == "on") || (CHECK7.value == "on")) ? set("value", "off") : "" absolute 28 495 extent 22 23 Helvetica 18 plain absolute 269 498 extent 80 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 498 extent 78 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 511 498 extent 80 23 center wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" time short optional optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 592 498 extent 81 23 wordwrap fixed readonly (CHECK9.value == "on") ? "readwrite" : "readonly" (CHECK9.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK9.value == "on") ? "mandatory" : "optional") 0 absolute 28 543 extent 22 23 Helvetica 18 plain absolute 269 543 extent 80 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 543 extent 78 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 511 543 extent 80 23 center wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" time short optional optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 592 543 extent 81 23 wordwrap fixed readonly (CHECK10.value == "on") ? "readwrite" : "readonly" (CHECK10.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK10.value == "on") ? "mandatory" : "optional") 0 absolute 28 591 extent 22 23 Helvetica 18 plain absolute 269 590 extent 80 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 350 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" date case_insensitive optional MM-DD-YY optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 Courier 8 plain absolute 432 590 extent 78 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 511 590 extent 80 23 center wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" time short optional optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 592 590 extent 81 23 wordwrap fixed readonly (CHECK11.value == "on") ? "readwrite" : "readonly" (CHECK11.value == "off") ? set("value", "") : "" float optional 0 9999.9999 optional ((CHECK11.value == "on") ? "mandatory" : "optional") 0 absolute 680 326 extent 15 14 Helvetica 10 plain absolute 689 404 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK15.value == "on")) ? set("value", "off") : "" absolute 689 428 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK15.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 689 485 extent 15 14 Helvetica 10 plain off (CHECK12.value == "on") ? "on" : "off" readwrite (value == "on") ? "readonly" : "readwrite" ((CHECK14.value == "on") || (CHECK13.value == "on")) ? set("value", "off") : "" absolute 42 657 extent 846 57 wordwrap fixed 0 string optional (CHECK10.value == "on") ? "mandatory" : "optional" absolute 42 712 extent 846 31 0 string optional (CHECK8.value == "on") ? "mandatory" : "optional" readonly (CHECK8.value == "on") ? "readwrite" : "readonly" /XFDL/page[@sid="PAGE1"]/*[@sid="CHECK16" or @sid="CHECK17" or @sid="FIELD47" or @sid="BUTTON2" or @sid="FIELD48"] | /XFDL/page/triggeritem[not(@sid)] xtHvgrYCYiWUtvgbaA6yx4fY4hI= UCx213C5lb0LhhsAHEO+L5Pbkq8sBhh/yXJuL4zDZMyASF/cn6eoDA==

3eOeAvqnEyFpW+uTSgrdj7YLjaTkpyHecKFIoLu8QZNkGTQI1ciITBH0lqfIkdCH Si8fiUC3DTq3J9FsJef4YVtDF7JpUvHTOQqtq7Zgx6KC8Wxkz6rQCxOr7F0ApOYi 89zLRoe4MkDGe6ux0+WtyOTQoVIGNTDDUFXrUQNbLrE=

hDLcFK0GO/Hz1arxOOvsgM/VLyU= nnx7hbdWozGbtnFgnbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43z Kt7dlEaQL7b5+JTZt3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM 8d2rhd2Ui0xHbk0D451nhLxVWulviOSPhzKKvXrbySA= cfYpihpAQeepbNFS4MAbQRhdXpDi5wLrwxE5hIvoYqo1L8BQVu8fY1TFAPtoae1i Bg/GIJyP3iLfyuBJaDvJJLP30wBH9i/s5J3656PevpOVdTfi777Fi9Gj6y/ib2Vv +OZfJkkp4L50+p5TUhPmQLJtREsgtl+tnIOyJT++G9U=
CN=Merlin Hughes,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE CN=Transient CA,OU=X/Secure,O=Baltimore Technologies Ltd.,ST=Dublin,C=IE 1017788370348 MIIDUDCCAxCgAwIBAgIGAOz46g2sMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkzMFoXDTEyMDQwMjIxNTkyNVowbzELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEWMBQGA1UEAxMNTWVybGluIEh1Z2hl czCCAbcwggEsBgcqhkjOOAQBMIIBHwKBgQDd454C+qcTIWlb65NKCt2PtguNpOSn Id5woUigu7xBk2QZNAjVyIhMEfSWp8iR0IdKLx+JQLcNOrcn0Wwl5/hhW0MXsmlS 8dM5Cq2rtmDHooLxbGTPqtALE6vsXQCk5iLz3MtGh7gyQMZ7q7HT5a3I5NChUgY1 MMNQVetRA1susQIVAIQy3BStBjvx89Wq8Tjr7IDP1S8lAoGBAJ58e4W3VqMxm7Zx YJ2xZ6KX0Ze10WnKZDyURn+T9iFIFbKRFElKDeotXwwXwYON8yre3ZRGkC+2+fiU 2bdzIWTT6LMbIMVbk+07P4OZOxJ6XWL9GuYcOQcNvX42xh34DPHdq4XdlItMR25N A+OdZ4S8VVrpb4jkj4cyir1628kgA4GEAAKBgHH2KYoaQEHnqWzRUuDAG0EYXV6Q 4ucC68MROYSL6GKqNS/AUFbvH2NUxQD7aGntYgYPxiCcj94i38rgSWg7ySSz99MA R/Yv7OSd+uej3r6TlXU34u++xYvRo+sv4m9lb/jmXyZJKeC+dPqeU1IT5kCybURL ILZfrZyDsiU/vhvVozowODAOBgNVHQ8BAf8EBAMCB4AwEQYDVR0OBAoECIatY7SE lXEOMBMGA1UdIwQMMAqACIOGPkB2MuKTMAkGByqGSM44BAMDLwAwLAIUSvT02iQj Q5da4Wpe0Bvs7GuCcVsCFCEcQpbjUfnxXFXNWiFyQ49ZrWqn MIIDSzCCAwugAwIBAgIGAOz46fwJMAkGByqGSM44BAMwbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MB4XDTAyMDQwMjIyNTkyNVoXDTEyMDQwMjIxNTkyNVowbjELMAkGA1UEBhMCSUUx DzANBgNVBAgTBkR1YmxpbjEkMCIGA1UEChMbQmFsdGltb3JlIFRlY2hub2xvZ2ll cyBMdGQuMREwDwYDVQQLEwhYL1NlY3VyZTEVMBMGA1UEAxMMVHJhbnNpZW50IENB MIIBtzCCASwGByqGSM44BAEwggEfAoGBAN3jngL6pxMhaVvrk0oK3Y+2C42k5Kch 3nChSKC7vEGTZBk0CNXIiEwR9JanyJHQh0ovH4lAtw06tyfRbCXn+GFbQxeyaVLx 0zkKrau2YMeigvFsZM+q0AsTq+xdAKTmIvPcy0aHuDJAxnursdPlrcjk0KFSBjUw w1BV61EDWy6xAhUAhDLcFK0GO/Hz1arxOOvsgM/VLyUCgYEAnnx7hbdWozGbtnFg nbFnopfRl7XRacpkPJRGf5P2IUgVspEUSUoN6i1fDBfBg43zKt7dlEaQL7b5+JTZ t3MhZNPosxsgxVuT7Ts/g5k7EnpdYv0a5hw5Bw29fjbGHfgM8d2rhd2Ui0xHbk0D 451nhLxVWulviOSPhzKKvXrbySADgYQAAoGAfag+HCABIJadDD9Aarhgc2QR3Lp7 PpMOh0lAwLiIsvkO4UlbeOS0IJC8bcqLjM1fVw6FGSaxmq+4y1ag2m9k6IdE0Qh5 NxB/xFkmdwqXFRIJVp44OeUygB47YK76NmUIYG3DdfiPPU3bqzjvtOtETiCHvo25 4D6UjwPpYErXRUajNjA0MA4GA1UdDwEB/wQEAwICBDAPBgNVHRMECDAGAQH/AgEA MBEGA1UdDgQKBAiDhj5AdjLikzAJBgcqhkjOOAQDAy8AMCwCFELu0nuweqW7Wf0s gk/CAGGL0BGKAhRNdgQGr5iyZKoH4oqPm0VJ9TjXLg==
absolute 655 840 extent 155 27 0 readonly 05-08-02 (BUTTON1.value != "") ? "*" : "" date optional MM-DD-YY absolute 362 873 extent 22 23 Helvetica 18 plain (CHECK17.value == "on") ? set("value", "off") : "" absolute 604 873 extent 22 23 Helvetica 18 plain (CHECK16.value == "on") ? set("value", "off") : "" absolute 41 917 extent 770 23 string optional (CHECK17.value == "on") ? "mandatory" : "optional" readonly (CHECK17.value == "on") ? "readwrite" : "readonly" 0 wordwrap fixed absolute 656 940 extent 155 27 0 readonly (BUTTON2.value != "") ? "*" : "" date optional MM-DD-YY absolute 960 1260 extent 1 1
xmlsec-1.3.11/tests/nist-aesgcm/000077500000000000000000000000001517172715000164525ustar00rootroot00000000000000xmlsec-1.3.11/tests/nist-aesgcm/README.txt000066400000000000000000000025211517172715000201500ustar00rootroot00000000000000The files in decrypt are generated from the NIST aesgcm test vectors available at: https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/CAVP-TESTING-BLOCK-CIPHER-MODES All have been generated by taking the test vectors with IV length 96 bits, Tag length 128 bits and no AAD. The test vectors have been split into separate folders based on key length. The encrypted data is a concatenation of the IV, ciphertext and tag which is then base64 encoded. Keys are base64 encoded directly from the NIST files The corresponding plain text test vectors have been base64 encoded and can be found in the corresponding *.data files. The NIST tests vectors are a mix of pass/fail tests. A missing corresponding *.data file indicates a test that must fail. Files are named based on the lengths of the key, IV, plaintext, AAD and tag as follows: tests/nist-aesgcm/aes/aes-gcm---<AAD length in bits>-<tag length in bits>-<test vector number>.xml There are 15 test vectors for each plaintext length (104, 128, 256 and 408 bits) As mentioned above, only files with IV length=96, AAD length=0 and tag length=128 are included. The encryption tests were created with the XSLT transform: xsltproc -o <base filename>.tmpl create-enc-test.xslt <base-filename>.xml �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/�������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017455�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-01.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023475�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������SPW0JrrKAwZFVMwrMA== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023541�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023375�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> 3X4BQZhnK+Oflbadzbqec+rz047OsrBKjez5D0pHycYm1vssdl0gFVY= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-02.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023476�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������RqLlXI4mTfIRvREmhQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023542�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023376�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> MzizXJ1XpdKBkOjJL0ZjTnS45MiYEqyDudq9UGdk5ouCp+cgqhjaCr4= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-03.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023477�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������O5W5gQhu5zzE0MwUIg== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023543�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023377�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> UFU0fxi01a3QrlxBFC2CEMP7hHdM29BEel/TIdnNsBlS3IXwNHNsKn0= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023400�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> nt8qqXDQFqyWLh/YqFtmw8teq5HVvci8DtwFTvwB86/SHZwkhIGfVpo= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-05.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������UXVtI6srLE1GCeMTOg== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-05.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023545�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-5</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> 0sJwQLKKnDGvba0K4X337RsMNsa6scIdwQhkRBP4B1OmbSfMN9mQOr8= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> MeznuS3zHrE3g7I+v3dpClVcNoh49ZKeOZcaHzHVg41ETzKf9Hva4g0= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-07.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������tCY9cJ+BYojs4Au/rg== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-07.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023547�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-7</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> IkfKC/uTfXCRxJlA9fcZDjuFrqT6pXtS6LTRUUKmirUljD0gYh9HBuo= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> UAugpm87kZsMxD1dOOxiFHtgHRuE5ijGDtWoRWM1qssNtFL0xGDt76Y= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-09.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������n6Ov59Id/gBLVY/5QA== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> TNkEnjs/SMhIohs8NE33BIXIrC/c9pGQ80zbWK0yEjvkMe9QYTyfiG8= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023376�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> ip6hlIUgTLHGcYGLZogalrLA6cgdMnDihYtLNauw2KSYt1kgrc9BHqg= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023377�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> Rpbjlj2BBUg4ScEy+zuSWscO6PzGUzRM/JZKAzk7VBMZmW37nbglnUg= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023400�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> trYhPiGQNNXhqG9lkjSHTILnfrRkq+vPzl4VE8JBSFtdbcDUyFL5050= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> 9MtTxD0gY0mwMz6oSqIAKHzTAUfD/G+H4C8S44J4SLIfFB5amgkZ5rA= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-14.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������EW2dY0v550bbiaqwxg== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023546�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> 0XkmM+1NVzoWtj/rC9xU0ib808WpsD+pYBpoZXdJ6nrbhg+HuRXlhlk= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-104-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> JX3okZNcwwGv84JKkYufSl9Z1akyXZlMFg3XaKT40CUulDydbMnihmQ= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-01.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023500�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������KChqMhKTJTw+CqJwSieAMg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023547�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023400�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> iyMpn94XQFPz1lK6Wjwc8Zhdu4vtgYA2/dWrQiPHqw+VK3CRzTJINQQ7XrU= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-02.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������lWlaWxLyhwucxf3I8hipfQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023550�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> F8TWFJPs3I8xcAsSR7t+I/e9/gWoCRrJDk+LLrcjxw6THZeF9A/Uqx1hLck= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> 52kl1TVeBYTOhxsrAhbImciNbjLJWMflU9qlvKFFMZiWMpyW3ykfZO++Djo= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> 0LT6fH8Qf5j2awGVq5V6zATBA02KzGF8CyD3jak8wi9ghugWAWYGua0Lppc= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-05.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������lkYQ+2WFy7sHD9mrEKemAA== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-05.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-5</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> Xo3CRu6DXcXyKdaYF4zjvVauJ/mBLpG5QsEwnsYzB1qLYI1flpcdK8HqKg4= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> lRlMtLok6gR2ylrkSTRhrtpaDH0Y7fsRyoJ3x4ZWFaFIR0SpxV5ICHFHLoE= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-07.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������nfrDjaWBGzxHEkORF/dSDg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-07.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-7</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> py0zmtgpyWAdAKbvtESBq0mGOHP/oqN3qnt1nk1Yen07XrEYbS6szpu1HAQ= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> Zz1+mq7as2y7KvoO1VjyN7wEtByBVe9kNRHFLEgqVP8tknDXA3Xk2NtkZ0Q= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> R+NscccMK7Zizd1qTTFog2sL5+fNe1SslSgUCBjhiWB4nPZQu0jRY/iB/lU= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> q/S3eQP9KJRRbY/CPHUS3DW9jsgJVLr0kQWmel5imd6sZZT9Wc8HPvFP/e4= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-11.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0y5D6xqQtiaxibao61kruA== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> dv96qglb5BEfecdKqZjxcwB97QArPr4mTqfxM6cbpPI4W9W2FaI737ncsX8= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-12.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023502�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������RIMN0LyFkvSijsecHQ8rUw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> Y8VPzY5kivS7D145ncAdmFzU9s/R6yIHdh7ASx2Nxhfo9Jt+kqP1SA0dIv8= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-13.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������r/9em+y2LIsFwm7/76PXsg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> GIVJ9BumHtUumxTvwGrqDqDsaoRG/48/ciz9HGBewv4F1wZ+5TcdSE5c19w= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-14.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������WSZEXayne1WFe5vUyJfB7A== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> vGC9W8poArUmzINh8viFEAW4v7OMw0iBM7AErn150ch0JEastF1NDNM4hvo= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-15.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������3Brbsxa+irzNh/+t/fx8oA== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-128-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> YV8l0TxcSsnWsBkyN1vKQ1gyx6vMzp64kIBydVfje6IfCu+Lxwtj95aOnto= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-01.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prdqBm5jOSyUQ+YCcs6uudJcmRsPLlXigE4WjAXqWRo= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> htjqCrjkDcxIHNDiYhcdszGTKS2TC/Zkc0dlLB7zMxbX/sqZ1U8dtPz1E/jCgoCqXGx6i9Nm8owc /R9u </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> nCIAhHXnqQf3q8lmlqBuH9sAguvGRBMS3ZzW7W9/rHRfrMNotasqOVG9daZuhNZkSAaPZ4iUBCY6 BHqI </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> MvOHdtmYQ+nXnWso+019jglY6nbZSJ8sa1MI11z5bI4bxqCKl4pl8MD1EK+0mkxq80A9+1fPH0vC Wxeo </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-04.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Re6KDzj5F4W/jKxL0FKEJJqANersDm4ZRuDqg6CsMnE= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-04.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-4</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> 4CnmrN2vYuqB9/OfFLTlMhPegL2ZVGjfKTprvyRShGw3WjcGc420XnxdW6aKijxGkyVvi1AWBVSC SFbm </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> Hf5qpz/7aA3/wQNnc/wMgqWRZfVXrDyaQ6eA7y17VdOiaWd62a0SNwa4WFT77b9rkIXgaVilCzKf gTNG </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> SYrs9nLHPdgaqWbPAyvpyjLlPhMPJB16J7SVmm4rccmImc/cZoBqSQx/r8bDkYJiaYup0w4ynK1g +z6y </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> iIhywmGzWWaSq5bDm7o8wj+R7q4JJp+UApZ7uLN2VSRh+qEDIHQehh06LnGVTn+7YrYiIW+30dLz Z+q+ </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> C1w7mK6rZSXwy/97N7eVpt5ZT5fL1RBI+VjKpW6gTW/9QmgzZIVzI3WdBAYc419XewZh3PGFi5IG G013 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-09.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023520�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������o0MvxSWEja0qS7pZcbtRugOT7o3WGYkSTGxFe5HCW4g= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> ySWLqmt3IPONj1p2RsKR4XkkhtmNWu+UPhHCFa04AwhhoUATAUs06tx3EpbvKOYZWNkriiwm36aa PDV3 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-10.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������yixLqJ2RH3TG2J7k86ePPJoOAAF9JiN3qjNKeCZBOX0= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> ve5aeBE1RvM9HLE9aPJd6iZ3tXoZgU7vtFyI9vUCjGEpptbj+U2lA3PpoeoABfgUhl5b0pwxDhsn YQZt </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-11.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023511�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������OsRtu5P4AyNabfVQI6ylVEl2TpH2VRK7n/CxlHiPks8= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> V4uWNJpMAjzhLqt7aDmb0epN++epHq2z1u4B6fMmfJfeK2q4VdKXkYy3AGVzZQhw0w43nWeFjfRO +js8 </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-12.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������P29X21tMTqTlUou/SwponAwWmhRPglAwHr3OM8szZUc= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> rmYGebAbvRmClg7oN5HlYdN+8h3a8BmhFvVgmBe6/mwYdVcvXd3H9OByiswNMXg+dYahN7gbW0HR7liW </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-13.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������HRat8gOJMV9lXCIoShG0xfHRpFu/+m5H3Dd1EYXfNcA= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> yMNS+cR0ccXqNgfg2hI6v3nA+HPSxetl97nEdT2WeIscpu+M4op0FVi6GLjE9zRLH8usuGtUDnQd QXG3 </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-14.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023514�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������J295hNValvMlC7Kb2AN2rFS3N9/6bJnwZEjKyBS2gy4= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023556�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> r+kmm9jgG8Woqm7lttod8k/kp17TdFv3H7GzuhGjgQoIO6bsHDn5efum/8er6jam2mVeeqfXBzv5 NoZd </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-256-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> /ykp+tJ5wfIW6E7eYM4L1wRed/hMZYI0MQD7fh0pnweu4jGJs49dT5PcRRmzGjUgM3H2rmwZADAa /zky </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> 6WCYw52aqDUiEZNVtCwlFVggVktBxSXGqo/0Njx8URkXdyubzVdLC+H2tMohU4ad3wxPdt+tOu8K ds4FZYL5RDMeObimaoFZHtFV19Mjcg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-02.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PzuwZE6sh4uX2ZDSV/WzbheTSQ28E/6k7+mCLOu6dETM5N7lp/Xf3yhflnhXkoEiAMJ5 �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> itczpKm4MwaQI4xCu7W2cqR5r8orEa2wpMditpjdVlkI/uHRAfagHWMzLJG4XX8DrEikd4l9UStF cvkELLfqTXi9yxNm/LoC/czuV+H/RA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-03.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/Rsg1Y5R/pPRd9tRhBbmMiEt0e/7a1/PUb2UI0q5akVdjjyEygOybVjIhntqHMOQgo/7 �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> fZKA9Z3CuY8BlQmNMJgNJjQTjq1CwzR7mzrzL3j/7A12hrkkf473JYtyhZJ22dM+tnDq+z6pAMMt ub78z8HWy8pJznDT3bdS3DtDjyhFug== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-04.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������3kIZnEd7ad4oVxADla77JzXIMoMxEJ1kfq5TXFQgCGnnqLyC9GH8bEdHSCl8NBvSISb+ �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-04.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-4</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> +WUdQuv4Ro625Fgp+Slr7tPTtXP3LL3krYMuNOjvbPcXjo0ng//17INZ2vZ9+KcNj4bSwzn54exZ 0jTk9hk4RqxGtFXp9IOo7t9u9LYb4Q== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> te5EVr7pmrhXEg0aChS8YjJsmvmWC4lgGNmMeS1uBFZDUAXWXmDVU7TqczrOfc/c7wx9hqbzBlyr gBKkyyy5j7Nik74YpornFg/ISMycyQ== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-06.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������UXJ74GuV7QTsH0Ear1shTFjyF4LL6bYkyygimruPnY1nO5A8EuuRR8QMxY6BUl2G7dbG �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> GL6V0yyQgpS6kI52oY38ZdDY6UhXdmI80KO/d9BUgu7mTpfL0Ighl4AGEQgRmEOaEeImw/uBmEkj Dx/KmonjD1KDSey7S+2X6f6M4WFhuw== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> tPjIXA10OpmmzIfjSFhKYR375Gw6fL3O0WADKUUZPLjcDVUQgNFitHr32lPvTLGJb8AaXcuOON2X hLhugE7jZeSLo7FbdHi4hfjMtSOS8Q== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-08.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������OOFZGSS4w+OucJVXZ70zUlIj0wgyRdDauCv1Xy+aDPietnrH//VnkMChz9F9z9qyT6gh �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-08.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-8</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> 0/VPzV16hTd//3bVqEZMUbU4Iy7qr7PCj5J3N3a8BA6VcMsQQeppooVw8VvShKzdK/LnMtXjf8T3 GpiB6V8yiKKuO81w1wwGUrQWIyh0cg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> kPqIpdSUFU1xGGcFSEBJ+MXUnO5U16TzGAG/Cz97Z8LBjllBF9QTI4+A5F5jIvOJqv53UavRW+xP 8PYgmt0oo4KxSHncWdhVGC8qMkVpzw== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> o+dnUjYuE+599aIHXheJ4KJKcruoxfd1KEzDEkPWLvR023O/c0EL5Kv4DIYOFHCqmCRxGeVY8Tvc TpzYAq3tGnv8GvZMXgh0HxCABk+J0Q== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> M6QgPIqFvIMRfbuKGSEKIe8Aug4Xuo4dI+yn+PLkzbE8Lj+HqcoONhc2eW/TcgWY6CgyiaqwpK+v wTp8/wQ3aSJwNk9zerLzH0IaSPtrig== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> W6yOtQMKgc8ngpdM+EB5Q95UP6vVxtLCF6JWe4lYR7MDHkb+9qILlEazldOnUWM+oU3EnDaAWmbr Rm4CjA7aFQ/qrtK6KuRZ+PDyj8LCeg== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> n9N2q9CeZZmYavuWgTqNfEbQo1BERdurSKVGy+2WjFdGRfppb/qbXWLOOU7jWiBMYu340Ex+9iHt UZw7enMY8lnmIZPx7v28bsGs4wX3jw== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> xUE23BUl7U9tzkugM/CU4nvm/fYrkBuYBHG15NGe170bjr9bPyJfPg4maeAsdGMPQ0clFYBr09N7 myDyGHCu1ICxq4qPZh2QfH1FvY0ogw== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes128/aes128-gcm-96-408-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> MTugkia+5pQhf1y8rxi+Dt/ht0/DJ9RHkJNHweiyLyTu0MVFrHby2NSPPGc7MAscLNiURVwiMuBS 8Hjwr3H0lhg8xeIpN8FbeASdfKshgQ== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/�������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017456�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-01.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023477�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������e6w7z5hKn1VvjX6f2Q== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023543�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023377�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> 8Jy199O6gbs73ABr8TbyYugAx+8t3DPvu0waRgKWVXhGDWvGHl7oGSU= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023400�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> gixl0XG0zPoA+GxiLgaHA0ITGBIJRb5GRf2AW/7+oBrjcTu0tTRJ/ss= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-03.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������li/5NXbi3N/5ROcdkQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023545�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> L1+eTQZsaT0uT2MWqoDjxE4fXlzuU6Rn+lpuHbW0O/OCANeaZJr3MRY= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> 0UjKA8OSR5fjulKx1Lk/lBB/qpyI3ZisIdm3Q/p4IfGlCfRhe9Dz6C4= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> Gnq77Wct4mQJrI2zU5iJ9qlIdlU8h9Z3WUPTmkvs0zrhsiBjN8hFjSo= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-06.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������in74306y4UhN8SGT2g== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023550�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> xxaKeE9ZJtrC0MO8R992hdi7WAmM5jQvDVZm2DFWFgLoJvC1ihgjO3w= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> A1AnsqSBdI1KRXkV27zdigXqOlHWDp/dBdcTqFq6/1LhQkCNT44AXx0= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> s2UpTXwjGZB43gC8OcpCAHSQtKtymwzfggsO9Lm02Ra9vtTlGdfgKzw= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> XLRoeHA5Ve5FeOW1mMrOdvTMOZkxovtjC6ce9jA1wuPk+tYHwx0q834= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-10.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023477�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������azcAD0bJXqSnmNurAQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023544�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023400�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> OhkJ/vpNROkg+T0WrvXrJn6B2s4oWL0M3mGhh/44ci3OxvHQEwHjHU4= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-11.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023500�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������4cO+5nM9OIigvKU6lg== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023545�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> U6NxMLAYBEetGM/UEvkItULi5+RFEvIW1IvcrEqqyBp7n6Wjr8J/c8w= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-12.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/jjdnkUClZVxHif3YQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023546�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> q7H0lD0esXUQJAqa3QgyNOt8027BUdJWuc1afyv37ND/g+qufsjm6S8= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> tzUUN+W2WwJ+ulNZovnQPpW8iuFUCdOhI/YeBgWAkuzjQbZVCNVD9Vo= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> hZhKE4M/7WzZCxy/69BDDvOJg6NRH+xDNpWbh4MzqgPRgUfbvkYgCgI= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-15.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������2ltL+ez0NlOGQcr0yw== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-104-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> LEbHHJj22YZWTcwDNP64RJtgUZ3VJD59MxOAUI9tzk/IVg3nStTGFJc= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-01.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023502�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ma5vR5swBDVP8YzYbAtu+w== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> qkw4v1h/lPmf7nfVEyrpW9NZxEqu+mNIYyyvvRnXx9WAmtZkgRDyLycufXI= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-02.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������fYG5SFFcl1MICG+pYPfMmg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> 2WD3S+knWAoun1fvbjcg52trS/Vnzprlf0qsn/J3VW/AqUtOp4ZGXKUUaqQ= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-03.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������KKpGOT4bi4eEsDXzXR6p+g== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> HfFBymh1eu+A5BTsLzxW7utis5PFcdEmF3hl6Q+lYKNHTrN4lb67mQ1evxQ= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> SsRQ/xZj2njllv5rkh56qJ7znbbpJwch+5EKEGmCEsMhB166q0wb0nGbpbs= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> vN44o8zMUd9YV9Be6QKv7PGmg1BKo2Pf021L4maA5E30AhLlZo8cuMbM8bI= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-06.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������zhw5GwGDcZfpYm157shguw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023556�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> iP2JO0i7BVfDjj/DOiV9OPK6Cyi/Kzlckh11562Vv3NWRX+yZhNn0zHbBSw= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-07.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������nQLO7WcnBvWzktu5d+IJyQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-07.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-7</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> PU66/ggAzZETRh+Q+9uk9AeWB/yBtutE0oboB6ao6JvWswU1TnXqO/+epVw= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> lB7tN06BoCmcMJ1FdUK0/M5WnBgCx3pEWvw99+ynxDANrzDFyyfkN4om+ac= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-09.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������FZrY9d080PYOa5JszyVXEA== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> 8l23UY0IV8T/S/5a0OVMe+x+jaWLz1b+4E9thS4lUZ9Ah2kVUcee4DNyX/Y= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-10.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023502�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������YEJq0PUmo4hbSLujGFzBNQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> BunrITt0HYCsKgxI/PBi7Mj4SfBR/nVLgyyAr48w/rwlwvH2iqx758WclOo= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-11.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������QfT7y6mDTRWEcRXm0XCEoQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> o/Iwjpimj+B6w1wijI/pWVvh3ocPyBQpU+97KR47zLUBNGePrp8oMEYsbWs= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> UfdobxWSv6KN76Q3Sn3xdXAKfnKBYtdPgHa28OlNHJB+nNKwsYXLoQxo8XM= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> +y8k/u78aSw3hzbUJWQcUm4PcVwuJu75tIBvdAGdNAGhJSWpdcXLYRokK10= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> WtHmOWPVh4Gorjj00J6GFKHNz6ZcwoHQioG99zaMcPnXpwRytIu6l4e7XtM= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-15.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������lEnLqFMEbrDAAQQTSvoAIQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-128-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> 6wPu66QdfDIYRHEL2I4+1nCx7QiEL505MUbj2jdIsxcCvJqbw87ebhlde/U= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> 89EOyoJPP4qOCH3PJzx4MkjJHqEGR0X7XCOpX/Y3Hf4ACVtOa2lxXafHOQkhS4dSbre+k93Crh1j B7f3 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> 310vZIUX/ciqARenl2VKFpjHxh3xoLqXAAzl4wMV1fEUleMZlkbzKqRGcXUyfL3XPMMI2fA6T+pi 87Oo </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> 6u/ywA7//eZlZghUpk4X5IZHouwL1epm0hzh67om22trkBYYvIUR3Thrv+EEZ53zHLF76dBx326m 9ER7 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> MOy/W7UXGMDjAMbUnseVb02ZFWSh6IxHFOgFj/mV++z5004UjuQN8Pyxlm5z7NEP4SCC7nFG747L nLNe </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> fZ9k/wiPTj9N1yaNWaMho/TlfgIyIQ4eaZsV64J1uEToq3/w0VlNtZJMvDCQjV08MI7xW6Bj3yso VhgI </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-06.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023517�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ybqr8wS3vTgQxt8DW9NmkmswJceeRRcEd+N/1L1nA7I= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> VX700fQoCEZGy036wzfhnBXSetPGEpZMEehgGVM/xnyrrmsBe/0b4Vr6G5RilKd1rMuN9/BX7jZA cA/I </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-07.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023520�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������NEHJu45DryFi1+J+1YhgI6/VZbWyYwyaTPnNbtx05sE= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-07.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-7</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> QZGfmVdgf+4I5Ya6KuQyRrGotJFzVlqSm82OFypqqUUOMBYw3Hv86GpdpQiTPj/qH2lDf58Z+PQy CEyU </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> G4FmQYr2B8YjyJ1cPawYWERJfG9upGH5bwNbqr8NN2ZiC4TQctfaGWgQ6vtPETiA6G1cNq173LL1 Ce0v </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-09.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023522�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������SCFElLbFeRo69bedg0fhJkR7R2p7GtfQ19eTTYCsEwM= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023563�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023414�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> NxDeMh/+5/X/pBY0faIdaHgSm8NRFUWr5mfme1kiMAbisqhghyZre4b/STnDxLtYRZ8prsr4Td5t 9piP </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> 5rPbuUxWDf6/G7or2hQv2xKbBNmlR4TVFpKDvFj/y8NcalskMuvkJ8XIoOcUCTsKSVx89h4Wvas8 4pEW </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-11.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xBlVkvPP3Z/v4xwJTi9OMq+nWmR5YtHHTz1o+ikpvqU= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> FpQWbODry6BmU6w/A0qGjWM0Pvz/Ll0b6lvdx4s76yBadVm10h5PFs0WKN0oPAIfuNe+mv5aDn+J 7wb4 </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-12.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023514�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������cNcgPPcYDmUOecIj06IvAV23FJ8/8d75KDTSxuceS9w= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023556�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> VXkoHw/E+LcJZbb2vVM1r4s9eFXe2cRiFHMdVQEkTlVf+FTOEQhRTnhyRmnuMZZOBbYXCe/4Qxl7 pz+z </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> q77IhO3Hz0qO8tHZeLVvDoOI+/icN3LHs76NZXb15xxvq0HxYWNSFIcqypm2w2o8OOswRsz5qBBd kp5d </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-14.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023516�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������lTymgyNSBjIr01zbjdfXWuxNAYXZexJHpep5+UoXXt0= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> HPFXm/5VvQIYgxOFtH5BuVOslHEj0g9xsnVvMbCqUvXiTZUXZ+On92fxBtDxbuBGQjvq0nrZzgBx Hj+2 </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-256-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> 4e1V25jnqsLUKh3Bd3GV30OXDcY4vkqGU9a+Yin9UMNgQE2HNm67Z9DvVmZQOLetpHHuI4b/qq14 wKS+ </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> F4F/KCNnlJYliGjide4L1vvHNdelxg/ieWyp8URxlVzcJgthU2ukdTWdrlIqPf+AlcsK1hkoq5Fh O8EEJFe0HSUJpzsPNHem43MLzD5TJQ== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-02.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������x+FnmZ1lNGIHAWNR6g2GIRDQYJYG252Q/Ki/IoBZt89Yk3il29sHMQ19CcsTgW3wBES/ �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> SDdRsDfG3KH/bU/4r2kfE/ZFoU1C3mJz0WDKRPuKO+0k/4clfkY0RuBPMUMsw2wGA0Eq2rBjKDwU 5O54qzCb+/7fqNk+FZRFdyO9ULz2Pg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-03.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0O5xjavheFk0kUxsB7hNELGPfaie4yKjtb4C4K4Nku+hjZCK2/t97i574so20YUVc82Y �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> J1//IRTRvWW4ZAYD0nZpODjLIhBbhKmCbzx1QxmPq+0Oc9Iaad/J9/lYcU52YRjfWCXBx5WN8pxx or8FCiKSuqIrsLGk8yW2lLRLD/HIlA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> LVMrK5g10dVAZ1ZjWZanO23OELu1z8CJYw9jbJD7qaquO1rKwFJe2SgWS/YU55uFqggsXjLqOLDU wPAu/vqMS9URwU+kjcqQvtiA20ZaNw== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> GLMcWHG7F67ElkRmnP+qQleRph5iSeCfAbDwjlOvwxcERI9BvzahFEOtTArXcIuLbJeM8ChWVzZe 5cYZWXdbCkibhUKgM7BGjqTKzquX1w== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-06.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������RN4BSXO8xGATmXIX1fkhYgpjZslTCbGhI5gYRnGSbT0iFZIIflSNqns1Q3Jgxpin4j0D �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000741�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> jIaUyqvaJAZCS5nvTGcBWnRZXtQjZBCkUoSWL2sgDMIftN0TDeKDMqP/JPARltP5UP/K8WXfMfybsjQlS58lKUHCqTCqV6FYyBQO7wJ5ew== </CipherValue> </CipherData> </EncryptedData> �������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> yya75A8cbF+gXuDI5/LC7Cq2nyy9C+XUaobDBEErQlHUcicyznHDRinFIRT0BG3C9mGhbe2D1SXQ yiDaOVuLX0+H0/X/nLLGvRCji1NYGw== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-08.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023514�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������mu2u6g+XLSqN7/ffx3cnic2lzG4B/fYRh0Je6aBvxxkJVjPLsNcNTCg0mRvDDVWzOJD+ �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-08.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-8</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> ffOiTFAnfn3oWlJVTghGqksaJH2ao1iVOSAdXoVDldApq0Ibnsgi5EdjD26iFUm4noj1ZhG4BKL+ DwqgDpmQ8LDn+LITCRB4jKUa/D9oxA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-09.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023515�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������v1sJnMN7LgcpTmMsqEEIviE3/VWuR0sxOiYeYz0vhOl3SAwm5KpMdVVw7Y3XHnI1Ie+F �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> N5kET/4ruL1T+hvgMA2+GQNdiY0qxdYlTrmVlDibK7Ln/VxSYttX6aloDwW/RzjSmGNEciADtW/d h/lvSHwRFwZle5qDo7vRBYlQnwtbrw== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-10.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������x4u6K6cVnc6RQIxqNm39ZrcjIV6jnOLmM/RahHygMuJdgcZ1DTaCgXhxKSKdgZisvGRz �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> xTG40KLdJF+PlvaOxbiZ6RR5pObbIzJWJNMk848oo6z0fZdAxK4FLKOqmpUZ48iX3M2Q5yMNgDp4 YDYoFk/BYaFOVWeIHoH1U+9V02zKag== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-11.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������V0vkO1Mk3RvrEEyHHweOtLD4AZ9Z1/iAF/UX5/F85L8H8DyP7zVb0CeUqt7QjnNO/c4e �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> 0tdI4g9eCHEWMMllBmJ455mS6VDUvho7YM2Wb3pECw3D7ItsAZWR+kMscogq3SW8jzF+YO1gr23c 7GnOzS2ABjOVhdPzJHUjQkuOirNzXw== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> nVNSw6nOexkAwiAEFpkjb2EZeImRejo2L2l4zj5u7N/5OS5KLw6QQ2jJpHExhNVB7infrIzJpd0L gyeDgmgJuw1xi9QGPQp20vIsiG+vkA== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-13.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������XtdTDCBy3whWeTKUZpNEGY3w2sjoIrdY9VglK0+YhglyX7HL9hYhijH2O3EpB9q2biA5 �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023556�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> ql3F6lzK8JTBj2E2gc+A3XWUhVflM6zeHM/InYgU5onZwfk3qDCzDglhqovdkLIZRxCH4N8b+s3X yi2nkA9s/Y/wvZt1LoXwdIGYcuYjng== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-14.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023511�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������mdYUIs7+3hyTKMFyTq7EVrRkvUdmyElMh6R/wSYE2zNqeyqec7T8SN3SJSaWdKrYD/bB �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> 3IWLf8kTBaAGQ7Nhu89z/ZEoWacr+nGAmD7nkfa0ejigx0btDfwfKJrGNfzseF3CSzp7PO7g04D7 p+putZrgVJKrwTHZ5WtakLgfcyc4gw== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-15.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������8sxYrv17qvGYWMEdsUTTCE08tfBy+jBTdfdgycSQZGBsjjHNo0UW7RboRLYoWgy8b7Jk �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes192/aes192-gcm-96-408-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> JMGkz2QZSuuI/p4Yb4rB5FqmzT6JneTKK+w1COdVlSPCaIuCMiyu54nrybRH7YyuLxT1/mtx7+3y zieOBJnphORGdd/n/ePdHjJ0oil/mQ== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/�������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017457�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023401�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> y1k0TSsGxK5XzQ6kZquTXJNVXnhrd1Y3o9hzOsu1ZNivqpnXyi4vkqk= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-02.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023502�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������W4cUEzXyvsrBpVngXw== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023546�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> xbYN2j8zOxFG6dp8Q69J7Brjc4ogdVA01m+Atu8tiDClXrY2gKjf+eA= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-03.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Kn4FYSGRyLzi9SncqQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023547�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> BWrpoaaeOK9gOST+MwE6SNnqDfKRHVgycVuPnMIjA+l5zRUkGH6fcP4= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> o153Qd12UKkTMMxR6AtulP1ybecDFmEVqo6lxvGYx3RUPnzVQoacJVY= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> 9cXh+RCUpWXadXIQVtHWwSzB3xM48ir2VOypusnxmdOie0gGAitzDJk= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> UwiNr5kaOQln3oiSquEtI9aYwAJdnpCfcfjFIPr0Xy6x73qkHJgj1EU= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> jFIILi6+H6q+uAxBNTNA4orIJJI9nRVPLNYyBCBRjWzbuB1jXZdewdI= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-08.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������5H1GAaplKNwQrpgp0A== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-08.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-8</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> 6VZ+WUwdFg1GNnqhKRc9lhpx0bzf2c0Y1zBYWBrgnLxst7rTobRZJvo= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000655�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> hccldo6ptbMgyYQq0lCO+TNsc/5s6Cv3CUsfNRG4cx6L2ZcSoxxW2VU= </CipherValue> </CipherData> </EncryptedData> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023402�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> xE0Ny9zdM8QUhb7xLjNmpmeIojXb1fqpaabKRCIIPQ/zu+mnAd12Bvs= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> TPWJKLtxjffrbhj6Hdc1PtzGgLXORrFqq/gMAmIRRGyotULfKsWqnAg= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-12.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023503�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������aX/lIOyR9VNnMuPvrQ== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023550�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> ONVYv1b59RA66JPJR/os4hw48kd0KYC2q6PmbLWqmcTmxX/vQESA0zg= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-13.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������V5GAvnzc0UQRf8RdnA== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> HKmSSMrbgY4NUIDwDhYcnKKTfN7tIE3P0/iyzoxBOGkWYq1Ug0m04xI= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> hmAjwCKNtZkaec+8lXhJyyXAGuApAkQJGv15k/aDghGewUbqNNPlheU= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-15.data������������������������������0000664�0000000�0000000�00000000025�15171727150�0023506�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ZElvV2weS8rRkqe5KA== �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-104-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000656�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> 8dWHX5aYIxO2OK+BgXJeT7oJwoJ3DoBdQW5clao4AJhxOdg3DTwLuVM= </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-01.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������d4m0HLPuVIgUygs4jBCzQw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023404�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> RzNg4K0kiJlZhYmV0seBEKx+jxB8DfBXC9fJDMJqN5ttmO8oUurYzoOoM6c= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-02.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������aXr/LWt35e1iMncOQAwerQ== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> 7+JlbYeMWG5BxTnE4N5kMCrC0EBI1lqH0q0J/jPL2NL7ijoD4wwesbU8HZk= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> g1CQrtlVLb3UUnfin2YH1o4izPIZKNsJhr4SbvMmF/Z8V0/Z9E73b/iAq58= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> FCTvbRWWfAVQnlDyhJL+nlNRDZbZwqoA5JZxEjNlbda4l2MxO0/QEF9QYxA= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-05.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������wKSWddCYcoo4gxAIvdxkow== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-05.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-5</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> Xa65Nl3pwydMc6PHjNOpHxZFZd1Ys2pQRJGBFUHsSzY49s9m79Rq3XPRRJg= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-06.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023511�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������JbMQ4UTbT02HS6d2aJAsPg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> 6IEF+efDXvvi9YmohCU/McuNL5e4X4PTRtB/RyeIZAun6+aXe8hLpRbEfmc= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> ZWynvSy4Krej1rJojZUw06xlkkDd2LdxVc/C92AAkk+yn30liIZjcbEx710= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-08.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������S/3ryv6SsJ3+xIBSNOsnKg== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-08.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-8</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> gSvv+Jj3hQvN13T52JrsURXOxie4/kjinp0cS8/fNk1OExy+GXWpBJlbSBQ= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000661�15171727150�0023414�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> 4GuSAjedi7N0rjnCvDq/kxsoFGz0OO7lW0kXYBTKfoNOf0Yb0/QditsyVc4= </CipherValue> </CipherData> </EncryptedData> �������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-10.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023504�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������1M8IkHSqgjgxVWMNRx8cbA== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> ueP4zEYX8RGvA4zVrsXs+XC4uZIxkykxVicYxOWzz8PK+9RJ/CsL2Zu+fcg= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-11.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xxx47rEdOl8nBwa5t+v70A== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-11.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> Zmwz2aZMpifVyzEGZYAjwAjkC/hNhWGeHYaXW1kwS8E0yAjjQsE7hPdZNgM= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> abqrOczRPstioANshwPT1Pvcp49R5FHxO3Zi+QWxXC8EG6rmG8Spmjx0YN0= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-13.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������6hO4/ZTD1V845AustzZ+tw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> FH6pZyAqD/ZI70X7MYbQiJfpJWZdKQEKYccdZ6ck8a2EsGNzSeWR9VOKrfg= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-14.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023510�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������YkavjDWBQhXMY+jXclc5hw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> lJSfZOIRLCSlFTsHLAOyA1XniVzY7GEweJvgUXzP0LGxQYOqZZSo+5t0iJ0= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-15.data������������������������������0000664�0000000�0000000�00000000031�15171727150�0023511�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������c3/O3b9ya3/3+/PmkipwHw== �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-128-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000662�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> NrK6k8ChUlXGTnfWOTIPZR18J/99GRa5vCgCa52ErQjjA/7JKVyUMF5Ba+s= </CipherValue> </CipherData> </EncryptedData> ������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-01.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023514�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������JUMVh+ns/8fDf41tUqm8MxBlHUb7DjutJybI8ttlN0k= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> yvq9lnLKbHmi+9wihOXyP5Vkj6JHyyju9Tq+yUfb8FrJU3NGGBEVg4QL2YB5ZRyHX3lBeT1Cu9Cv HM58 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-02.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023515�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ettcyBrcw7dWHQCXLDE77nS5AiyMA13jhvR2yO+hX2I= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-02.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023556�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-2</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> PJ5alStQCa/T3R6s67jCM0lqW933CCH7iRTsiqljPB/LwGeUj8LYLo++L7tVB0dm66BZ7uKvLbMA Kc9T </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-03.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023516�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������UJQr8ccWjlAjm8mLjYlCO+K/BCwrEMOiaVPb33h7tgM= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-03.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-3</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> TPOsnm3Eu1nqkCPAirD8tlgL+2AUjdDvqdY3Y68N2OdrvZnxGfiqqgDdRir/QNI+sZfdFs8MRDP3 EJqH </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> +gmdV73OxbJe4uINxwkAxWqu3yr3Rug005r37tU7hrHoMtn3K8817PgUQoJE0/N5ygxK+nGxR7yE 1JFD </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-05.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023520�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������z3/HvIGDCGWApQ54JboHSISeOYDVAeZo+x038FIlB6A= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-05.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-5</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> OX3m5aJku9Wd/i1cKSaCs+MXKh9hDGUBcGvpTqhjhnEkZVcS/D94gPZAATB2fl1Kh4ogBQfYMoH8 iaZx </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-06.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023521�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������MAUzOFhzBOC47RUXq6wCc4fQQ6D+nY6ljm7r0uEtv8g= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-06.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-6</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> yU/3PQqK+Z2Bl++DxCLFjSAF2Y6UcCgAfdUdOd5K9WM+ThLWdjHL3bNkEpp0P0EXfyZXTTWEfw0g CYc4 </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023414�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> i3OotoOROu366FrNlFICJ/OtIPhpc3DoWe9ZIe9b1fmr+35ypR0Er/i+eX8iDJc8pHBkelz17XKR Pz9o </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023415�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> brbdnGyfTGdpqbVA3G8oPrFChRvG3PNw4hcK68KIsr6L1aLUQXuJc2YgEPxA+zXXstXEVCRr7Gfv 1ZNd </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000706�15171727150�0023416�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> 0w/lFAhRT2Sp7QuwjjnVA3OvhCMoDA8ThygaYKGQ8zZuJrgI81nRxzsPmche4sEI2jI1KfxcfOSt WLia </CipherValue> </CipherData> </EncryptedData> ����������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> 4p+yHqvK4+46yRnuUcW5x8fG5GbXwTXIDZ1M65Kh/pLzBXOd/3jweFQsPkLpqxCno1l4UcXR261c Evpp </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> n/IuHNIzN1wgLR1YMQ1RRHupZqNPuDH9A9LVXzryW7I8pc6ByWxokvYFo5TwyGpMtPpgWPLqxbTi 8Je6 </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-12.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023516�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������USkLlZRnAIAWYaVEuBqGgW7gRzjOUb73VZs0+Qv5bYk= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> muDLuyYdRIIhhfpGWV5ytJezdIGBVlq311t43+yfqycfX5hU+TfG0BYMha4FLqIZlioOt3qxDllW Rf5w </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> yPF87v7YLryZg72EOiUsuPyAuJ9s1DjkYC18zdZBXyYiIT3gAvCDwjLgq/KgB/FhUTtm8dYH1Pjv 8+SZ </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-14.data������������������������������0000664�0000000�0000000�00000000055�15171727150�0023520�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������nXK0c+euh/GJcvy440BNdg+9MQEUe6QDbUXgdhRPnjQ= �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> XpboKIEMzAl/RriPOEMieGP5UNKk8DZqWKjNWjHRA651Hvq6NO9MxNsapCSGkBtrGYU/ltYBsfAo qPuy </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-256-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000707�15171727150�0023414�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> PA1zPJB8u57oSuB3Abvok0VwM3Hz/dDHNR19JH8Hp3nHNPUDExFSveT+YvsQQnb8Lu1uJK8Go0Yy WM+B </CipherValue> </CipherData> </EncryptedData> ���������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-01.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������1gLAa5R6vgbPaqLFwVYuKQYq1iINqbycJdZqYL2FqA1PvMH7SRm2VmvjWvmBmrqDa4tH �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-01.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-1</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-01.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-1</KeyName> </KeyInfo> <CipherData> <CipherValue> DjlkRmVVgoOPJ/cvsNJUq+Q721Y+rWaRksHlfpqFxR26DxyFAdHOkic/HOfhQNz6yUdX+rsSjKrR aRLOrQYH/9CwLJLb/Pvp1Y9/+eb1Bg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-02.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-2</KeyName> </KeyInfo> <CipherData> <CipherValue> L+aoFdSGUYH63l+sEWhELvZGVu9ld/tCwZGchKroVjiOTbmUW7jJuEErvmRYvEAERNXSvyYw+DRo 9m+eRueQt19hb9Gj1lY7YriZ5aflIg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-03.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-3</KeyName> </KeyInfo> <CipherData> <CipherValue> UYKD/JRJdKJVPm3dyIz0gkJpdlhrDz7cw92qsuyMyfQNGafKpw3jsvLMfglbedG5F/1St2l7rV3M bWaJk4xlWz69HzGLv4aQ0AoiM0YaGA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-04.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������bpwkwXKujoHmnnl6i9n43k5eQ8y97sWg0OwaezUnOE4GEpKQxfYfovkK6LA6lAKusLbO �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-04.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-4</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-04.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-4</KeyName> </KeyInfo> <CipherData> <CipherValue> p/Xds5uMYrULWowMDW3N8IIPVG1U9UdvSbvxz6+uO1x8sIdcgmdXZQhk+Z107kBzZR7tDbr1eJ0h HBvlV5hDMe/Gnarm9/AGf9bpab2SQA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-05.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������6ekRR6eF2v4DEo9efKYRIwTf+2arnrm7fukBVGEBGjRcaf+PpCjFXPAvp6iJlgpfMCPW �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-05.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-5</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-05.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-5</KeyName> </KeyInfo> <CipherData> <CipherValue> yW9iCqC4+oyZ0n01hkP3cNfHcGodoxlK+30woEMPOFRzxvag6Sy8L7iBf1Q5hcfqasQQVejaw1HL cOCYBpCcOHsUUZPL22W45x0xCjarvg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-06.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-6</KeyName> </KeyInfo> <CipherData> <CipherValue> Qc51yBYL4+Nb6cP8DvinOGOdf1xqfBmCM1SltVZuTGTac//lbygrSeACsDhGVnu7HiWUNfs1xoRA tEaB1KogTlDTMkkAVoazuNfiYAlQcg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-07.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023515�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������aBI/GtNfHgrNmYuNxV8BtzgmrfJUDvKs9ti7pEOc2sViq1AVd+pqtkxJrfrcwDe6I/rP �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-07.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-7</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-07.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-7</KeyName> </KeyInfo> <CipherData> <CipherValue> TmFYNrIEKUV3Us11CAx6hXqa9nYwYvJkf1h795xxlzH+pln7whJk6UXRg85Zeuc10NaNM73KV2L5 XdlgZpLU9T9bMb+KS2gmVvNesGCIOA== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-08.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023414�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-8</KeyName> </KeyInfo> <CipherData> <CipherValue> RAY3aF/u5gRUZXnUyZrVMamjd4PbhEJRmGhHGVjfTC4pkKYmfAQVk3nu2/usjYwmiTNIW9LL3UzX PCkjt70C+YL6OWAA8HVVIE+q4eNFiQ== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-09.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023517�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������spXpG4iM53LCqZpzmQL2zEcL4mw2huHUSDYzCU0LzfMmaW2mWs4H73zOR4Lz7rjxe08r �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-09.tmpl������������������������������0000664�0000000�0000000�00000000620�15171727150�0023564�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-9</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-09.xml�������������������������������0000664�0000000�0000000�00000000742�15171727150�0023415�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-9</KeyName> </KeyInfo> <CipherData> <CipherValue> hyQB1TjNPJXq0pQ9Ayee8tHgNmJO9+oxrkQ24pUwJ/CDrDWleMnGrrmnJHN1qyRwrEdsRmrAJwOq u1XynjySRS3O9AvITwsNDoGyAyD7rg== </CipherValue> </CipherData> </EncryptedData> ������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-10.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������pve0x9NbAJlmzW8vQMBEQgiJZ/HW510M0ubJVIdDVmp0PBo35obbB7CyTiRyU2wbPIR4 �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-10.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-10</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-10.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023406�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-10</KeyName> </KeyInfo> <CipherData> <CipherValue> Oc0qPA1ftBRZoGj7GQKqK8oXoGqxv1TX94dl4u2obO0J5/TRaj8/pouwH75AdtTDoQ6M2QxpqHiX j8RMJkq7168F676d2W2s4qOkwlZLBg== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-11.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023407�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-11</KeyName> </KeyInfo> <CipherData> <CipherValue> T9le0WNZsVeBYmrFr6AZ59f0ufY+LN2oI2u0qKqhMPEbVtmg06/snjDYoV4kgGENVikrLktLMovh goPtQCjSHcm6LGNv3Frf6cbNhy0myQ== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-12.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023511�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������O27oUasdgo/bLeNCeYCS6kvmuQ1O4VkE3mFX5WERcLvynNaZ75fOAnaGGsHIgKsCURiA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-12.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-12</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-12.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-12</KeyName> </KeyInfo> <CipherData> <CipherValue> cNlGorgzfyrgys9H/IqSkF1ep0gv3PGCyjsgHAqsblyNjK5LL0Nh2RKPmLieRvwaYdfYuvShCPIH R0vkv6/FcB7xt9GPTKiI6/iStSc1Ig== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-13.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023512�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Eg4saQaT5PdaaTpAg1+G84dsWeIJ4efAYyzIf/TmE0pa4V6/Tw4nt6MXhzbKesF7MfVK �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-13.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-13</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-13.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023411�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-13</KeyName> </KeyInfo> <CipherData> <CipherValue> 42C23EwtATuYhY+F/ShS3MLb071xOPhMdxvfn21nf9sU0GdIAbYTpP2O80+pl+lLNHZfetkOdDIK inDHRakqtv5vcAa7qn1f77NnFwW//w== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-14.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������I8mBJFarrcdgCGys88gFIIIzoTixHLCT4GKk29xTYp9Fy0vlG3dg5bs77qzNUCbBJ2Pi �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-14.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-14</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-14.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023412�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-14</KeyName> </KeyInfo> <CipherData> <CipherValue> B9oyh9h8d7qCaRMDcsA6duw3NJ/tK4hQ6Mh4ibRJNNrG8LZhyEA8YnAXCG+hA0XLzKAmtiR9Gjqq jMu7asMpNSBSPia5PD4L29SUyiuV3w== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-15.data������������������������������0000664�0000000�0000000�00000000105�15171727150�0023514�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������4+kb4tZRbnUewaZGni//ACrff0jryMSuHMtevV05rwXfIVyA1b0NGHaUSilS5bSjG4QA �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-15.tmpl������������������������������0000664�0000000�0000000�00000000621�15171727150�0023562�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-15</KeyName> </KeyInfo> <CipherData> <enc:CipherValue xmlns:enc="http://www.w3.org/2001/04/xmlenc#"/> </CipherData> </EncryptedData> ���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/aes256/aes256-gcm-96-408-0-128-15.xml�������������������������������0000664�0000000�0000000�00000000743�15171727150�0023413�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#"> <EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-15</KeyName> </KeyInfo> <CipherData> <CipherValue> oPbUa1dkOun0WFbfAjJUdG8KPgPttg4WCO/dSjgARQbXIC4HEC4Oq9pOfdldmbS16R/EpixHgDTo YX3xfJXpcP5wsng8U41J7ld/n+UDRw== </CipherValue> </CipherData> </EncryptedData> �����������������������������xmlsec-1.3.11/tests/nist-aesgcm/create-enc-test.xslt������������������������������������������������0000664�0000000�0000000�00000001067�15171727150�0022355�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:enc="http://www.w3.org/2001/04/xmlenc#"> <xsl:output method="xml" encoding="UTF-8" indent="yes"/> <!-- Identity template : copy all text nodes, elements and attributes --> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template> <!-- When matching CipherValue: do nothing --> <xsl:template match="enc:CipherValue"><enc:CipherValue/></xsl:template> </xsl:stylesheet> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/keys-aes128-gcm.xml�������������������������������������������������0000664�0000000�0000000�00000034365�15171727150�0021727�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Keys xmlns="http://www.aleksey.com/xmlsec/2002"> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">OHIYskbBqCV3SLVpgOUMlA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">KU3kY3IeNZhjiHyCBSSz1A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">KOrX/SF54NEqptXYjFjC3A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">fXtsmIE3uNRwxXv2dKCchw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">FpQCn8bIXa2HCf1FaOv5nA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">5G6xH6pcP2437lEFRFFECQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Z4hAq9cZ9ViOEDqc4YlWcA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">jc0EX1aFzwcvGpVx/ZM88Q==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">q0LAu3daWODFqoGy3D4iDQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Tj5zIv4Lrq7KKvpvEPwJpw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">xjEZroV9usKOH50lRYnCWA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">A8YHG9Y2NZYWHzSgOVZ/uw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">H/EcMvyDfZ8tCAmrZbUw4A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">PeKQSBtZzcSNMoyzrDnNlg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-104-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">YYWOwQRBknTuDiSHHN/0dA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">6YtyqYgahMprduD0Pmhkeg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">MyQGNs0yNhZfGlU7dz5yjg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">UWTfhW8enKwEp5uAjcW+OQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">sRkaZyzFVJazxyjWpn3grg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">yn256Xz6BWuA3NBPRiKGQA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">IGIJ5vLRayaNvsBZckMUBQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">vHIhh6Nymk0Ckvpz1EcWBQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">BjHJWVtct/n5SupJQBJfGQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ciu5n4Mh7rqmHdAIb9Y+Xg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Mn+fEiF+VPFLwLOBZqUH7A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">t9Lr8YdWK9S+8Mv+vdfN9A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">aVZxK3OSs1lRMvYGVhwL3w==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">s84sRt3zkFn2g87vBcCNOA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">I+z1bzyd3HbnIHhzgkMh+g==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-128-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">PPmIKwhQDAhKs48mwPPnMA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">v9QUpiEpWKYHoPXTq0hHHQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">w6oEAOo/UQf76KoBHhORsw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">CrdkYNGHC2yYk4O2FfOHag==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">8C8ENjIng9Np1VLw1jhUdA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">aTJGrDGMy6uMyFLNKEFbdQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">h2enqL6DN03HWwiRxP/+xw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">fTQGXKmYKmSwYDpsCAvPTw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">j3b+h8TOdq1/XlhYAw7mTg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">m4JZhwJVqkp+uw5f/s5Dlg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">oA6Od0lNphnpeKbQW/hkRA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">RA0jk8YLvtnoBHItHsrAfw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ihh34LweediKE2hKvCFlOQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">v/25SUErwf/Teai9XRxhjg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">KLUJfw8whgtYfVJoNlzXfQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-256-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">yPe8iDEhzLWsZ4pWdSNNFA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">88TAWMfwlloDKPDwEaEo4A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">k64RQFK3mF1AmjmkDfjH7g==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">LmcF/EhilnrzrqB4X22nWQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">w2v8Yq4rSWnb4jtzMuzP5A==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">oCt5B74sKl+MQBJ8J7YJzQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">08T5XuD/k/Z9/XxrZXhqcQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">olJvU1DELgdyBj7BVfHh1Q==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">1MZT/ZUYAOvpxKQ4BvKUzQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">2SWoD1hO3c5yPaXixtwiJQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">3LuVZdLwf5SpX3mCco9GJA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">g46OwdpL5gaAwvegPAUJdQ==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">xi9GShRs394bI5mb/CdxXA==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">OisqHyr9cxZI/GDC1HdUIg==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">GnfUMuo1VbVs5zUJ+Q5ORw==</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes128-gcm-96-408-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Yxk7bmba7bnVZmd8pNOxKQ==</AESKeyValue> </KeyValue> </KeyInfo> </Keys> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/keys-aes192-gcm.xml�������������������������������������������������0000664�0000000�0000000�00000035325�15171727150�0021725�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Keys xmlns="http://www.aleksey.com/xmlsec/2002"> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">aS3Tb5M2Er88xInWeiPhJNm2UyeOL/HH</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">h0kwLf3okmLttn025/V3ni1OtHMe1I8z</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">t6Ow+r1Oe1gClrfIg5pBOh9UQY3U3G/g</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">IRRc1sVcOPZH6DVuPR3RUhKKzWdVKQtl</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">j8LXHzL98VjNiY1QWgBUYrJNC432fYXb</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">RAhXmx/zzPO1pr4swbtYFvRE4i1OIrkt</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">5rtHh4FMCLqTBaA7yhXqK71JtrxISEVI</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">iHH6J8soQ1SvuCgxpjhP8gV7pk2Cyj5i</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">oDbAw0SEsN74a6x1ZgKI+Z0ZS292ECJ4</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">jv1q+Svq2Ng+wjrxDLA2LaflYIFQvFMb</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">QUjZLRnW8w0Vm/3DtWmJd1JL+o+I8lJG</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">eRjdjtaueLCJ+BynIfQaBt91niF/6bJB</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">nz8r0Kl//KlH2rCosqyZBNdT14wdRWIa</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">4g9LZ9avSFMtiVfwUw9yDwZubQLGw0Vj</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-104-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">UKJ5xr+nqR/dlPWQAb7EdmJY4fAEk5yH</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">enxbaoqatayuNKn25B8ZqXH5wzACPA8M</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">J5d1Hvbdgox5RClUP41pDp/mGBOawVEP</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">hDrg7yN2Nt+CsDB/uQZO4S/atamOg4vW</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">imJKDbDfIKd4IRAZNT7KhDKcJCnReNsG</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">+fbItjlL/c76QZc6IZ91Dsay2fKhzGu5</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">o2Kik7IJYFr0HF4YoQqiMtH4wJhwoIwR</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">36Eqf4nRl3S+7391z/erbMsu0lHGaxPt</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">aFb6bbBmPFlbX9uAJIF1mTAYgho/d/mp</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">OLyINWi7G8wFvPyCrYPx/bXyBsUnKQmP</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">rwz5NYL20DF7Om6EsBMN7/8suafhyWV9</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">bUbkX6Iew/Kfqm93Zq27gkqyJ72GHdAa</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">TAhmrWeT++Nv0l00bsaD2uxSrqhhOG9a</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">pgUXclF3mEXP7AG+U6y1upLg7gQkSiEG</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">S1eUyNmOCvx5AEJ/71jXVRulyHv/Qw2j</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-128-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">8hc8NzNh++JywZxuJJo/l2941M5I4ivv</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">fyb3dhMft3r96/wmkB4+7E8LgzMHQYur</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">yhpnr0ZRNh9smA+90iD9+PYuvDsqVc8B</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">/ChHR4+c0umhoN3xv4k8cXSO52uLXxc7</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">G5IzLDUFrH/cA7ZGT2vFPHZ49G0UOCI/</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ga8UDrkRl1Y8Kts1dZ5HF71SB4I++fHX</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">1H5AmU2tOWKmWXMA1JOl++M/S4KxuY0C</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">B3zu+a4r9Hm+zA2paOJpJfpFFK2fiNRr</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">zwvvLPINBLwg0lSa5ZdaKPniehOIMLGM</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">3Nc7K3s9NwYAkqu3vyo7w/PSsULbHPp1</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">vKO9/nURF7XycnjnQYgzXC73cWUHRzql</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">k1+CZPcTL1zi4v9B4awVnDKguFcBcvnx</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">1vMVvH71UhH/gd0fabAsG0l32KY7X+TQ</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">0ptc8BPHV5newNXVCYcGspxu+sk6u42x</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">8eODDN6XpoQZbqnaG5ADjr/Dl7SZZ0Kw</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-256-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">RzeQxfN8GgvKMDdiTz3GXOU6t2IB5sfg</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">EXxgfgG63La+BTQMqRuoAx8w198gbHDf</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">3g2TA40hnn+X/AsoiYS/z+SHis9Z8vWZ</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">wXx/UL3c9nB+pQP9eKgo9W1jeyUB9RBl</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Ixd4VEGSh2teGa2nn5wG+3atQfbkDZFy</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">0Iar6aeSPXTk6BgqCzk6F8UaMwZW1QIZ</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">cXEIGfUO3rjG8XlydCNYu3gusntuYKSY</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">avm+JwUUnWmVcy88ghd3zo5gyI1SEoxd</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Ls/02RuXlxu/Yuhe9fzTAyEoOGug36vk</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">/is4Wx4+OgtEK861jPHilylCGi0gYYBT</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">nuBl7jR/h0SMXi6+WPATp39ExfQUdMeY</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">P5LKJ1Frzd4g2nOLGH2BYRT7eFnmlmtf</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">iWgOAWEEa66eMD22DdN4ppdf2HDe4yWt</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">wZF3hCrINjEj/2V9Q5XSs3v9lHVbGfEA</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">YJcsO9VNsRVcPfOoaVnT3peZkqFYp3st</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes192-gcm-96-408-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">3Oy9RqRHKCzRYvqt6+0n+VjTDkNjtFw1</AESKeyValue> </KeyValue> </KeyInfo> </Keys> �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/nist-aesgcm/keys-aes256-gcm.xml�������������������������������������������������0000664�0000000�0000000�00000036645�15171727150�0021734�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Keys xmlns="http://www.aleksey.com/xmlsec/2002"> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">izfEuM9jRwSSAFmGatlsSenaUCxj/KSjp6Tc7HTLBhA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">px2sE3ejv11/sbXja+5w0uAd4qhKHBAJunRI9/JhMdw=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">3B9kaBAUviIbAHk7vPWlvGdblo63o6PVqll470+kXsw=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">DVkYWjScFEiYoXtvKXkh8AyPuRprV6XMmuQmroVq5ZU=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">u7OJBqFprWaeLSmKSGNaVXcP/RByxexjTOXSDHtA3tA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">St7gPib/YhrzQzfaKuvwSyeetov/+vLrpFR4ww3Ip9I=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">pffJYljGCx/KJf397SMd6XPKDtinvk4iOO08GG4z1Bg=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">+DrMK9l+vnFnkNICoxZ8+nOP9rRNYWLijz//mhenB6w=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">VNiLdGAMDdl9ioh7xaKGhiggM8PGqOXF6l7GPXQnQMY=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">hQ9j8KQF2zH/x7AUtHCbUiBPD63th57jd0oYWI7TFSA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">GUEaYfF723JLhrEP1jfA5nDnfefHJKAB8CIjRQCRxIE=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">s5QGHfc3lHph60+JGuSIsiqPQDIAOJ9HyykvHqm2lXw=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">H2+uhXmLe0piVTYB/9FB8+/cxwnWUcPuxH1cYOvNUvg=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">vqH/BzVlAFO9ouU00ZgaTIjpVh0tEj6fYM6ye6yeBL4=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-104-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">TZIn6COUCu+btWjrpQl9agaFduOzYOBBrv6MOmkVweg=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">TI6/4UROwbLVA8aYZlmvLJT6/pRfcsHoSGpaz+24oPg=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">OTTzY/2fdxNSxMegYGgu0DwoZCI6FXOzr5l+Krq9YKs=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">yZd2ji0U49OCWWZ6ZkkHned760VDWJdx5QaObNfNCxQ=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">8Fhx+m/O1tiPtosPLNiz/2KYkBw4eZvmvjPn1hk6GOY=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">D4kA2VWSwgecRHIEMh2L+eDdsIvVaNUb1QP9eBPbGT8=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">f8Zv2zzdqUajd18AEmjjXlMUPTG8W/i5WgB5GqWaJyw=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">F1nKwgJKPd1eVhylqbkcPE5kxyI4G9MPPyaFH68Wx+g=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ozqXz3iMELi/q1glzE1J591YbvoFObXMwL8LAF7FkoQ=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">melkl/In4emfejDzsX5iImXBVXX3wHWDMUL6idctPnc=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">11VU1Zd4JCvN8UsM7RQtGlMKO02u4cbzekTCr5lNU3s=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">EyeitKPSprVKeOVeuyE/CBkjOsE5xj8m4O7ohyN63WU=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">hNISqkURDtPoH2wEqAx+orOPPmbbX+YaCIQRzHd7Cqs=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">XfqFdLcMedOfowutuAlVygqoDEUelgpkt7rscRBSd9I=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">DigDsD7SK2RJyydhoP7YMWMp+UjWZEkDvKVdToyueWs=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-128-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">UVL5IzDeGOgWyDa2OGAu09WrysghZzx2tOukxXT+y8o=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">w9mYJfIYH0gIrNIGjqx0QaZb1CjxTSqrQ/78ASkJETk=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">XDvRmG08gHsMOs6BHmGNuuFpPwcUXygtR02qrgtqF3Q=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">yNBuZnYwILixThYWOWbE5cwgBOI8QgCnm6ODjVKWr5w=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ptpCr8xbhvmJkQ99J/KTYqTkoHq5twkNWCDL+X+vByk=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">SfrspIlc2iPSg71i0pPSeaWLdI61BQ1aA0MZXroEHhE=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">v+rlBy/7xeGRifMm/EpBi2y/GRQc9RBFUC3BPBy63cE=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">C4c3dFzsEGxDJ5pZirGi6kf2ikfgum33AMYtmJOQ5QA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">h0n3tQYPKdevgFi7yym/zB6sX8Zejty5IGC3fm4r5x0=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ripmKSrFlLIFlDu6f0F511gyswV34v0wLQ17yHTvQNw=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">f8YTldJZOSIqOi7xNGmA0Qjmxl15iM4/3KVcnxn5/OQ=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">VnE2GB9XFRCM1v1JNobxnp8lmdT/kv6i1mMWCX/DiV8=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">nSy4bZK3Jdo45xuCbL4cmQh9g4/sI39kGs2+qNpLgvU=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">ZOfPSBk/JP2SbhdMAswXH+JtyPg9Z3t/TcG0Fv2Fgn8=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">Rnegs6QtcxzRiXZg0MBkg4duHXcrV9pOaqalSINjIKM=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-256-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">qL+D+gCtrhEjHLnb4ujjLNw2FBjwtLjzM74KzH8UmYA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-1</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">RDPbX+BmlgvdTh1NQYtkHBS/zvnVdOKdzQmVNShQ8es=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-2</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">KK6RHuaFhy2QbeEtdpY1HfjvIjSnSpXvpOoVsyczj+A=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-3</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">OEMiA1OLUKBh/AOQQmMf2bAQdCVGvTmTTZzJxEwYwsc=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-4</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">+bcP0GVmi5/E7n4iLxxK4n4Kbje1UefV+1jupApZ+6M=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-5</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">JrYv4T2iiqZ6+aPlrZFRWRpw7sav/7J5Uy762gS78nI=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-6</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">9JGqPs9QuSrbkox2TJghPCgoOcKYy4doY0DYqa0vbDs=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-7</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">eF5CeuS0e/lAzYw0X5xPBaZOERaYB0j+PuJP/z074Q0=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-8</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">LvAQlyZFjAY14FZvRGTeEZWo8tjRRhuygnR9xnV5oTY=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-9</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">qHaX164bDez48ZSxB1PlnotF3rywq59Tr09YUIe5Mi0=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-10</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">+sa5X4zckXO9GQK51AtESxFtvefuiGJuq3i0LGzrIK8=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-11</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">LGvzPSeKqyVRUJotMZ5FmFCl0UEhTNhecQWxoRU2720=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-12</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">W3e6+NW/5HR+PMPW9A+YMNc6ZtOa/CSzm4vXB0WEfCQ=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-13</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">HrCLkJJo9K9Av7g/Gk6TkGUksTGLHSd+tEECB/7JKB0=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-14</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">eC7IbcISLw7oVcvAiucthhW+ftbCijmIQuARjMneSvA=</AESKeyValue> </KeyValue> </KeyInfo> <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> <KeyName>key-aes256-gcm-96-408-0-128-15</KeyName> <KeyValue> <AESKeyValue xmlns="http://www.aleksey.com/xmlsec/2002">CWYm3F47xAK8lSMOBuA9lmfIqhschIqXiuRg9xQ3Vp0=</AESKeyValue> </KeyValue> </KeyInfo> </Keys> �������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/openssl3.cnf��������������������������������������������������������������������0000664�0000000�0000000�00000001122�15171727150�0016472�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Use this in order to automatically load providers. openssl_conf = openssl_init # Comment out the next line to ignore configuration errors config_diagnostics = 1 [openssl_init] providers = provider_sect #engines = engine_section # List of providers to load [provider_sect] default = default_sect legacy = legacy_sect #null = null_sect [default_sect] activate = 1 [legacy_sect] activate = 1 [null_sect] activate = 1 # List of engines to load #[engine_section] # gost = gost_section #[gost_section] #engine_id = gost #dynamic_path = path to gost.so # default_algorithms = ALL #init = 1 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/oss-fuzz/�����������������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0016040�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/oss-fuzz/README.md��������������������������������������������������������������0000664�0000000�0000000�00000001736�15171727150�0017326�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Usually, software teams do functional testing (which is great) but not security testing of their code. For example: ``` func_add(int x, int y) { return x+y; } ``` may have a unit test like so: ``` ASSERT((func_add(4,5)==9)) ``` However, corner cases are usually not tested so that `x=INT_MAX; y=1` shows a problem in the implementation/desired output. Fuzz testing is routinely used to generate such corner cases and feed them to program APIs. oss-fuzz is one such fuzz testing framework that is fully automated and targeted at open-source software (oss) and supported by Google. An enrolled project is continually fuzzed and bug reports are sent to maintainers as and when they are generated. To enrol a new project into oss-fuzz, the codebase must contain test harnesses that make use of the libFuzzer API. This folder hosts oss-fuzz test harnesses for xmlsec that are picked up by oss-fuzz and built. The build script resides in the oss-fuzz repo under the `projects/xmlsec` folder. ����������������������������������xmlsec-1.3.11/tests/oss-fuzz/config/����������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017305�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/oss-fuzz/config/xmlsec_fuzzer.options�������������������������������������������0000664�0000000�0000000�00000000034�15171727150�0023617�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������[libfuzzer] dict = xml.dict ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/oss-fuzz/xmlsec_target.c��������������������������������������������������������0000664�0000000�0000000�00000001074�15171727150�0021047�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#include <xmlsec/buffer.h> #include <xmlsec/parser.h> void ignore (void* ctx, const char* msg, ...) { // Error handler to avoid spam of error messages from libxml parser. } int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { xmlSetGenericErrorFunc(NULL, &ignore); xmlSecBufferPtr buf = xmlSecBufferCreate(size); xmlSecBufferSetData(buf, data, size); xmlDocPtr doc = xmlSecParseMemory(xmlSecBufferGetData(buf), xmlSecBufferGetSize(buf), 0); if (doc != NULL) xmlFreeDoc(doc); xmlSecBufferDestroy(buf); return 0; } ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0020124�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/README.txt��������������������������������������������������0000664�0000000�0000000�00000016537�15171727150�0021636�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Sample XML Signatures Produced Using the Phaos XML Toolkit November 26, 2002 Contents of phaos-xmldsig-three =============================== signature-rsa-enveloped.xml --------------------------- Contains an RSA enveloped signature. signature-rsa-enveloping.xml ---------------------------- Contains an RSA enveloping signature. signature-rsa-detached.xml -------------------------- Contains an RSA detached signature. signature-dsa-enveloped.xml --------------------------- Contains a DSA enveloped signature. signature-dsa-enveloping.xml ---------------------------- Contains a DSA enveloping signature. signature-dsa-detached.xml -------------------------- Contains a DSA detached signature. signature-hmac-md5-c14n-enveloping.xml -------------------------------------- Contains an enveloping MD5 HMAC signature and uses XML Canonicalization as the canonicalization method. The HMAC secret is the ASCII encoding of the word "test". signature-hmac-sha1-exclusive-c14n-enveloped.xml ------------------------------------------------ Contains an enveloped SHA-1 HMAC signature and uses the Exclusive XML Canonicalization canonicalization method. The HMAC secret is the ASCII encoding of the word "test". signature-hmac-sha1-exclusive-c14n-comments-detached.xml -------------------------------------------------------- Contains a detached SHA-1 HMAC signature and uses the Exclusive XML Canonicalization With Comments canonicalization method. The HMAC secret is the ASCII encoding of the word "test". signature-hmac-sha1-40-c14n-comments-detached.xml ------------------------------------------------- Contains a detached 40-byte SHA-1 HMAC signature and uses the XML Canonicalization With Comments canonicalization method. The HMAC secret is the ASCII encoding of the word "test". signature-hmac-sha1-40-exclusive-c14n-comments-detached.xml ----------------------------------------------------------- Contains a detached 40 byte SHA-1 HMAC signature and uses the Exclusive XML Canonicalization With Comments canonicalization method. The HMAC secret is the ASCII encoding of the word "test". signature-dsa-detached-manifest.xml ----------------------------------- Contains a detached DSA signature with a manifest. signature-rsa-detached-manifest.xml ---------------------------------- Contains a detached RSA signature with a manifest. signature-rsa-detached-b64-transform.xml ---------------------------------------- Contains a detached RSA signature with a Base64 decode transform. signature-rsa-detached-xpath-transform.xml ------------------------------------------ Contains a detached RSA signature with an XPath transform. signature-rsa-xpath-transform-enveloped.xml ------------------------------------------ Contains an RSA signature with an XPath transform that produces the same result as the enveloped signature algorithm. signature-rsa-detached-xslt-transform.xml ------------------------------------------ Contains a detached RSA signature with an XSLT transformation. signature-rsa-detached-x509-data.xml ------------------------------------ Contains a detached RSA signature with several X509Data subelements. signature-rsa-detached-x509-data-subject-name.xml ------------------------------------ Contains a detached RSA signature with an X509SubjectName that references the subject name of the certificate stored in certs/rsa-client-cert.der. signature-rsa-detached-x509-data-issuer-serial.xml ------------------------------------ Contains a detached RSA signature with an X509IssuerSerial that references the issuer and serial number of the certificate stored in certs/rsa-client-cert.der. signature-rsa-detached-x509-data-ski.xml ------------------------------------ Contains a detached RSA signature with an X509SKI that references the Subject Key Identifier of the certificate stored in certs/rsa-client-cert.der. signature-rsa-detached-x509-data-client-cert.xml ------------------------------------ Contains a detached RSA signature with an X509Certificate that represents the certificate stored in certs/rsa-client-cert.der. signature-rsa-detached-x509-data-cert-chain.xml ------------------------------------ Contains a detached RSA signature with two X509Certificate elements that represent the certificates stored in certs/rsa-client-cert.der and certs/rsa-ca-cert.der. signature-rsa-detached-xslt-transform-retrieval-method.xml ------------------------------------ Contains a detached RSA signature with an XSLT transform and a KeyInfo element that refers to an external X.509 certificate. The certificate is located in certs/rsa-client-cert.der. signature-big.xml ----------------- Contains a larger detached RSA signature that contains a manifest and many references that test various transformation algorithms, URI reference syntax formats, etc. The KeyInfo contains a KeyName whose value is the subject name of the certificate stored in certs/rsa-client-cert.der. signature-rsa-detached-xslt-transform-bad-retrieval-method.xml --------------------------------------------------------------- Contains a detached RSA signature with an XSLT transform and a KeyInfo element that refers to an INCORRECT external X.509 certificate. (The correct X.509 certificate is located in certs/rsa-client-cert.der.) Verification should FAIL. signature-rsa-enveloped-bad-digest-val.xml ------------------------------------------ Contains an enveloped RSA signature that contains a reference with an INCORRECT digest value. Verification should FAIL. signature-rsa-enveloped-bad-sig.xml ----------------------------------- Contains an enveloped RSA signature that contains a reference that was added after the signature value was computed. Verification should FAIL. document.xml ------------ An XML document that is referenced by some of the signature examples. document-stylesheet.xml ----------------------- The same as document.xml with the addition of an xsl-stylesheet processing instruction. document.xsl ------------ An XSL stylesheet referenced by several of the signature examples and document-stylesheet.xml. document.b64 ------------ A Base64 encoded XML document. README.txt ---------- This file. Contents of phaos-xmldsig-three/certs ===================================== rsa-cert.der ------------ An RSA end entity certificate issued by the CA certificate contained in rsa-ca-cert.der. enc-rsa-key.der --------------- The RSA private key that matches rsa-cert.der, password-encrypted using the PKCS#8 format. The password is "test". dsa-cert.der ------------ An DSA end entity certificate issued by the CA certificate contained in dsa-ca-cert.der. enc-dsa-key.der --------------- The DSA private key that matches dsa-cert.der, password-encrypted using the PKCS#8 format. The password is "test". rsa-ca-cert.der --------------- An RSA self-signed CA certificate. dsa-ca-cert.der --------------- A DSA self-signed CA certificate. crl.der ------- A sample CRL that revokes rsa-cert.der. Joe Morgan Software Engineer Phaos Technology jmorgan@phaos.com http://www.phaos.com/ �����������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0021244�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/crl.der�����������������������������������������������0000664�0000000�0000000�00000000642�15171727150�0022522�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������000  *H �0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (RSA) 020429191928Z 120426191928Z0$0"BA 020429191928Z0 0 U 10/0 U-0U#03 QpZ8gނ00  *H ��@h^ECƷS:q [a}^X|4LpQm ?yzM w81Pr1A6%L*qrqX#STB-WKy=ilg����������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/dsa-ca-cert.der���������������������������������������0000664�0000000�0000000�00000001617�15171727150�0024030�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00K @0 *H80|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (DSA)0 020429190628Z 101231050000Z0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (DSA)00+*H80�Yjz6X:ԟO\zlƤ{_u?FF;wq?`; 9U<A5?]_ QDʳ߼HT=XwTQBHej/Ԏ}uGwB~:/�#϶ۉ0H^KnW L$DzJ-z3n]Zڏ%- |E?+I'3}<ASAW00@=:lI8ᬓ2/ <`ngҩ"ȀŸT0w}U�7 O1 K:yZȔ.�f ]5% TBSbٌyէꎌΪަсӨQkIHAx w;8Z"1@ee(z"b˨^0\0U00U�0U0tech@phaos.com0U WZFUړ0 *H8/�0,k8v$ف[ rDȥ3>ˋ ;FU�����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/dsa-cert.der������������������������������������������0000664�0000000�0000000�00000001623�15171727150�0023444�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00M0 *H80|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (DSA)0 020429191752Z 120426191752Z01 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10UTest Client (DSA)00+*H80�Yjz6X:ԟO\zlƤ{_u?FF;wq?`; 9U<A5?]_ QDʳ߼HT=XwTQBHej/Ԏ}uGwB~:/�#϶ۉ0H^KnW L$DzJ-z3n]Zڏ%- |E?+I'3}<ASAW00@=:lI8ᬓ2/ <`ngҩ"ȀŸT0w}U�$G KbZM+GcD�2q';F!+kL|xK;_LFl pkzQ Y "rMxPˊGh.8|a] V7�-[0Y0 U0�0U�0U0tech@phaos.com0Ul[\lAN~Z0 *H81�0.�{Β<7& vXAL�FʓWF7uHܱzxM�������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/enc-dsa-key.der���������������������������������������0000664�0000000�0000000�00000000566�15171727150�0024047�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0r0 *H  0�P6ƑԳ2q"IWI  d.:rFr?1;UC.4nzŮ]^4<Xn^2x� |DIde %C*-7FEkAʥѲ"'"۔ J"n^.)7,dVݣ\3[ʱ/VdYZ8XO0UO+Ѭ148$\|ԘGu7K)xEa?SL+/Yč 2bTv0�OQ&: +2.v,̿b;X������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/enc-rsa-key.der���������������������������������������0000664�0000000�0000000�00000001246�15171727150�0024061�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H  0{"�*RxWrů}ZD> A4~HC/J:<sn&ɂ#D奠27uj}Dm , \\jrǥQr˄on�( ZLBNl0G[4fY C;�8 3/~-s S6%chbU\B3{B7<:tSn˔!\ Z"g.}d`ߪX6hڔQkd!ZOA@mz4Z:jGen{ǎ:xʾ@eqt൪TN,bD-0t\B"j=~xm1%p|:�RW?�gO|fԥQ_,u Eت+@d ),1Z~*U{&~-2NǼ2*^mc4+ ˌ_'_\GX>Չj羐HRmz^*{MIdR!]QeB_vđ}ă?HF\HqҷD)1ĀHOᗋrg^=H`e >q);4Q\sapYOXZ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/hmackey.bin�������������������������������������������0000664�0000000�0000000�00000000004�15171727150�0023351�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������test����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/rsa-ca-cert.der���������������������������������������0000664�0000000�0000000�00000001322�15171727150�0024037�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0070  *H �0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (RSA)0 020429190524Z 101231050000Z0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (RSA)00  *H ��0�L#?`dnIP"d@<!˭\7洿> j.kΉEVJJS.w~b%wG@VB&8ef+D|g Y@j)In L#a47f.�^0\0U00U�0U0tech@phaos.com0U3 QpZ8gނ00  *H ��cEAMOB5!y2>a�.|usrꖽC{<%IS{PPg}2*w̜pow@ AI-kRQFaQw[Y,Iƪk��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/certs/rsa-cert.der������������������������������������������0000664�0000000�0000000�00000001324�15171727150�0023460�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������009BA0  *H �0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (RSA)0 020429191640Z 120426191640Z01 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10UTest Client (RSA)00  *H ��0��}/#ȏ!GM;bb.s[;MOd`܀1S- |Ÿه/ x=>&Z(j'ꌗSO/Lj1'OCk3,R6G!S2m�[0Y0 U0�0U�0U0tech@phaos.com0U TiTN Eo0  *H ��l*/$߫QPr }m6q!󋉭A3C_QE_{QQl, B}t:p!1`ˡ z[#*&/yɰaDWa/MM������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/document-stylesheet.xml�������������������������������������0000664�0000000�0000000�00000000350�15171727150�0024651�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml-stylesheet type="text/xsl" href="document.xsl"?> <player id="10012" bats="left" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> </player> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/document.b64������������������������������������������������0000664�0000000�0000000�00000000364�15171727150�0022262�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PHBsYXllciBpZD0iMTAwMTIiIGJhdHM9ImxlZnQiIHRocm93cz0icmlnaHQiPg0K CTwhLS0gSGVyZSdzIGEgY29tbWVudCAtLT4NCgk8bmFtZT5BbGZvbnNvIFNvcmlh bm88L25hbWU+DQoJPHBvc2l0aW9uPjJCPC9wb3NpdGlvbj4NCgk8dGVhbT5OZXcg WW9yayBZYW5rZWVzPC90ZWFtPg0KPC9wbGF5ZXI+DQo= ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/document.xml������������������������������������������������0000664�0000000�0000000�00000000260�15171727150�0022462�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player id="10012" bats="left" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> </player> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/document.xsl������������������������������������������������0000664�0000000�0000000�00000001463�15171727150�0022476�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict" > <xsl:strip-space elements="player name position team"/> <xsl:output method="xml" indent="no" encoding="iso-8859-1" /> <xsl:template match="player"> <html> <head> <title> <xsl:value-of select="name"/> </title> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="player/name"> <h1> <xsl:apply-templates/> </h1> </xsl:template> <xsl:template match="player/position"> <h2> <xsl:apply-templates/> </h2> </xsl:template> <xsl:template match="player/team"> <h3> <xsl:apply-templates/> </h3> </xsl:template> </xsl:stylesheet> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-big.xml�������������������������������������������0000664�0000000�0000000�00000012141�15171727150�0023405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-b64" URI="document.b64"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-xslt" URI="document-stylesheet.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:strip-space elements="player name position team"/> <xsl:output encoding="iso-8859-1" indent="no" method="xml"/> <xsl:template match="player"> <html> <head> <title> <xsl:value-of select="name"/> </title> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="player/name"> <h1> <xsl:apply-templates/> </h1> </xsl:template> <xsl:template match="player/position"> <h2> <xsl:apply-templates/> </h2> </xsl:template> <xsl:template match="player/team"> <h3> <xsl:apply-templates/> </h3> </xsl:template> </xsl:stylesheet></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>2HiTcKdfZ9O83wthUFP8ISRdRXQ=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-xpath" URI="document.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">@*</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>TReY52bmpNnv+3gET3YhgJXTImk=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest-0"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>Zk5dsGelTgg61hMSPfKYRRYZvr8=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-object-0" Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-0"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>BGhr3V/fMiTscUgZVMEMmeQvQpI=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-key-info" URI="#key-info"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>k08/9AdPEuZyBRJhHKyjH1px3IQ=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-key-name" URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath xmlns:ds="http://www.w3.org/2000/09/xmldsig#">ancestor-or-self::ds:KeyName</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>4ehoLl+KxYvqlwPGRaPcpxprLeA=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-xpointer-0" URI="#xpointer(id('reference-b64'))"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>CBCjDfHcpu7cWHr6zD0y/Y62fso=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-xpointer-1" URI="#xpointer(id('reference-object-0'))"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>RwemIyLY5WSPgXA3OZiZLhGCyTo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>EUqZ5jMNvD/dHHi90X//yL7r7t6WpyY0fChIAaUPPXsbDHeNgzfsDe8AZYYD6klroeYJRuHXHtY1PdB5b9+XfwO3oduznLYVN3bmeLMvdYMWlw4SGYtbvyNZtovgA8qcEAQ29sQ+aA9pvCQgSKpTJF8DuYv6fKlktZtPyYh7HRk=</dsig:SignatureValue><dsig:KeyInfo Id="key-info"><dsig:KeyName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:KeyName></dsig:KeyInfo><dsig:Object Id="object-0"><dsig:Manifest Id="manifest-0"><dsig:Reference Id="reference-raw-x509-cert" Type="http://www.w3.org/2000/09/xmldsig#rawX509Certificate" URI="certs/rsa-cert.der"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>RtIlTB3BmyCRFTr7sRtOyPni0Ig=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-rfc3161" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-dsa-detached.xml����������������������������������0000664�0000000�0000000�00000004500�15171727150�0025152�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><dsig:Reference URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>IEYfZwI0+/wn9rTbJdXaIVAvjJN1vvmDDbw4X4GY1Row9OMyiI7VqA==</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDjzCCA02gAwIBAgIDHoSBMAkGByqGSM44BAMwfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKERTQSkwHhcNMDIwNDI5MTkxNzUyWhcNMTIwNDI2MTkxNzUyWjCBgDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxGjAYBgNVBAMTEVRlc3QgQ2xpZW50IChEU0EpMIIBtjCCASsGByqGSM44BAEwggEeAoGBAOZZarV6NhtYOtSfFhbD9NFPXJec+3ps5Mak63uAvKVf6nU/GEZG8a7xyuwXOwV3ce2m3D+OvONg3BGdO7u3rAs5VfY84kE1rIo/XepfDa2vUUTKs9+8A8dIVD0X5lh3hFRR6UJIFJS9ZWov1I7N+n24iJ11qEd31kJ+vr46j+UvAhUAvSPQz7ak24nBo5gwSMfEXkvEblcCgYAJTKoCgSREekqtuZWcDy3e+RIQzwaTeoeZM26fFV2YFVqK2o+d/oPtJfEtFA2+4nz4EAjvRT/6K7kRSScT5DO8fZs8/0H2leX2U0FXzzDOMIL4zeRAPb4GOmz410mROOGskzKCLwo8YINuZ9Kp/4XX6cEikMiArNbFuFQwd31V8gOBhAACgYAktkcKG0v06OFikPa1Wk3j5Sun0/RH/WOaRADe9jJxJ/oYO0YPIRKMK5aXawfgTAi3fImSE3gI/AaCuuSrwfVL5TtfvqdMRqhsCYSWcGsF4Xq5q1HDCYK9WbgMIqzVck143VCWxsuKR/1omC7OOPy6fPJhlF2MxyCOEu1WN5gALaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBRsW9jwXGyEQfGGTp1+6fy5Alr2qDAJBgcqhkjOOAQDAzEAMC4CFQCLHnvOkvMdxjw3sSYgdljtiEGPTAIVALEZRsqT2ldGoOE3dUgY3LEWenhN</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>2000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>bFvY8FxshEHxhk6dfun8uQJa9qg=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-dsa-enveloped.xml���������������������������������0000664�0000000�0000000�00000005101�15171727150�0025370�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>Hmt1KjwoXdyyroB+KfcoUEaM5NcXhwB2CbIblJHwTxek1bF1ZMqvig==</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDjzCCA02gAwIBAgIDHoSBMAkGByqGSM44BAMwfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKERTQSkwHhcNMDIwNDI5MTkxNzUyWhcNMTIwNDI2MTkxNzUyWjCBgDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxGjAYBgNVBAMTEVRlc3QgQ2xpZW50IChEU0EpMIIBtjCCASsGByqGSM44BAEwggEeAoGBAOZZarV6NhtYOtSfFhbD9NFPXJec+3ps5Mak63uAvKVf6nU/GEZG8a7xyuwXOwV3ce2m3D+OvONg3BGdO7u3rAs5VfY84kE1rIo/XepfDa2vUUTKs9+8A8dIVD0X5lh3hFRR6UJIFJS9ZWov1I7N+n24iJ11qEd31kJ+vr46j+UvAhUAvSPQz7ak24nBo5gwSMfEXkvEblcCgYAJTKoCgSREekqtuZWcDy3e+RIQzwaTeoeZM26fFV2YFVqK2o+d/oPtJfEtFA2+4nz4EAjvRT/6K7kRSScT5DO8fZs8/0H2leX2U0FXzzDOMIL4zeRAPb4GOmz410mROOGskzKCLwo8YINuZ9Kp/4XX6cEikMiArNbFuFQwd31V8gOBhAACgYAktkcKG0v06OFikPa1Wk3j5Sun0/RH/WOaRADe9jJxJ/oYO0YPIRKMK5aXawfgTAi3fImSE3gI/AaCuuSrwfVL5TtfvqdMRqhsCYSWcGsF4Xq5q1HDCYK9WbgMIqzVck143VCWxsuKR/1omC7OOPy6fPJhlF2MxyCOEu1WN5gALaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBRsW9jwXGyEQfGGTp1+6fy5Alr2qDAJBgcqhkjOOAQDAzEAMC4CFQCLHnvOkvMdxjw3sSYgdljtiEGPTAIVALEZRsqT2ldGoOE3dUgY3LEWenhN</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>2000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>bFvY8FxshEHxhk6dfun8uQJa9qg=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature></player>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-dsa-enveloping.xml��������������������������������0000664�0000000�0000000�00000005171�15171727150�0025564�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#DSig.Object_FXUsJKYcZCtVFl80BxBacw22"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>rXdK89trp685VfNWmSyYrLGP+5Y=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>iqsxSGtOON/M37ZczTO5EZXQrNQSO0pIPQlLysCmfOLqAoHi2MBwvA==</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIDjzCCA02gAwIBAgIDHoSBMAkGByqGSM44BAMwfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKERTQSkwHhcNMDIwNDI5MTkxNzUyWhcNMTIwNDI2MTkxNzUyWjCBgDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxGjAYBgNVBAMTEVRlc3QgQ2xpZW50IChEU0EpMIIBtjCCASsGByqGSM44BAEwggEeAoGBAOZZarV6NhtYOtSfFhbD9NFPXJec+3ps5Mak63uAvKVf6nU/GEZG8a7xyuwXOwV3ce2m3D+OvONg3BGdO7u3rAs5VfY84kE1rIo/XepfDa2vUUTKs9+8A8dIVD0X5lh3hFRR6UJIFJS9ZWov1I7N+n24iJ11qEd31kJ+vr46j+UvAhUAvSPQz7ak24nBo5gwSMfEXkvEblcCgYAJTKoCgSREekqtuZWcDy3e+RIQzwaTeoeZM26fFV2YFVqK2o+d/oPtJfEtFA2+4nz4EAjvRT/6K7kRSScT5DO8fZs8/0H2leX2U0FXzzDOMIL4zeRAPb4GOmz410mROOGskzKCLwo8YINuZ9Kp/4XX6cEikMiArNbFuFQwd31V8gOBhAACgYAktkcKG0v06OFikPa1Wk3j5Sun0/RH/WOaRADe9jJxJ/oYO0YPIRKMK5aXawfgTAi3fImSE3gI/AaCuuSrwfVL5TtfvqdMRqhsCYSWcGsF4Xq5q1HDCYK9WbgMIqzVck143VCWxsuKR/1omC7OOPy6fPJhlF2MxyCOEu1WN5gALaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBRsW9jwXGyEQfGGTp1+6fy5Alr2qDAJBgcqhkjOOAQDAzEAMC4CFQCLHnvOkvMdxjw3sSYgdljtiEGPTAIVALEZRsqT2ldGoOE3dUgY3LEWenhN</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>2000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (DSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>bFvY8FxshEHxhk6dfun8uQJa9qg=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><dsig:Object Id="DSig.Object_FXUsJKYcZCtVFl80BxBacw22" MimeType="text/xml"><player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> </player></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-dsa-manifest.xml����������������������������������0000664�0000000�0000000�00000004020�15171727150�0025214�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>k0jMfEzvBG2Uh9H0MCqLn3OqkFVUwKIyl6VWlQbk91JzDgzMhtEyrg==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:DSAKeyValue><dsig:P>5llqtXo2G1g61J8WFsP00U9cl5z7emzkxqTre4C8pV/qdT8YRkbxrvHK7Bc7BXdx7abcP46842DcEZ07u7esCzlV9jziQTWsij9d6l8Nra9RRMqz37wDx0hUPRfmWHeEVFHpQkgUlL1lai/Ujs36fbiInXWoR3fWQn6+vjqP5S8=</dsig:P><dsig:Q>vSPQz7ak24nBo5gwSMfEXkvEblc=</dsig:Q><dsig:G>CUyqAoEkRHpKrbmVnA8t3vkSEM8Gk3qHmTNunxVdmBVaitqPnf6D7SXxLRQNvuJ8+BAI70U/+iu5EUknE+QzvH2bPP9B9pXl9lNBV88wzjCC+M3kQD2+Bjps+NdJkTjhrJMygi8KPGCDbmfSqf+F1+nBIpDIgKzWxbhUMHd9VfI=</dsig:G><dsig:Y>JLZHChtL9OjhYpD2tVpN4+Urp9P0R/1jmkQA3vYycSf6GDtGDyESjCuWl2sH4EwIt3yJkhN4CPwGgrrkq8H1S+U7X76nTEaobAmElnBrBeF6uatRwwmCvVm4DCKs1XJNeN1QlsbLikf9aJguzjj8unzyYZRdjMcgjhLtVjeYAC0=</dsig:Y><dsig:J>ATfG1k4XSpDlWczkblMTpUkvazbCh6NH0ImOzLyjXlhRpihqtb/HBaCGWs3JzAiafW75tk57/9+vj6drV/vl44l14K5piP7VnDSADNCkBq9gCN/wM3u8w7cb8gpgTqC68I2yHzVVh4umjOrrgg==</dsig:J></dsig:DSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-hmac-md5-c14n-enveloping.xml����������������������0000664�0000000�0000000�00000001621�15171727150�0027147�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-md5"/><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#object-paOGfpowMpVEz7RkFL6iWA22"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#md5"/><dsig:DigestValue>tQ7wVagV/v8GTSZnYYYw3g==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>BsR9wW+N76Dg+QYMpwN5kA==</dsig:SignatureValue><dsig:Object Id="object-paOGfpowMpVEz7RkFL6iWA22" MimeType="text/xml"><player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> </player></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-hmac-sha1-40-c14n-comments-detached.xml�����������0000664�0000000�0000000�00000001252�15171727150�0030755�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"><dsig:HMACOutputLength>80</dsig:HMACOutputLength></dsig:SignatureMethod><dsig:Reference URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>e/Cz41h/IJocTg==</dsig:SignatureValue></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-hmac-sha1-40-exclusive-c14n-comments-detached.xml�0000664�0000000�0000000�00000001241�15171727150�0032760�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"><dsig:HMACOutputLength>80</dsig:HMACOutputLength></dsig:SignatureMethod><dsig:Reference URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>iuQK6TvAjMciIw==</dsig:SignatureValue></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-comments-detached.xml����0000664�0000000�0000000�00000001146�15171727150�0032543�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><dsig:Reference URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>kF7hLqyaxP0KeS7N3VereUYo3XE=</dsig:SignatureValue></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-enveloped.xml������������0000664�0000000�0000000�00000001533�15171727150�0031140�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>KOKmDJ7emm1ESMBujg88B8g/Rd8=</dsig:SignatureValue></dsig:Signature></player>���������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-detached-b64-transform.xml��������������������0000664�0000000�0000000�00000002754�15171727150�0027603�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>9BGp06kfYkpbY8LXwb6YS+UJz5A=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>GbZsFzJ3pu+nmV22+gvH3DjUjw7uLQdCxr83GjtrNuBpnV3y6nqp1S5Tu7TQeRQjc7YUAXBwcq74ur4BBzqKVF3waB0zP99HH6u165g811s05lKLdw4WY3WdfA67mvDSbDCYvb6ENot7uQcEnDTyIrrsfekZTvqCX/bHwb7di34=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.b64"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>��������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-detached-xpath-transform.xml������������������0000664�0000000�0000000�00000003245�15171727150�0030330�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>8EQLOiDYEmJDGDVTgNAcWNxr2Hg=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>dVvxMcQMshKcCJuEaqPf4gK2yQdZrEEflYIWKZ5vZ5Hxm2q98sifPFdbEH4+juo0wTbu2fqbY4U9pOGWbkZRerOh/iCtDU+pNqwrzXvmPhRIb9Ncwo7sRuy70j4jewNFhyku0PKbKuVmikZugWr+u3nS2f6CTsEp1/JzF4bwLA4=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">@*</dsig:XPath></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>TReY52bmpNnv+3gET3YhgJXTImk=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������signature-rsa-detached-xslt-transform-bad-retrieval-method.xml��������������������������������������0000664�0000000�0000000�00000002176�15171727150�0034116�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/phaos-xmldsig-three��������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>fbye4Xm//RPUTsLd1dwJPo0gPZYX6gVYCEB/gz2348EARNk/nCCch1fFfpuqAGMKg4ayVC0yWkUyE5V4QB33jaGlh9wuNQSjxs6TIvFwSsT+0ioDgVgFv0gVeasbyNL4rFEHuAWL8QKwDT9L6b2wUvJC90DmpBs9GMR2jTZIWlM=</dsig:SignatureValue><dsig:KeyInfo><dsig:RetrievalMethod Type="http://www.w3.org/2000/09/xmldsig#rawX509Certificate" URI="certs/dsa-ca-cert.der"/></dsig:KeyInfo></dsig:Signature></player>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-detached-xslt-transform-retrieval-method.xml��0000664�0000000�0000000�00000004242�15171727150�0033445�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>afPdOzRB6PgYpVX2GECgTBf8P30=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ffXjlLiu+EuGKfMLhvhZb6m3ULwd1zJ7BBe48oHrGxGsEdQWLt18AyOYMFHlhRi0i2DPurR6jPJGKWhwD6uRM1c6Rb/eDlZ7FNeqI0Bzv8xA0QEZ1nLAVJBC4LAKZp3Ha+7hs+l9rKuCk9ZiSO1UDMppEd8zoTucqCiAKTOWMd8=</dsig:SignatureValue><dsig:KeyInfo><dsig:RetrievalMethod Type="http://www.w3.org/2000/09/xmldsig#rawX509Certificate" URI="certs/rsa-cert.der"/></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document-stylesheet.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:strip-space elements="player name position team"/> <xsl:output encoding="iso-8859-1" indent="no" method="xml"/> <xsl:template match="player"> <html> <head> <title> <xsl:value-of select="name"/> </title> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="player/name"> <h1> <xsl:apply-templates/> </h1> </xsl:template> <xsl:template match="player/position"> <h2> <xsl:apply-templates/> </h2> </xsl:template> <xsl:template match="player/team"> <h3> <xsl:apply-templates/> </h3> </xsl:template> </xsl:stylesheet></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>2HiTcKdfZ9O83wthUFP8ISRdRXQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-detached-xslt-transform.xml�������������������0000664�0000000�0000000�00000004546�15171727150�0030203�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>afPdOzRB6PgYpVX2GECgTBf8P30=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ffXjlLiu+EuGKfMLhvhZb6m3ULwd1zJ7BBe48oHrGxGsEdQWLt18AyOYMFHlhRi0i2DPurR6jPJGKWhwD6uRM1c6Rb/eDlZ7FNeqI0Bzv8xA0QEZ1nLAVJBC4LAKZp3Ha+7hs+l9rKuCk9ZiSO1UDMppEd8zoTucqCiAKTOWMd8=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document-stylesheet.xml"><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/TR/xhtml1/strict" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:strip-space elements="player name position team"/> <xsl:output encoding="iso-8859-1" indent="no" method="xml"/> <xsl:template match="player"> <html> <head> <title> <xsl:value-of select="name"/> </title> </head> <body> <xsl:apply-templates/> </body> </html> </xsl:template> <xsl:template match="player/name"> <h1> <xsl:apply-templates/> </h1> </xsl:template> <xsl:template match="player/position"> <h2> <xsl:apply-templates/> </h2> </xsl:template> <xsl:template match="player/team"> <h3> <xsl:apply-templates/> </h3> </xsl:template> </xsl:stylesheet></dsig:Transform><dsig:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>2HiTcKdfZ9O83wthUFP8ISRdRXQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-detached.xml����������������������������������0000664�0000000�0000000�00000004270�15171727150�0025174�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>clDfKMq12I9JQp01RSzDcBro/+H8rTgaD9kgUCgvA8dEF55EessFUP6RC+KHZoNSJVGcnSKJa6Rtdi3mwS7b3zBo4pExiMLHgyi1UMViklX+MC75oU6tSDs3PP8r6BKmZqj0FNcjOh7wgJzey8nyv8UrTnQniSvZK62JYKz73sY=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-enveloped-bad-digest-val.xml������������������0000664�0000000�0000000�00000004671�15171727150�0030202�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nM52V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>fbye4Xm//RPUTsLd1dwJPo0gPZYX6gVYCEB/gz2348EARNk/nCCch1fFfpuqAGMKg4ayVC0yWkUyE5V4QB33jaGlh9wuNQSjxs6TIvFwSsT+0ioDgVgFv0gVeasbyNL4rFEHuAWL8QKwDT9L6b2wUvJC90DmpBs9GMR2jTZIWlM=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature></player>�����������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-enveloped-bad-sig.xml�������������������������0000664�0000000�0000000�00000005116�15171727150�0026720�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="ref-EZnNy6QCskkDpv7kwcMl9w22" URI=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#md5"/></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>fbye4Xm//RPUTsLd1dwJPo0gPZYX6gVYCEB/gz2348EARNk/nCCch1fFfpuqAGMKg4ayVC0yWkUyE5V4QB33jaGlh9wuNQSjxs6TIvFwSsT+0ioDgVgFv0gVeasbyNL4rFEHuAWL8QKwDT9L6b2wUvJC90DmpBs9GMR2jTZIWlM=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature></player>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-enveloped.xml���������������������������������0000664�0000000�0000000�00000004671�15171727150�0025421�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>fbye4Xm//RPUTsLd1dwJPo0gPZYX6gVYCEB/gz2348EARNk/nCCch1fFfpuqAGMKg4ayVC0yWkUyE5V4QB33jaGlh9wuNQSjxs6TIvFwSsT+0ioDgVgFv0gVeasbyNL4rFEHuAWL8QKwDT9L6b2wUvJC90DmpBs9GMR2jTZIWlM=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature></player>�����������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-enveloping.xml��������������������������������0000664�0000000�0000000�00000004761�15171727150�0025606�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Type="http://www.w3.org/2000/09/xmldsig#Object" URI="#DSig.Object_oZgpbcerGtb0YWgPcBv8Fg22"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>OLdgv4vWS4DAsiZUr41BZgppB2Q=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>eiuD94jyedzuHvhICyQ8vkeHjyhiFf1dWQEikAaf+q2edJumgz2wECVA4g8v/97Sp8f5A/97ktVAknsRxmC7JHuwTzgaz9gKvqIbCpHZLAPxovI1wA8o+YzuH1lv4RtkMv3WYqwuGm3eisnEv464H9Sa2V6L0VUHNPk8MEwDUyo=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><dsig:Object Id="DSig.Object_oZgpbcerGtb0YWgPcBv8Fg22" MimeType="text/xml"><player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> </player></dsig:Object></dsig:Signature>���������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert-chain.xml�������������0000664�0000000�0000000�00000006474�15171727150�0030676�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509Certificate>MIICzjCCAjegAwIBAgIDAYagMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MDUyNFoXDTEwMTIzMTA1MDAwMFowfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKFJTQSkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALO5BLdMI/8/geNgk2SgbklQImTtQDwhkcutAlw35rS/84Y+Ct1qBi5r8c6JRVb/oEqQSs9TBczpLnd+D7xiqJ6/JcB3R9MDg/pAVoJCrCY4oZNlkJSasYWKZo77zSuUphNEfJEVZ4SMtwxZQLHFailJHm4L30zjI2E0N2YHyi7/AgMBAAGjXjBcMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAwfGADAZBgNVHREEEjAQgQ50ZWNoQHBoYW9zLmNvbTAdBgNVHQ4EFgQUMwlR0HC1hlo487v3Z47eghoDMMwwDQYJKoZIhvcNAQEEBQADgYEAY+elRel/6kG/o7xNmU9CrZM1EJMh3cHoedPOHt4yHP6crj6OYZMA+C7ifHX/wvGpcwZymMPqlr3cQ7B7/h88yCVJuANTe1BQtA6nZ4Cz6Bh9Mip3n8ycuXCDbxkUd0ALQYD6SS2+awVSHVGYRmFRd9vyW1nkg9EsScaqa7XG+6A=</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert.xml�������������������0000664�0000000�0000000�00000004513�15171727150�0027606�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest-x509-data-issuer-serial.xml����������0000664�0000000�0000000�00000003064�15171727150�0031440�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest-x509-data-ski.xml��������������������0000664�0000000�0000000�00000002617�15171727150�0027442�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest-x509-data-subject-name.xml�����������0000664�0000000�0000000�00000002725�15171727150�0031231�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-manifest.xml����������������������������������0000664�0000000�0000000�00000003147�15171727150�0025243�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-xpath-transform-enveloped.xml�����������������0000664�0000000�0000000�00000005204�15171727150�0030545�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<player bats="left" id="10012" throws="right"> <!-- Here's a comment --> <name>Alfonso Soriano</name> <position>2B</position> <team>New York Yankees</team> <dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference URI=""><dsig:Transforms><dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><dsig:XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">count(ancestor-or-self::dsig:Signature | here()/ancestor::dsig:Signature[1]) &gt; count(ancestor-or-self::dsig:Signature)</dsig:XPath></dsig:Transform></dsig:Transforms><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>nDF2V/bzRd0VE3EwShWtsBzTEDc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>eMfbu79eYzYilIOVlOw4r/PgJAJm4wdFhBnqxPf2OYtwtv/zHzbwvhfVQG90cYlWAdW7zaki1Om1LdPxgAb+urxb8e5gma3nxK+u/jPJ9ykQimqiOpBIpbGYOv/xFDS1XDu4LY4BITe+ZyyvUpYSFGv5X//eJ9rUyC8TJy8SNEk=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo></dsig:Signature></player>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/phaos-xmldsig-three/signature-rsa-~x509-data-crl.xml����������������������������0000664�0000000�0000000�00000010437�15171727150�0026025�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><dsig:Reference Id="reference-manifest" Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>NIYWGr1CiWC02cfck47Xf/UM9AA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>E3tz123wD0lO8VwhVEBfFTsD5gc0Bplx6YtVuDM0cUJDHb5F+DiuxGugGqIt+CKUklSO2kSD7YmDeTnT+bXbbX+wokGQhKib+GhHQbYW8rckvF9KJ7Z+U1uKKGW3NyKN281Q301XDQYKrSwBK+ns4+PmVpNMB8Rfqp6jWJkX1aE=</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509SubjectName>CN=Test Client (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509SubjectName><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=Test CA (RSA),OU=Engineering,O=Phaos Technology,L=New York,ST=New York,C=US</dsig:X509IssuerName><dsig:X509SerialNumber>1000001</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SKI>E+fKwQsT5lS3mWmBkalUTp0JRW8=</dsig:X509SKI><dsig:X509Certificate>MIIC0DCCAjmgAwIBAgIDD0JBMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MTY0MFoXDTEyMDQyNjE5MTY0MFowgYAxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRowGAYDVQQDExFUZXN0IENsaWVudCAoUlNBKTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZUCAwEAAaNbMFkwDAYDVR0TAQH/BAIwADAPBgNVHQ8BAf8EBQMDB9gAMBkGA1UdEQQSMBCBDnRlY2hAcGhhb3MuY29tMB0GA1UdDgQWBBQT58rBCxPmVLeZaYGRqVROnQlFbzANBgkqhkiG9w0BAQQFAAOBgQCxbCovFST25t+ryN1RipqozxJQcguKfeCwbfgBNobzcRvoW0kSIf7zi4mtQajDM0NfslFF51/dex5Rn64HmFFshSwSvQQMyf5Cfaqv2XQ60OXq6nAFG6WbHoge6RqfIez2MWDLoSB6plsjKtMmL3mcybBhROtX5GGuLx1NtfhNFQ==</dsig:X509Certificate><dsig:X509Certificate>MIICzjCCAjegAwIBAgIDAYagMA0GCSqGSIb3DQEBBAUAMHwxCzAJBgNVBAYTAlVTMREwDwYDVQQIEwhOZXcgWW9yazERMA8GA1UEBxMITmV3IFlvcmsxGTAXBgNVBAoTEFBoYW9zIFRlY2hub2xvZ3kxFDASBgNVBAsTC0VuZ2luZWVyaW5nMRYwFAYDVQQDEw1UZXN0IENBIChSU0EpMB4XDTAyMDQyOTE5MDUyNFoXDTEwMTIzMTA1MDAwMFowfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKFJTQSkwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALO5BLdMI/8/geNgk2SgbklQImTtQDwhkcutAlw35rS/84Y+Ct1qBi5r8c6JRVb/oEqQSs9TBczpLnd+D7xiqJ6/JcB3R9MDg/pAVoJCrCY4oZNlkJSasYWKZo77zSuUphNEfJEVZ4SMtwxZQLHFailJHm4L30zjI2E0N2YHyi7/AgMBAAGjXjBcMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAwfGADAZBgNVHREEEjAQgQ50ZWNoQHBoYW9zLmNvbTAdBgNVHQ4EFgQUMwlR0HC1hlo487v3Z47eghoDMMwwDQYJKoZIhvcNAQEEBQADgYEAY+elRel/6kG/o7xNmU9CrZM1EJMh3cHoedPOHt4yHP6crj6OYZMA+C7ifHX/wvGpcwZymMPqlr3cQ7B7/h88yCVJuANTe1BQtA6nZ4Cz6Bh9Mip3n8ycuXCDbxkUd0ALQYD6SS2+awVSHVGYRmFRd9vyW1nkg9EsScaqa7XG+6A=</dsig:X509Certificate><dsig:X509CRL>MIIBnjCCAQcCAQEwDQYJKoZIhvcNAQEEBQAwfDELMAkGA1UEBhMCVVMxETAPBgNVBAgTCE5ldyBZb3JrMREwDwYDVQQHEwhOZXcgWW9yazEZMBcGA1UEChMQUGhhb3MgVGVjaG5vbG9neTEUMBIGA1UECxMLRW5naW5lZXJpbmcxFjAUBgNVBAMTDVRlc3QgQ0EgKFJTQSkXDTAyMDQyOTE5MTkyOFoXDTEyMDQyNjE5MTkyOFowJDAiAgMPQkEXDTAyMDQyOTE5MTkyOFowDDAKBgNVHRUEAwoBAaAxMC8wDAYDVR0UBAUCAy3GwDAfBgNVHSMEGDAWgBQzCVHQcLWGWjjzu/dnjt6CGgMwzDANBgkqhkiG9w0BAQQFAAOBgQBAp2he5UWtQxjGt1M6cQnBtNFbG2EYfQOtXt0bWOl8vjRMcFFtCc0/eXr9TQ13F7E4E6mF6geHzjFQ/qYF5r5ytZCBusCD2DGem0HWNiWIj9FMKvhxcqCYE3FY1d79EMjbI9Du81NUFZgdQub0LbhXkEt53j1p7ff8bI1ng+vtFw==</dsig:X509CRL></dsig:X509Data></dsig:KeyInfo><dsig:Object><dsig:Manifest Id="manifest"><dsig:Reference Id="reference-0" URI="document.xml"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>5KcCsBlhsIP4iMmHcaU2dXJPU8k=</dsig:DigestValue></dsig:Reference><dsig:Reference Id="reference-1" URI="http://www.ietf.org/rfc/rfc3161.txt"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>eT5ZU9fkIwQ9b9XAYq+iIYnj0DQ=</dsig:DigestValue></dsig:Reference></dsig:Manifest></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/testDSig.sh���������������������������������������������������������������������0000775�0000000�0000000�00000346556�15171727150�0016350�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # This script needs to be called from testrun.sh script # # ensure this script is called from testrun.sh if [ -z "$xmlsec_app" -o -z "$xmlsec_params" ]; then echo "This script needs to be called from testrun.sh script" exit 1 fi # Setup URL to files mapping for offline testing, if tests are run against online # then some tests might fail. if [ -z "$XMLSEC_TEST_ONLINE" ]; then url_map_xml_stylesheet_2005="--url-map:http://www.w3.org/TR/xml-stylesheet $topfolder/external-data/xml-stylesheet-2005" url_map_xml_stylesheet_b64_2005="--url-map:http://www.w3.org/Signature/2002/04/xml-stylesheet.b64 $topfolder/external-data/xml-stylesheet-2005.b64" url_map_xml_stylesheet_2018="--url-map:http://www.w3.org/TR/xml-stylesheet $topfolder/external-data/xml-stylesheet-2018" url_map_rfc3161="--url-map:http://www.ietf.org/rfc/rfc3161.txt $topfolder/external-data/rfc3161.txt" else url_map_xml_stylesheet_2005="" url_map_xml_stylesheet_b64_2005="" url_map_xml_stylesheet_2018="" url_map_rfc3161="" fi ########################################################################## ########################################################################## ########################################################################## if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- testDSig started for xmlsec-$crypto library ($timestamp)" fi echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- log file is $logfile" fi echo "--- testDSig started for xmlsec-$crypto library ($timestamp)" >> $logfile echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $logfile echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" >> $logfile ########################################################################## ########################################################################## ########################################################################## # # DSig test function # execDSigTest() { execDSigTestWithCryptoConfig "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "" } execDSigTestWithCryptoConfig() { expected_res="$1" folder="$2" filename="$3" req_transforms="$4" req_key_data="$5" params1="$6" params2="$7" params3="$8" crypto_config="$9" failures=0 if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" != "$filename" ]; then return fi # prepare setupTest # check params if [ "z$expected_res" != "z$res_success" -a "z$expected_res" != "z$res_fail" ] ; then echo " Bad parameter: expected_res=$expected_res" tearDownTest return fi if [ "z$crypto_config" = "z" ] ; then crypto_config="$default_crypto_config" fi # starting test if [ -n "$folder" ] ; then cd $topfolder/$folder full_file=$filename echo "Test: $folder/$filename $extra_message" echo "Test: $folder/$filename in folder " `pwd` " $extra_message -- expected $expected_res" > $curlogfile else full_file=$topfolder/$filename echo "Test: $filename $extra_message" echo "Test: $folder/$filename $extra_message -- $expected_res" > $curlogfile fi extra_message="" # check transforms if [ -n "$req_transforms" ] ; then printf " Checking required transforms " echo "$extra_vars $xmlsec_app check-transforms --crypto-config $crypto_config $xmlsec_params $req_transforms" >> $curlogfile $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms >> $curlogfile 2>> $curlogfile printCheckStatus $? res=$? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # check key data if [ -n "$req_key_data" ] ; then printf " Checking required key data " echo "$extra_vars $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data" >> $curlogfile $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data >> $curlogfile 2>> $curlogfile printCheckStatus $? res=$? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # run tests xml_verification_failed="no" if [ -n "$params1" ] ; then printf " Verify existing signature " echo "$extra_vars $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --crypto-config $crypto_config $params1 $full_file.xml" >> $curlogfile $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --crypto-config $crypto_config $params1 $full_file.xml >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then xml_verification_failed="yes" failures=`expr $failures + 1` fi fi if [ -n "$params2" -a -z "$PERF_TEST" ] ; then printf " Create new signature " echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params2 --output $tmpfile $full_file.tmpl" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params2 --output $tmpfile $full_file.tmpl >> $curlogfile 2>> $curlogfile printRes $res_success $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # update existing signature if verification failed if [ "z$XMLSEC_TEST_UPDATE_XML_ON_FAILURE" = "zyes" -a "z$xml_verification_failed" = "zyes" ] ; then printf " Update existing signature " echo "cp $tmpfile $full_file.xml" >> $curlogfile 2>> $curlogfile cp $tmpfile $full_file.xml printRes $res_success $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ -n "$params3" -a -z "$PERF_TEST" ] ; then printf " Verify new signature " echo "$extra_vars $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --crypto-config $crypto_config $params3 $tmpfile" >> $curlogfile $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --crypto-config $crypto_config $params3 $tmpfile >> $curlogfile 2>> $curlogfile printRes $res_success $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # save logs cat $curlogfile >> $logfile if [ $failures -ne 0 ] ; then cat $curlogfile >> $failedlogfile fi # cleanup tearDownTest } execDSigPrintXmlDebugTest() { folder="$1" filename="$2" req_transforms="$3" req_key_data="$4" params1="$5" crypto_config="$6" failures=0 test_name="$filename (with --print-xml-debug)" if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" != "$test_name" ]; then return fi # prepare setupTest if [ "z$crypto_config" = "z" ] ; then crypto_config="$default_crypto_config" fi # starting test if [ -n "$folder" ] ; then cd $topfolder/$folder full_file=$filename echo "Test: $folder/$test_name $extra_message" echo "Test: $folder/$test_name in folder " `pwd` " $extra_message -- expected $res_success" > $curlogfile else full_file=$topfolder/$filename echo "Test: $test_name $extra_message" echo "Test: $test_name $extra_message -- $res_success" > $curlogfile fi extra_message="" # check transforms if [ -n "$req_transforms" ] ; then printf " Checking required transforms " echo "$extra_vars $xmlsec_app check-transforms --crypto-config $crypto_config $xmlsec_params $req_transforms" >> $curlogfile $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # check key data if [ -n "$req_key_data" ] ; then printf " Checking required key data " echo "$extra_vars $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data" >> $curlogfile $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # run test rm -f $tmpfile $tmpfile.2 if [ -n "$params1" ] ; then printf " Verify with --print-xml-debug " echo "$extra_vars $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --print-xml-debug --crypto-config $crypto_config $params1 $full_file.xml > $tmpfile.2" >> $curlogfile $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params --print-xml-debug --crypto-config $crypto_config $params1 $full_file.xml > $tmpfile.2 2>> $curlogfile res=$? printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi fi # check xmllint availability for --print-xml-debug test if command -v xmllint >/dev/null 2>&1 ; then printf " Verify --print-xml-debug output with xmllint " echo "xmllint --noout $tmpfile.2" >> $curlogfile xmllint --noout $tmpfile.2 >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then failures=`expr $failures + 1` cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi else printf " Checking for xmllint availability " echo "Skipping test: xmllint is not available" >> $curlogfile printCheckStatus 1 cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi # save logs cat $curlogfile >> $logfile # cleanup tearDownTest } ########################################################################## ########################################################################## ########################################################################## echo "--------- Positive Testing ----------" ########################################################################## # # xmldsig11-interop-2011 (https://www.w3.org/TR/2012/NOTE-xmldsig-core1-interop-20121113/) # ########################################################################## # HMAC # None of the tests include KeyInfo so we use "--lax-key-search" for *any* hmac key execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha1-truncated40" \ "c14n sha1 hmac-sha1" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin --hmac-min-out-len 40" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha1-truncated160" \ "c14n sha1 hmac-sha1" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha224" \ "c14n sha1 hmac-sha224" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha224" \ "c14n sha1 hmac-sha224" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha256" \ "c14n sha1 hmac-sha256" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha384" \ "c14n sha1 hmac-sha384" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-hmac-sha512" \ "c14n sha1 hmac-sha512" \ "" \ "--lax-key-search --hmackey keys/hmackey.bin" # ECDSA # Diabled tests with PublicKey X,Y components (RFC4050, not part XMLDSig 1.1 spec): # signature-enveloping-p256_sha1_4050.xml # signature-enveloping-p256_sha512_4050.xml # signature-enveloping-p384_sha384_4050.xml # signature-enveloping-p521_sha256_4050.xml # signature-enveloping-p256_sha256_4050.xml # signature-enveloping-p384_sha1_4050.xml # signature-enveloping-p384_sha512_4050.xml # signature-enveloping-p521_sha384_4050.xml # signature-enveloping-p256_sha384_4050.xml # signature-enveloping-p384_sha256_4050.xml # signature-enveloping-p521_sha1_4050.xml # signature-enveloping-p521_sha512_4050.xml execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p256_sha1" \ "c14n sha1 ecdsa-sha1" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p256 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p256_sha224" \ "c14n sha1 ecdsa-sha224" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p256 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p256_sha256" \ "c14n sha1 ecdsa-sha256" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p256 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p256_sha384" \ "c14n sha1 ecdsa-sha384" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p256 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p256_sha512" \ "c14n sha1 ecdsa-sha512" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p256 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p384_sha1" \ "c14n sha1 ecdsa-sha1" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p384 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p384_sha224" \ "c14n sha1 ecdsa-sha224" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p384 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p384_sha256" \ "c14n sha1 ecdsa-sha256" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p384 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p384_sha384" \ "c14n sha1 ecdsa-sha384" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p384 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p384_sha512" \ "c14n sha1 ecdsa-sha512" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:key-p384 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p521_sha1" \ "c14n sha1 ecdsa-sha1" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p521_sha224" \ "c14n sha1 ecdsa-sha224" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p521_sha256" \ "c14n sha1 ecdsa-sha256" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p521_sha384" \ "c14n sha1 ecdsa-sha384" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-p521_sha512" \ "c14n sha1 ecdsa-sha512" \ "key-value ec" \ "--enabled-key-data key-value,ec" \ "--enabled-key-data key-name,key-value,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,ec" # RSA execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-rsa-sha224" \ "c14n sha1 rsa-sha224" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-rsa-sha256" \ "c14n sha1 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-rsa_sha384" \ "c14n sha1 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-rsa_sha512" \ "c14n sha1 rsa-sha512" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-sha224-rsa_sha256" \ "c14n sha224 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-sha256-rsa-sha256" \ "c14n sha256 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-sha384-rsa_sha256" \ "c14n sha384 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-sha512-rsa_sha256" \ "c14n sha512 rsa-sha256" \ "rsa" \ "--enabled-key-data key-value,rsa" # KeyInfoReference execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-keyinforeference-rsa" \ "c14n sha256 rsa-sha256" \ "key-info-reference key-name key-value rsa" \ "--enabled-key-data key-info-reference,key-name,key-value,rsa" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data key-info-reference,key-name,rsa $pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" # DEREncodedKeyValue execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-derencoded-rsa" \ "c14n sha256 rsa-sha256" \ "der-encoded-key-value rsa" \ "--enabled-key-data der-encoded-key-value,rsa" \ "--enabled-key-data der-encoded-key-value,key-name,rsa $priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,rsa" execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-derencoded-ec" \ "c14n sha256 ecdsa-sha256" \ "der-encoded-key-value ec" \ "--enabled-key-data der-encoded-key-value,ec" \ "--enabled-key-data der-encoded-key-value,key-name,ec $priv_key_option:secp256r1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,ec" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha1-dsa1024-der-encoded-key-value" \ "sha1 dsa-sha1" \ "der-encoded-key-value dsa" \ "--enabled-key-data der-encoded-key-value,dsa" \ "--enabled-key-data der-encoded-key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,dsa" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-dsa2048-der-encoded-key-value" \ "sha256 dsa-sha256" \ "der-encoded-key-value dsa" \ "--enabled-key-data der-encoded-key-value,dsa" \ "--enabled-key-data der-encoded-key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-2048 $topfolder/keys/dsa/dsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,dsa" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-der-encoded-key-value" \ "sha256 rsa-sha256" \ "der-encoded-key-value rsa" \ "--enabled-key-data der-encoded-key-value,rsa" \ "--enabled-key-data der-encoded-key-value,key-name,rsa $priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,rsa" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa4096-der-encoded-key-value" \ "sha256 rsa-sha256" \ "der-encoded-key-value rsa" \ "--enabled-key-data der-encoded-key-value,rsa" \ "--enabled-key-data der-encoded-key-value,key-name,rsa $priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,rsa" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-retrieval-method-rsa-key-value" \ "sha256 rsa-sha256" \ "retrieval-method rsa" \ "--enabled-key-data retrieval-method,key-name,rsa" \ "--enabled-key-data retrieval-method,key-name,rsa $priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data retrieval-method,key-name,rsa" extra_message="Negative test: RSA is disabled, should fail" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-retrieval-method-rsa-key-value" \ "sha256 rsa-sha256" \ "retrieval-method rsa" \ "--enabled-key-data retrieval-method,key-name" extra_message="Negative test: KeyValue (including RSA is disabled by default), should fail" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-retrieval-method-rsa-key-value" \ "sha256 rsa-sha256" \ "retrieval-method rsa" \ " " execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-retrieval-method-x509-data" \ "sha256 rsa-sha256" \ "retrieval-method x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data retrieval-method,key-name,x509" \ "--enabled-key-data key-name $priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data retrieval-method,key-name,x509" extra_message="Negative test: cert is not trusted, should fail" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa2048-retrieval-method-x509-data" \ "sha256 rsa-sha256" \ "retrieval-method x509" \ "--enabled-key-data retrieval-method,key-name,x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-ec-prime256v1-der-encoded-key-value" \ "sha256 ecdsa-sha256" \ "der-encoded-key-value ec" \ "--enabled-key-data der-encoded-key-value,ec" \ "--enabled-key-data der-encoded-key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,ec" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha384-ec-prime384v1-der-encoded-key-value" \ "sha384 ecdsa-sha384" \ "der-encoded-key-value ec" \ "--enabled-key-data der-encoded-key-value,ec" \ "--enabled-key-data der-encoded-key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime384v1 $topfolder/keys/ec/ec-prime384v1-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,ec" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-ec-prime521v1-der-encoded-key-value" \ "sha512 ecdsa-sha512" \ "der-encoded-key-value ec" \ "--enabled-key-data der-encoded-key-value,ec" \ "--enabled-key-data der-encoded-key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,ec" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-eddsa-ed25519-der-encoded-key-value" \ "sha256 eddsa-ed25519" \ "der-encoded-key-value eddsa" \ "--enabled-key-data der-encoded-key-value,eddsa" \ "--enabled-key-data der-encoded-key-value,key-name,eddsa $eddsa_priv_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-key.$eddsa_priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,eddsa" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-eddsa-ed448-der-encoded-key-value" \ "sha256 eddsa-ed448" \ "der-encoded-key-value eddsa" \ "--enabled-key-data der-encoded-key-value,eddsa" \ "--enabled-key-data der-encoded-key-value,key-name,eddsa $eddsa_priv_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-key.$eddsa_priv_key_format --pwd secret123" \ "--enabled-key-data der-encoded-key-value,eddsa" if [ "z$xmlsec_feature_x509_data_lookup" = "zyes" ] ; then execDSigTest $res_success \ "xmldsig11-interop-2012" \ "signature-enveloping-x509digest-rsa" \ "c14n sha256 rsa-sha256" \ "x509" \ "--enabled-key-data x509 --pubkey-cert-der ./keys/rsa-key.crt" \ "--enabled-key-data x509 --pkcs12 $topfolder/keys/rsa/rsa-4096-key.p12 --pwd secret123" \ "--enabled-key-data x509 --pubkey-cert-der $topfolder/keys/rsa/rsa-4096-cert.der" fi ########################################################################## # # xmldsig2ed-tests # # http://www.w3.org/TR/xmldsig2ed-tests/ # # No KeyInfo so use --lax-key-search option # ########################################################################## execDSigTest $res_success \ "xmldsig2ed-tests" \ "defCan-1" \ "c14n11 sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "defCan-2" \ "c14n11 xslt xpath sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" # # differences in XSLT transform output, tbd # # execDSigTest $res_success \ # "xmldsig2ed-tests" \ # "defCan-3" \ # "c14n11 xslt xpath sha1 hmac-sha1" \ # "hmac" \ # "--hmackey $topfolder/keys/hmackey.bin" \ # "--hmackey $topfolder/keys/hmackey.bin" \ # "--hmackey $topfolder/keys/hmackey.bin" # execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-1-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-2-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-3-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-4-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-5-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "xmldsig2ed-tests" \ "xpointer-6-SUN" \ "c14n11 xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" ########################################################################## # # aleksey-xmldsig-01 # ########################################################################## # These tests verify certificates lookup, keys lookup is tested in XMLEnc.sh if [ "z$xmlsec_feature_x509_data_lookup" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-issuerserial" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-ski" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha1" \ "sha1 rsa-sha1" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha224" \ "sha224 rsa-sha224" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha256" \ "sha256 rsa-sha256" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha384" \ "sha384 rsa-sha384" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha512" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" fi if [ "z$xmlsec_feature_nssdb_lookup" = "zyes" ] ; then extra_message="Signature cert lookup in NSS DB" execDSigTestWithCryptoConfig $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "--insecure" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$topfolder/keys/nssdb" extra_message="Signature cert lookup in NSS DB" execDSigTestWithCryptoConfig $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-issuerserial" \ "sha512 rsa-sha512" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "--insecure" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$topfolder/keys/nssdb" fi if [ "z$xmlsec_feature_x509_data_lookup_digest" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-digest-sha1" \ "sha1 rsa-sha1" \ "rsa x509" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "--lax-key-search $priv_key_option $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/signature-two-keynames" \ "sha1 rsa-sha1" \ "rsa x509" \ "$pub_key_option:key2 $topfolder/keys/rsa/rsa-2048-pubkey$rsa_pub_key_suffix.$pub_key_format $url_map_xml_stylesheet_2018" \ "$priv_key_option:key2 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2018" \ "$pub_key_option:key2 $topfolder/keys/rsa/rsa-2048-pubkey$rsa_pub_key_suffix.$pub_key_format $url_map_xml_stylesheet_2018" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-dsa-x509chain" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-x509chain" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-md5-hmac-md5" \ "md5 hmac-md5" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-md5-hmac-md5-64" \ "md5 hmac-md5" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-ripemd160-hmac-ripemd160" \ "ripemd160 hmac-ripemd160" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-ripemd160-hmac-ripemd160-64" \ "ripemd160 hmac-ripemd160" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/xpointer-hmac" \ "xpointer sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha1-hmac-sha1" \ "sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha1-hmac-sha1-64" \ "sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha224-hmac-sha224" \ "sha224 hmac-sha224" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha224-hmac-sha224-64" \ "sha224 hmac-sha224" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-hmac-sha256" \ "sha256 hmac-sha256" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-hmac-sha256-64" \ "sha256 hmac-sha256" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha384-hmac-sha384" \ "sha384 hmac-sha384" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha384-hmac-sha384-64" \ "sha384 hmac-sha384" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-hmac-sha512" \ "sha512 hmac-sha512" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-hmac-sha512-64" \ "sha512 hmac-sha512" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-md5-rsa-md5" \ "md5 rsa-md5" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-ripemd160-rsa-ripemd160" \ "ripemd160 rsa-ripemd160" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha224-rsa-sha224" \ "sha224 rsa-sha224" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-rsa-sha256" \ "sha256 rsa-sha256" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "aleksey-xmldsig-01" \ "enveloping-sha256-rsa-sha256-relationship" \ "sha256 rsa-sha256 relationship" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha384-rsa-sha384" \ "sha384 rsa-sha384" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-rsa-sha512" \ "sha512 rsa-sha512" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha224-rsa-pss-sha224" \ "sha224 rsa-pss-sha224" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-rsa-pss-sha256" \ "sha256 rsa-pss-sha256" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha384-rsa-pss-sha384" \ "sha384 rsa-pss-sha384" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-rsa-pss-sha512" \ "sha512 rsa-pss-sha512" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_224-rsa-pss-sha3_224" \ "sha3-224 rsa-pss-sha3-224" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_256-rsa-pss-sha3_256" \ "sha3-256 rsa-pss-sha3-256" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_384-rsa-pss-sha3_384" \ "sha3-384 rsa-pss-sha3-384" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_512-rsa-pss-sha3_512" \ "sha3-512 rsa-pss-sha3-512" \ "rsa" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha1" \ "sha1 rsa-pss-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha224" \ "sha224 rsa-pss-sha224" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha256" \ "sha256 rsa-pss-sha256" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha384" \ "sha384 rsa-pss-sha384" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha512" \ "sha512 rsa-pss-sha512" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha3_224" \ "sha3-224 rsa-pss-sha3-224" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha3_256" \ "sha3-256 rsa-pss-sha3-256" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha3_384" \ "sha3-384 rsa-pss-sha3-384" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-rsa-pss-sha3_512" \ "sha3-512 rsa-pss-sha3-512" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-dsa2048-sha256" \ "sha256 dsa-sha256" \ "dsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-dsa-2048 $topfolder/keys/dsa/dsa-2048-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-dsa3072-sha256" \ "sha256 dsa-sha256" \ "dsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-dsa-3072 $topfolder/keys/dsa/dsa-3072-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-dsa-sha1" \ "sha1 dsa-sha1" \ "" \ "$pub_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-ecdsa-sha1" \ "sha1 ecdsa-sha1" \ "" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-ripemd160-ecdsa-ripemd160" \ "ripemd160 ecdsa-ripemd160" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" if [ "z$xmlsec_feature_nssdb_lookup" = "zyes" ] ; then # this test expects "rsa-4096-key" in the NSS DB extra_message="Lookup key in NSS DB" execDSigTestWithCryptoConfig $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "" \ "" \ "--enabled-key-data key-name,rsa" \ "--enabled-key-data key-name,rsa" \ "$topfolder/keys/nssdb" fi # verify that XML debug output is correct and contains the expected elements and values execDSigPrintXmlDebugTest \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha224-ecdsa-sha224" \ "sha224 ecdsa-sha224" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-ecdsa-sha256" \ "sha256 ecdsa-sha256" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha384-ecdsa-sha384" \ "sha384 ecdsa-sha384" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-ecdsa-sha512" \ "sha512 ecdsa-sha512" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_224-ecdsa-sha3_224" \ "sha3-224 ecdsa-sha3-224" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_256-ecdsa-sha3_256" \ "sha3-256 ecdsa-sha3-256" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_384-ecdsa-sha3_384" \ "sha3-384 ecdsa-sha3-384" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha3_512-ecdsa-sha3_512" \ "sha3-512 ecdsa-sha3-512" \ "ec" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha1-ecdsa-sha1" \ "sha1 ecdsa-sha1" \ "ec x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-ecdsa-sha256" \ "sha256 ecdsa-sha256" \ "ec x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha384-ecdsa-sha384" \ "sha384 ecdsa-sha384" \ "ec x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-ecdsa-sha512" \ "sha512 ecdsa-sha512" \ "ec x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # see issue https://github.com/lsh123/xmlsec/issues/228 execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-ecdsa-java-bug" \ "sha512 ecdsa-sha512" \ "ec x509" \ "--trusted-$cert_format $topfolder/keys/enveloped-ecdsa-java-bug-cert.$cert_format --enabled-key-data x509 --verification-gmt-time 2019-01-01+00:00:00" # see issue https://github.com/lsh123/xmlsec/issues/941 (another java bug) execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha256-ecdsa-sha256_padded" \ "sha256 ecdsa-sha256" \ "ec x509" \ "--insecure --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/x509data-test" \ "xpath2 sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format" # verify that XML debug output is correct and contains the expected elements and values execDSigPrintXmlDebugTest \ "" \ "aleksey-xmldsig-01/x509data-test" \ "xpath2 sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/x509data-sn-test" \ "xpath2 sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-2048-cert.$cert_format --enabled-key-data x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-2048-cert.$cert_format --enabled-key-data x509" if [ "z$xmlsec_feature_asn1_signatures" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-ecdsa-sha256-with-asn1" \ "sha256 ecdsa-sha256" \ "ec" \ "--enable-asn1-signatures-hack $pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enable-asn1-signatures-hack $priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" \ "--enable-asn1-signatures-hack $pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-sha512-ecdsa-sha512-with-asn1" \ "sha512 ecdsa-sha512" \ "ec x509" \ "--enable-asn1-signatures-hack --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "--enable-asn1-signatures-hack $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" \ "--enable-asn1-signatures-hack --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" fi ### ML-DSA execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa44" \ "sha512 ml-dsa-44" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa44-with-context-string" \ "sha512 ml-dsa-44" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-44 $topfolder/keys/ml-dsa/ml-dsa-44-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa65" \ "sha512 ml-dsa-65" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa65-with-context-string" \ "sha512 ml-dsa-65" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-65 $topfolder/keys/ml-dsa/ml-dsa-65-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa87" \ "sha512 ml-dsa-87" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-mldsa87-with-context-string" \ "sha512 ml-dsa-87" \ "ml-dsa" \ "$pub_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-ml-dsa-87 $topfolder/keys/ml-dsa/ml-dsa-87-pubkey.$pub_key_format" fi ## SLH-DSA execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-128f" \ "sha512 slh-dsa-sha2-128f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-128f-with-context-string" \ "sha512 slh-dsa-sha2-128f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128f $topfolder/keys/slh-dsa/slh-dsa-sha2-128f-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-128s" \ "sha512 slh-dsa-sha2-128s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-128s-with-context-string" \ "sha512 slh-dsa-sha2-128s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-128s $topfolder/keys/slh-dsa/slh-dsa-sha2-128s-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-192f" \ "sha512 slh-dsa-sha2-192f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-192f-with-context-string" \ "sha512 slh-dsa-sha2-192f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192f $topfolder/keys/slh-dsa/slh-dsa-sha2-192f-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-192s" \ "sha512 slh-dsa-sha2-192s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-192s-with-context-string" \ "sha512 slh-dsa-sha2-192s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-192s $topfolder/keys/slh-dsa/slh-dsa-sha2-192s-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-256f" \ "sha512 slh-dsa-sha2-256f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-256f-with-context-string" \ "sha512 slh-dsa-sha2-256f" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256f $topfolder/keys/slh-dsa/slh-dsa-sha2-256f-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-256s" \ "sha512 slh-dsa-sha2-256s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-256s-with-context-string" \ "sha512 slh-dsa-sha2-256s" \ "slh-dsa" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-pubkey.$pub_key_format" \ "$priv_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-slh-dsa-sha2-256s $topfolder/keys/slh-dsa/slh-dsa-sha2-256s-pubkey.$pub_key_format" fi ## EdDSA execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed25519" \ "sha256 eddsa-ed25519" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed25519ph" \ "sha256 eddsa-ed25519ph" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" # context string is required for Ed25519ctx so no point in checking feature flag execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed25519ctx-with-context-string" \ "sha256 eddsa-ed25519ctx" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed25519ph-with-context-string" \ "sha256 eddsa-ed25519ph" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed25519 $topfolder/keys/eddsa/eddsa-ed25519-pubkey.$pub_key_format" fi execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed448" \ "sha256 eddsa-ed448" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed448ph" \ "sha256 eddsa-ed448ph" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" if [ "z$xmlsec_feature_context_string" = "zyes" ] ; then execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha256-eddsa-ed448ph-with-context-string" \ "sha256 eddsa-ed448ph" \ "eddsa" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" \ "$eddsa_priv_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-key.$eddsa_priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-eddsa-ed448 $topfolder/keys/eddsa/eddsa-ed448-pubkey.$pub_key_format" fi ########################################################################## ########################################################################## ########################################################################## echo "--------- Certificate verification testing ----------" # # To generate output with an expired cert run the following command # # xmlsec1 sign --pkcs12 ./tests/keys/rsa/rsa-expired-key.p12 --pwd secret123 --output ./tests/aleksey-xmldsig-01/enveloping-expired-cert.xml ./tests/aleksey-xmldsig-01/enveloping-expired-cert.tmpl # # This should fail: expired cert extra_message="Negative test: expired cert" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloping-expired-cert" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # Expired cert but there is verification time overwrite extra_message="Expired cert but there is verification timestamp overwrite" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-expired-cert" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509 --verification-gmt-time 2026-03-15+00:00:00" if [ "z$xmlsec_feature_cert_check_skip_time" = "zyes" ] ; then extra_message="Expired cert but we skip timestamp checks" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloping-expired-cert" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509 --X509-skip-time-checks" fi # 'Verify existing signature' MUST fail here, as --trusted-... is not passed. # If this passes, that's a bug. Note that we need to cleanup NSS certs DB # since it automaticall stores trusted certs extra_message="Missing trusted cert " execDSigTest $res_fail \ "aleksey-xmldsig-01" \ "enveloping-sha256-rsa-sha256" \ "sha256 rsa-sha256" \ "rsa x509" \ "--enabled-key-data x509" # This is the same, but due to --insecure it must pass. # If this fails, that means avoiding the certificate verification doesn't # happen correctly extra_message="Negative test: missing trusted cert but there is --insecure bypass" execDSigTest $res_success \ "aleksey-xmldsig-01" \ "enveloping-sha256-rsa-sha256" \ "sha256 rsa-sha256" \ "rsa x509" \ "--enabled-key-data x509 --insecure" # Test was created using the following command: # xmlsec1 sign --crypto openssl --lax-key-search --privkey-pem tests/keys/same-subj-key1.pem,tests/keys/same-subj-cert1.pem --output tests/aleksey-xmldsig-01/enveloped-x509-same-subj-cert.xml tests/aleksey-xmldsig-01/enveloped-x509-same-subj-cert.tmpl # this should succeeed with good cert extra_message="Cert chain is good" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-same-subj-cert" \ "sha256 rsa-sha256" \ "x509" \ "--trusted-$cert_format $topfolder/keys/same-subj-cert1.$cert_format --enabled-key-data x509" # this should fail: Same subject but wrong cert extra_message="Negative test: Same subject but wrong cert" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-same-subj-cert" \ "sha256 rsa-sha256" \ "x509" \ "--trusted-$cert_format $topfolder/keys/same-subj-cert2.$cert_format --enabled-key-data x509" # this should succeeed with both good (cert1) and bad (cert2) certs present (simulating key rotation) extra_message="Cert chain is good: both good (cert1) and bad (cert2) certs present" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-same-subj-cert" \ "sha256 rsa-sha256" \ "x509" \ "--trusted-$cert_format $topfolder/keys/same-subj-cert1.$cert_format --trusted-$cert_format $topfolder/keys/same-subj-cert2.$cert_format --enabled-key-data x509" # this should succeeed with both bad (cert2) and good (cert1) certs present (simulating key rotation) extra_message="Cert chain is good: both bad (cert2) and good (cert1) certs present" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-same-subj-cert" \ "sha256 rsa-sha256" \ "x509" \ "--trusted-$cert_format $topfolder/keys/same-subj-cert2.$cert_format --trusted-$cert_format $topfolder/keys/same-subj-cert1.$cert_format --enabled-key-data x509" # Test was created using the following command: # xmlsec1 sign --lax-key-search --privkey-pem tests/keys/rsa/rsa-2048-key.pem,tests/keys/rsa/rsa-2048-cert.pem --output tests/aleksey-xmldsig-01/enveloped-x509-missing-cert.xml tests/aleksey-xmldsig-01/enveloped-x509-missing-cert.tmpl # # this should succeeed with both intermidiate and trusted certs provided extra_message="Cert chain is good: both intermidiate and trusted certs provided" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # this should succeeed too because we bypass all cert checks with --insecure mode extra_message="Cert chain is missing but there is --insecure bypass" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--insecure --enabled-key-data x509" # this should fail: missing intermidiate cert (ca2cert) extra_message="Negative test: Missing intermidiate cert" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # this should fail: wront trusted cert (rsa-4096-cert) extra_message="Negative test: Wront trusted cert" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --enabled-key-data x509" if [ "z$xmlsec_feature_crl_load" = "zyes" ] ; then # this should fail because there is a CRL for the cert used for signing extra_message="Negative test: CRL present" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--verification-gmt-time 2023-04-01+00:00:00 --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --enabled-key-data x509" # this should fail because while CRL is past due, it's still better than nothing extra_message="Negative test: CRL is past due" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--verification-gmt-time 2023-05-01+00:00:00 --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --enabled-key-data x509" # NSS / GnuTLS doesn't allow CRL verification by time (https://github.com/lsh123/xmlsec/issues/579) if [ "z$xmlsec_feature_crl_check_skip_time" = "zyes" ] ; then # this should succeeed because CRL is not valid yet extra_message="CRL is not valid yet" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--verification-gmt-time 2026-03-10+00:00:00 --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --enabled-key-data x509" fi # this should succeeed too because we bypass all cert checks with --insecure mode extra_message="CRL is present but there is --insecure bypass" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-missing-cert" \ "sha256 rsa-sha256" \ "x509" \ "--insecure --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --enabled-key-data x509" fi if [ "z$xmlsec_feature_crl_verification" = "zyes" ] ; then extra_message="Verify CRL: this should succeed because CRL is not verified" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--verification-gmt-time 2026-03-10+00:00:00 --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # GnuTLS doesn't allow CRL verification by time (https://github.com/lsh123/xmlsec/issues/579) if [ "z$xmlsec_feature_crl_check_skip_time" = "zyes" ] ; then extra_message="Verify CRL: this should succeed because CRL is valid" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--verify-crls --verification-gmt-time 2026-03-20+00:00:00 --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" fi # this should fail because CRL is past due extra_message="Verify CRL: this should fail becaused CRL is past due" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--verify-crls --verification-gmt-time 2026-05-01+00:00:00 --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" # this should succeed because --insecure overwrites all verifications extra_message="Verify CRL: this should succeed because --insecure bypasses all verifications" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-x509-subjectname" \ "sha512 rsa-sha512" \ "rsa x509" \ "--insecure --verify-crls --verification-gmt-time 2026-03-01+00:00:00 --crl-$cert_format $topfolder/keys/rsa/rsa-2048-cert-revoked-crl.$cert_format --untrusted-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" fi if [ "z$xmlsec_feature_key_check" = "zyes" ] ; then # this should succeeed because key verification is not requested (no --verify-keys option) extra_message="Successfully use key without verification" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "x509" \ "--pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --enabled-key-data key-name" # this should fail because key cannot be verified without certificates extra_message="Negative test: key cannot be verified" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "x509" \ "--verify-keys --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --enabled-key-data key-name" # this should fail because key cannot be verified at specified time extra_message="Negative test: key cannot be verified (cert is not yet valid)" execDSigTest $res_fail \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "x509" \ "--verify-keys --verification-gmt-time 1980-01-01+00:00:00 --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data key-name" # this should succeeed because key can be verified extra_message="Successfully verify key" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "sha1 rsa-sha1" \ "x509" \ "--verify-keys --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format --trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data key-name" fi ########################################################################## # # merlin-xmldsig-twenty-three # ########################################################################## execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloped-dsa" \ "enveloped-signature sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,key-name,dsa" \ "--enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,key-name,dsa" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloping-dsa" \ "sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,key-name,dsa" \ "--enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,key-name,dsa" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa" \ "base64 sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,key-name,dsa" \ "--enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,key-name,dsa" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40" \ "sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1" \ "sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" \ "--hmackey:TeskKeyName-Hmac $topfolder/keys/hmackey.bin" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-enveloping-rsa" \ "sha1 rsa-sha1" \ "rsa" \ "--enabled-key-data key-value,key-name,rsa" \ "--enabled-key-data key-value,key-name,rsa $priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,key-name,rsa" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-external-b64-dsa" \ "base64 sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,key-name,dsa $url_map_xml_stylesheet_b64_2005" \ "--enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_b64_2005" \ "--enabled-key-data key-value,key-name,dsa $url_map_xml_stylesheet_b64_2005" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-external-dsa" \ "sha1 dsa-sha1" \ "dsa" \ "$url_map_xml_stylesheet_2005 --enabled-key-data key-value,key-name,dsa" \ "$url_map_xml_stylesheet_2005 --enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "$url_map_xml_stylesheet_2005 --enabled-key-data key-value,key-name,dsa" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-keyname" \ "sha1 dsa-sha1" \ "dsa x509" \ "$url_map_xml_stylesheet_2005 --pubkey-cert-$cert_format:Lugh $topfolder/merlin-xmldsig-twenty-three/certs/lugh-cert.$cert_format" \ "$url_map_xml_stylesheet_2005 $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "$url_map_xml_stylesheet_2005 $pub_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-pubkey$rsa_pub_key_suffix.$pub_key_format" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-x509-crt" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005"\ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format $url_map_xml_stylesheet_2005" extra_message="Negative test: CRL is present" execDSigTest $res_fail \ "" \ "merlin-xmldsig-twenty-three/signature-x509-crt-crl" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format $url_map_xml_stylesheet_2018" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-x509-sn" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format --untrusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/badb.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005"\ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-x509-is" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format --untrusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/macha.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005"\ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-x509-ski" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format --untrusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/nemain.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" \ "$priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005"\ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature-retrievalmethod-rawx509crt" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format --untrusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/nemain.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" \ "--lax-key-search $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005"\ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --trusted-$cert_format $topfolder/keys/ca2cert.$cert_format $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmldsig-twenty-three/signature" \ "base64 xpath xslt enveloped-signature c14n-with-comments sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/merlin.$cert_format --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005 $url_map_xml_stylesheet_b64_2005" \ "--lax-key-search $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123 $url_map_xml_stylesheet_2005 $url_map_xml_stylesheet_b64_2005" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --untrusted-$cert_format $topfolder/keys/ca2cert.$cert_format $url_map_xml_stylesheet_2005 $url_map_xml_stylesheet_b64_2005" ########################################################################## # # merlin-xmlenc-five # # While the main operation is signature (and this is why we have these # tests here instead of testEnc.sh), these tests check the encryption # key transport/wrapper algorightms # ########################################################################## execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-ripemd160-hmac-ripemd160-kw-tripledes" \ "ripemd160 hmac-ripemd160 kw-tripledes" \ "hmac des" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" \ "--session-key hmac-192 --keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-sha256-hmac-sha256-kw-aes128" \ "sha256 hmac-sha256 kw-aes128" \ "hmac aes" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-sha384-hmac-sha384-kw-aes192" \ "sha384 hmac-sha384 kw-aes192" \ "hmac aes" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-sha512-hmac-sha512-kw-aes256" \ "sha512 hmac-sha512 kw-aes256" \ "hmac aes" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml $url_map_xml_stylesheet_2005" execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-hmac-sha256-rsa-1_5" \ "sha1 hmac-sha256 rsa-1_5" \ "hmac rsa" \ "--lax-key-search $priv_key_option $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret --verification-gmt-time 2005-01-01+10:00:00 $url_map_xml_stylesheet_2005" if [ "z$xmlsec_feature_rsa_oaep_different_digest_and_mgf1" = "zyes" ] ; then execDSigTest $res_success \ "" \ "merlin-xmlenc-five/encsig-hmac-sha256-rsa-oaep-mgf1p" \ "sha1 hmac-sha256 rsa-oaep-mgf1p sha1 sha1" \ "hmac rsa" \ "--lax-key-search $priv_key_option $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret $url_map_xml_stylesheet_2005" fi ########################################################################## # # merlin-exc-c14n-one # ########################################################################## execDSigTest $res_success \ "" \ "merlin-exc-c14n-one/exc-signature" \ "exc-c14n sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,key-name,dsa" \ "--enabled-key-data key-value,key-name,dsa $priv_key_option:TestKeyName-dsa-1024 $topfolder/keys/dsa/dsa-1024-key.$priv_key_format --pwd secret123" \ "--enabled-key-data key-value,key-name,dsa" ########################################################################## # # merlin-c14n-three # ########################################################################## execDSigTest $res_success \ "" \ "merlin-c14n-three/signature" \ "c14n c14n-with-comments exc-c14n exc-c14n-with-comments xpath sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,dsa" ########################################################################## # # merlin-xpath-filter2-three # ########################################################################## execDSigTest $res_success \ "" \ "merlin-xpath-filter2-three/sign-xfdl" \ "enveloped-signature xpath2 sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,dsa" execDSigTest $res_success \ "" \ "merlin-xpath-filter2-three/sign-spec" \ "enveloped-signature xpath2 sha1 dsa-sha1" \ "dsa" \ "--enabled-key-data key-value,dsa" ########################################################################## # # phaos-xmldsig-three # ########################################################################## execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-big" \ "base64 xslt xpath sha1 rsa-sha1" \ "rsa x509" \ "--lax-key-search --pubkey-cert-$cert_format certs/rsa-cert.$cert_format $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-dsa-detached" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format certs/dsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-dsa-enveloped" \ "enveloped-signature sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format certs/dsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-dsa-enveloping" \ "sha1 dsa-sha1" \ "dsa x509" \ "--trusted-$cert_format certs/dsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-dsa-manifest" \ "sha1 dsa-sha1" \ "dsa x509" \ "--enabled-key-data key-value,dsa,x509 --trusted-$cert_format certs/dsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-hmac-md5-c14n-enveloping" \ "md5 hmac-md5" \ "hmac" \ "--lax-key-search --hmackey certs/hmackey.bin" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-hmac-sha1-40-c14n-comments-detached" \ "c14n-with-comments sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey certs/hmackey.bin $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-hmac-sha1-40-exclusive-c14n-comments-detached" \ "exc-c14n-with-comments sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey certs/hmackey.bin $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-hmac-sha1-exclusive-c14n-comments-detached" \ "exc-c14n-with-comments sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey certs/hmackey.bin $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-hmac-sha1-exclusive-c14n-enveloped" \ "enveloped-signature exc-c14n sha1 hmac-sha1" \ "hmac" \ "--lax-key-search --hmackey certs/hmackey.bin" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-b64-transform" \ "base64 sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xpath-transform" \ "xpath sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xslt-transform" \ "xslt sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest" \ "sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" if [ "z$xmlsec_feature_md5_certs" = "zyes" ] ; then execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xslt-transform-retrieval-method" \ "xslt sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-enveloped" \ "enveloped-signature sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-enveloping" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-cert-chain" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-cert" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-issuer-serial" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-ski" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-subject-name" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-xpath-transform-enveloped" \ "enveloped-signature xpath sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-gmt-time 2009-01-01+10:00:00" fi extra_message="Negative test: bad retrieval method" execDSigTest $res_fail \ "phaos-xmldsig-three" \ "signature-rsa-detached-xslt-transform-bad-retrieval-method" \ "xslt sha1 rsa-sha1" \ "rsa x509" \ "--enabled-key-data key-value,rsa,x509 --trusted-$cert_format certs/rsa-ca-cert.$cert_format $url_map_rfc3161" extra_message="Negative test: bad digest" execDSigTest $res_fail \ "phaos-xmldsig-three" \ "signature-rsa-enveloped-bad-digest-val" \ "enveloped-signature sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format" extra_message="Negative test: bad sig" execDSigTest $res_fail \ "phaos-xmldsig-three" \ "signature-rsa-enveloped-bad-sig" \ "enveloped-signature sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format" extra_message="Negative test: CRL present" execDSigTest $res_fail \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-crl" \ "sha1 rsa-sha1" \ "rsa x509" \ "--trusted-$cert_format certs/rsa-ca-cert.$cert_format" ########################################################################## ########################################################################## ########################################################################## echo "--------- These tests CAN FAIL (extra OS config required) ----------" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-gost2001" \ "enveloped-signature gostr34102001-gostr3411" \ "gost2001 x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/gost/gost-2001-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-gost2012-256" \ "enveloped-signature gostr34112012-256 gostr34102012-gostr34112012-256" \ "gostr34102012-256 x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/gost/gost-2012-256-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" execDSigTest $res_success \ "" \ "aleksey-xmldsig-01/enveloped-gost2012-512" \ "enveloped-signature gostr34112012-512 gostr34102012-gostr34112012-512" \ "gostr34102012-512 x509" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" \ "$priv_key_option $topfolder/keys/gost/gost-2012-512-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "--trusted-$cert_format $topfolder/keys/cacert.$cert_format --enabled-key-data x509" ########################################################################## ########################################################################## ########################################################################## echo "--- testDSig finished" >> $logfile echo "--- testDSig finished" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- detailed log is written to $logfile" fi ��������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/testEnc.sh����������������������������������������������������������������������0000775�0000000�0000000�00000363321�15171727150�0016214�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # This script needs to be called from testrun.sh script # # ensure this script is called from testrun.sh if [ -z "$xmlsec_app" -o -z "$xmlsec_params" ]; then echo "This script needs to be called from testrun.sh script" exit 1 fi ########################################################################## ########################################################################## ########################################################################## if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- testEnc started for xmlsec-$crypto library ($timestamp)" fi echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- log file is $logfile" fi echo "--- testEnc started for xmlsec-$crypto library ($timestamp)" >> $logfile echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $logfile echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" >> $logfile ########################################################################## ########################################################################## ########################################################################## # # Enc test function # execEncTest() { execEncTestWithCryptoConfig "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "" } execEncTestWithCryptoConfig() { expected_res="$1" folder="$2" filename="$3" req_transforms="$4" req_key_data="$5" params1="$6" params2="$7" params3="$8" outputTransform="$9" crypto_config="${10}" failures=0 if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" != "$filename" ]; then return fi # prepare setupTest # check params if [ "z$expected_res" != "z$res_success" -a "z$expected_res" != "z$res_fail" ] ; then echo " Bad parameter: expected_res=$expected_res" tearDownTest return fi if [ "z$crypto_config" = "z" ] ; then crypto_config="$default_crypto_config" fi # starting test if [ -n "$folder" ] ; then cd $topfolder/$folder full_file=$filename echo "Test: $folder/$filename $extra_message" echo "Test: $folder/$filename in folder " `pwd` " $extra_message -- $expected_res" > $curlogfile else full_file=$topfolder/$filename echo "Test: $filename $extra_message" echo "Test: $folder/$filename $extra_message -- $expected_res" > $curlogfile fi extra_message="" # check transforms if [ -n "$req_transforms" ] ; then printf " Checking required transforms " echo "$extra_vars $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms" >> $curlogfile $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms >> $curlogfile 2>> $curlogfile printCheckStatus $? res=$? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # check key data if [ -n "$req_key_data" ] ; then printf " Checking required key data " echo "$extra_vars $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data" >> $curlogfile $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data >> $curlogfile 2>> $curlogfile printCheckStatus $? res=$? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # run tests xml_verification_failed="no" if [ -n "$params1" ] ; then rm -f $tmpfile printf " Decrypt existing document " echo "$extra_vars $VALGRIND $xmlsec_app decrypt $xmlsec_params --crypto-config $crypto_config $params1 $full_file.xml" >> $curlogfile $VALGRIND $xmlsec_app decrypt $xmlsec_params --crypto-config $crypto_config $params1 --output $tmpfile $full_file.xml >> $curlogfile 2>> $curlogfile res=$? echo "=== TEST RESULT: $res; expected: $expected_res" >> $curlogfile if [ $res -eq 0 -a "$expected_res" = "$res_success" ]; then if [ "z$outputTransform" != "z" ] ; then cat $tmpfile | $outputTransform > $tmpfile.2 mv $tmpfile.2 $tmpfile fi diff $diff_param $full_file.data $tmpfile >> $curlogfile 2>> $curlogfile printRes $expected_res $? else printRes $expected_res $res fi if [ $? -ne 0 ]; then xml_verification_failed="yes" failures=`expr $failures + 1` fi fi if [ -n "$params2" -a -z "$PERF_TEST" ] ; then rm -f $tmpfile printf " Encrypt document " echo "$extra_vars $VALGRIND $xmlsec_app encrypt $xmlsec_params --crypto-config $crypto_config $params2 --output $tmpfile $full_file.tmpl" >> $curlogfile $VALGRIND $xmlsec_app encrypt $xmlsec_params --crypto-config $crypto_config $params2 --output $tmpfile $full_file.tmpl >> $curlogfile 2>> $curlogfile printRes $res_success $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # update existing decryption failed if [ "z$XMLSEC_TEST_UPDATE_XML_ON_FAILURE" = "zyes" -a "z$xml_verification_failed" = "zyes" ] ; then printf " Update existing enc document " echo "cp $tmpfile $full_file.xml" >> $curlogfile 2>> $curlogfile cp $tmpfile $full_file.xml printRes $res_success $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ -n "$params3" -a -z "$PERF_TEST" ] ; then rm -f $tmpfile.2 printf " Decrypt new document " echo "$extra_vars $VALGRIND $xmlsec_app decrypt $xmlsec_params --crypto-config $crypto_config $params3 --output $tmpfile.2 $tmpfile" >> $curlogfile $VALGRIND $xmlsec_app decrypt $xmlsec_params --crypto-config $crypto_config $params3 --output $tmpfile.2 $tmpfile >> $curlogfile 2>> $curlogfile res=$? if [ $res -eq 0 ]; then if [ "z$outputTransform" != "z" ] ; then cat $tmpfile.2 | $outputTransform > $tmpfile mv $tmpfile $tmpfile.2 fi diff $diff_param $full_file.data $tmpfile.2 >> $curlogfile 2>> $curlogfile printRes $res_success $? else printRes $res_success $res fi if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # save logs cat $curlogfile >> $logfile if [ $failures -ne 0 ] ; then cat $curlogfile >> $failedlogfile fi # cleanup tearDownTest } execEncPrintXmlDebugTest() { folder="$1" filename="$2" req_transforms="$3" req_key_data="$4" params1="$5" outputTransform="$6" crypto_config="$7" failures=0 test_name="$filename (with --print-xml-debug)" if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" != "$test_name" ]; then return fi # prepare setupTest if [ "z$crypto_config" = "z" ] ; then crypto_config="$default_crypto_config" fi # starting test if [ -n "$folder" ] ; then cd $topfolder/$folder full_file=$filename echo "Test: $folder/$test_name $extra_message" echo "Test: $folder/$test_name in folder " `pwd` " $extra_message -- $res_success" > $curlogfile else full_file=$topfolder/$filename echo "Test: $test_name $extra_message" echo "Test: $test_name $extra_message -- $res_success" > $curlogfile fi extra_message="" # check transforms if [ -n "$req_transforms" ] ; then printf " Checking required transforms " echo "$extra_vars $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms" >> $curlogfile $xmlsec_app check-transforms $xmlsec_params --crypto-config $crypto_config $req_transforms >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # check key data if [ -n "$req_key_data" ] ; then printf " Checking required key data " echo "$extra_vars $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data" >> $curlogfile $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # run test rm -f $tmpfile $tmpfile.3 if [ -n "$params1" ] ; then printf " Decrypt with --print-xml-debug " echo "$extra_vars $VALGRIND $xmlsec_app decrypt $xmlsec_params --print-xml-debug --crypto-config $crypto_config $params1 --output $tmpfile $full_file.xml > $tmpfile.3" >> $curlogfile $VALGRIND $xmlsec_app decrypt $xmlsec_params --print-xml-debug --crypto-config $crypto_config $params1 --output $tmpfile $full_file.xml > $tmpfile.3 2>> $curlogfile res=$? printCheckStatus $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi fi # check xmllint availability for --print-xml-debug test if command -v xmllint >/dev/null 2>&1 ; then printf " Verify --print-xml-debug output with xmllint " echo "xmllint --noout $tmpfile.3" >> $curlogfile xmllint --noout $tmpfile.3 >> $curlogfile 2>> $curlogfile res=$? printCheckStatus $? if [ $res -ne 0 ]; then failures=`expr $failures + 1` cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi else printf " Checking for xmllint availability " echo "Skipping test: xmllint is not available" >> $curlogfile printCheckStatus 1 cat $curlogfile >> $logfile cat $curlogfile >> $failedlogfile tearDownTest return fi # save logs cat $curlogfile >> $logfile # cleanup tearDownTest } ########################################################################## ########################################################################## ########################################################################## echo "--------- Positive Testing ----------" ########################################################################## # # xmlenc11-interop-2012: # https://www.w3.org/TR/2012/NOTE-xmlenc-core1-interop-20121113/ # ########################################################################## # AES GCM execEncTest $res_success \ "" \ "xmlenc11-interop-2012/xenc11-example-AES128-GCM" \ "aes128-gcm" \ "" \ "--lax-key-search --aeskey $topfolder/xmlenc11-interop-2012/xenc11-example-AES128-GCM.key" \ "--aeskey:TestKeyName_GCM $topfolder/xmlenc11-interop-2012/xenc11-example-AES128-GCM.key --binary-data $topfolder/xmlenc11-interop-2012/xenc11-example-AES128-GCM.data" \ "--aeskey:TestKeyName_GCM $topfolder/xmlenc11-interop-2012/xenc11-example-AES128-GCM.key" if [ "z$xmlsec_feature_rsa_oaep_different_digest_and_mgf1" = "zyes" ] ; then execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__RSA-2048__aes128-gcm__rsa-oaep-mgf1p" \ "aes128-gcm rsa-oaep-mgf1p sha256 sha1" \ "" \ "$priv_key_option:TestRsa2048Key $topfolder/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA.$priv_key_format --pwd passwd" \ "$priv_key_option:TestRsa2048Key $topfolder/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA.$priv_key_format --pwd passwd --session-key aes-128 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__RSA-2048__aes128-gcm__rsa-oaep-mgf1p.data" \ "$priv_key_option:TestRsa2048Key $topfolder/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA.$priv_key_format --pwd passwd" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__RSA-3072__aes192-gcm__rsa-oaep-mgf1p__Sha256" \ "aes192-gcm rsa-oaep-mgf1p sha256 sha1" \ "" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd --session-key aes-192 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__RSA-3072__aes192-gcm__rsa-oaep-mgf1p__Sha256.data" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__RSA-3072__aes256-gcm__rsa-oaep__Sha384-MGF_Sha1" \ "aes256-gcm rsa-oaep-mgf1p sha384 sha1" \ "" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd --session-key aes-256 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__RSA-3072__aes256-gcm__rsa-oaep__Sha384-MGF_Sha1.data" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.$priv_key_format --pwd passwd" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__RSA-4096__aes256-gcm__rsa-oaep__Sha512-MGF_Sha1_PSource" \ "aes256-gcm rsa-oaep-mgf1p sha512 sha1" \ "" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA.$priv_key_format --pwd passwd" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA.$priv_key_format --pwd passwd --session-key aes-256 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__RSA-4096__aes256-gcm__rsa-oaep__Sha512-MGF_Sha1_PSource.data" \ "$priv_key_option:TestRsa3072Key $topfolder/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA.$priv_key_format --pwd passwd" fi # ConcatCDF execEncTest $res_success \ "" \ "xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto" \ "aes256-cbc concatkdf sha256" \ "derived-key" \ "--concatkdf-key:Secret1 $topfolder/xmlenc11-interop-2012/dkey-concatkdf.bin" \ "--concatkdf-key:dkey $topfolder/xmlenc11-interop-2012/dkey-concatkdf.bin --binary $topfolder/xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto.data" \ "--concatkdf-key:dkey $topfolder/xmlenc11-interop-2012/dkey-concatkdf.bin" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto" \ "aes256-cbc concatkdf sha256" \ "derived-key" \ "--concatkdf-key $topfolder/xmlenc11-interop-2012/dkey3-concatkdf.bin" \ "--concatkdf-key:dkey3 $topfolder/xmlenc11-interop-2012/dkey3-concatkdf.bin --binary $topfolder/xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto.data" \ "--concatkdf-key:dkey3 $topfolder/xmlenc11-interop-2012/dkey3-concatkdf.bin" # PBKDF2 execEncTest $res_success \ "" \ "xmlenc11-interop-2012/dkey-example-PBKDF2-crypto" \ "aes256-cbc pbkdf2 sha256" \ "derived-key" \ "--pbkdf2-key:dkey-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey-pbkdf2.bin" \ "--pbkdf2-key:dkey-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey-pbkdf2.bin --binary $topfolder/xmlenc11-interop-2012/dkey-example-PBKDF2-crypto.data" \ "--pbkdf2-key:dkey-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey-pbkdf2.bin" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto" \ "aes256-cbc pbkdf2 sha256" \ "derived-key" \ "--pbkdf2-key:dkey3-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey3-pbkdf2.bin" \ "--pbkdf2-key:dkey3-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey3-pbkdf2.bin --binary $topfolder/xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto.data" \ "--pbkdf2-key:dkey3-pbkdf2 $topfolder/xmlenc11-interop-2012/dkey3-pbkdf2.bin" # PBKDF2 + HMAC-SHA1 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_pbkdf2_hmac_sha1_aes256gcm" \ "aes256-gcm pbkdf2 hmac-sha1" \ "derived-key" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_pbkdf2_hmac_sha1_aes256gcm.data" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" # PBKDF2 + HMAC-SHA224 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_pbkdf2_hmac_sha224_aes256gcm" \ "aes256-gcm pbkdf2 hmac-sha224" \ "derived-key" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_pbkdf2_hmac_sha224_aes256gcm.data" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" # PBKDF2 + HMAC-SHA256 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_pbkdf2_hmac_sha256_aes256gcm" \ "aes256-gcm pbkdf2 hmac-sha256" \ "derived-key" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_pbkdf2_hmac_sha256_aes256gcm.data" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" # PBKDF2 + HMAC-SHA384 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_pbkdf2_hmac_sha384_aes256gcm" \ "aes256-gcm pbkdf2 hmac-sha384" \ "derived-key" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_pbkdf2_hmac_sha384_aes256gcm.data" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" # PBKDF2 + HMAC-SHA512 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_pbkdf2_hmac_sha512_aes256gcm" \ "aes256-gcm pbkdf2 hmac-sha512" \ "derived-key" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_pbkdf2_hmac_sha512_aes256gcm.data" \ "--pbkdf2-key:pbkdf2-ikm $topfolder/aleksey-xmlenc-01/pbkdf2-ikm.bin" # HKDF + HMAC-SHA1 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_hmac_sha1_aes256gcm" \ "aes256-gcm hkdf hmac-sha1" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_hmac_sha1_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # HKDF + HMAC-SHA224 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_hmac_sha224_aes256gcm" \ "aes256-gcm hkdf hmac-sha224" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_hmac_sha224_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # HKDF + HMAC-SHA256 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_hmac_sha256_aes256gcm" \ "aes256-gcm hkdf hmac-sha256" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_hmac_sha256_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # HKDF + HMAC-SHA384 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_hmac_sha384_aes256gcm" \ "aes256-gcm hkdf hmac-sha384" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_hmac_sha384_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # HKDF + HMAC-SHA512 + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_hmac_sha512_aes256gcm" \ "aes256-gcm hkdf hmac-sha512" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_hmac_sha512_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # HKDF + PRF only (no Salt, no Info, no KeyLength) + AES-256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_hkdf_prf_only_aes256gcm" \ "aes256-gcm hkdf hmac-sha256" \ "derived-key" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin --binary $topfolder/aleksey-xmlenc-01/enc_hkdf_prf_only_aes256gcm.data" \ "--hkdf-key:hkdf-ikm $topfolder/aleksey-xmlenc-01/hkdf-ikm.bin" # ECDH-ES execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF" \ "aes128-gcm kw-aes128 concatkdf ecdh-es sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $ec_interop_priv_key_option:EC-P256 $topfolder/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA-orig.$ec_interop_priv_key_format --pwd passwd" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec --session-key aes-128 $ec_interop_priv_key_option:EC-P256 $topfolder/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA.$ec_interop_priv_key_format $pub_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format --pwd secret123 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF.data" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime256v1 $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF" \ "aes192-gcm kw-aes192 concatkdf ecdh-es sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $ec_interop_priv_key_option:EC-P384 $topfolder/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA-orig.$ec_interop_priv_key_format --pwd passwd" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec --session-key aes-192 $ec_interop_priv_key_option:EC-P384 $topfolder/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA.$ec_interop_priv_key_format $pub_key_option:TestKeyName-ec-prime384v1 $topfolder/keys/ec/ec-prime384v1-pubkey.$pub_key_format --pwd secret123 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF.data" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime384v1 $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF" \ "aes256-gcm kw-aes256 concatkdf ecdh-es sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $ec_interop_priv_key_option:EC-P521 $topfolder/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA-orig.$ec_interop_priv_key_format --pwd passwd" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec --session-key aes-256 $ec_interop_priv_key_option:EC-P521 $topfolder/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA.$ec_interop_priv_key_format $pub_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format --pwd secret123 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF.data" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,ec $priv_key_option:TestKeyName-ec-prime521v1 $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123" # DH-ES execEncTest $res_success \ "" \ "xmlenc11-interop-2012/cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF" \ "aes128-gcm kw-aes128 concatkdf dh-es sha256" \ "agreement-method enc-key dh" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh $dh_interop_priv_key_option:DH-1024 $topfolder/xmlenc11-interop-2012/DH-1024_SHA256WithDSA.$dh_interop_priv_key_format --pwd passwd" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh --session-key aes-128 --privkey-der:dhx-rfc5114-3-first $topfolder/keys/dhx/dhx-rfc5114-3-first-key.der --pubkey-der:dhx-rfc5114-3-second $topfolder/keys/dhx/dhx-rfc5114-3-second-pubkey.der --pwd secret123 --xml-data $topfolder/xmlenc11-interop-2012/cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF.data" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh --privkey-der:dhx-rfc5114-3-second $topfolder/keys/dhx/dhx-rfc5114-3-second-key.der --pwd secret123" ########################################################################## # # aleksey-xmlenc-01 # ######################################################################### # ECDH + ConcatKDF + SHA1 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha1_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha1" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha1_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + ConcatKDF + SHA2 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha224_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha224" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha224_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha256_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha384_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha384" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha512_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha512" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + ConcatKDF + SHA3 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_224_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha3-224" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_224_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_256_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha3-256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_384_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha3-384" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_512_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha3-512" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_concatkdf_sha3_512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH-P384 + ConcatKDF + SHA384 + KW-AES192 + AES192-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p384_concatkdf_sha384_kw_aes192_aes192gcm" \ "aes192-gcm kw-aes192 ecdh-es concatkdf sha384" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime384v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime384v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-192 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime384v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime384v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p384_concatkdf_sha384_kw_aes192_aes192gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime384v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime384v1-pubkey.$pub_key_format" # ECDH-P521 + ConcatKDF + SHA512 + KW-AES256 + AES256-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p521_concatkdf_sha512_kw_aes256_aes256gcm" \ "aes256-gcm kw-aes256 ecdh-es concatkdf sha512" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime521v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime521v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime521v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p521_concatkdf_sha512_kw_aes256_aes256gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime521v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime521v1-pubkey.$pub_key_format" # DH-ES + ConcatKDF + SHA256 + KW-AES128 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_dh_concatkdf_sha256_kw_aes128_aes128gcm" \ "aes128-gcm kw-aes128 concatkdf dh-es sha256" \ "agreement-method enc-key dh" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh $dhx_priv_key_option:dhx-rfc5114-3-second $topfolder/keys/dhx/dhx-rfc5114-3-second-key.$dhx_priv_key_format" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh --session-key aes-128 $dhx_priv_key_option:dhx-rfc5114-3-first $topfolder/keys/dhx/dhx-rfc5114-3-first-key.$dhx_priv_key_format $dhx_pub_key_option:dhx-rfc5114-3-second $topfolder/keys/dhx/dhx-rfc5114-3-second-pubkey.$dhx_pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_dh_concatkdf_sha256_kw_aes128_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-value,key-name,dh $dhx_priv_key_option:dhx-rfc5114-3-second $topfolder/keys/dhx/dhx-rfc5114-3-second-key.$dhx_priv_key_format" # ECDH + PBKDF2+SHA1 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha1_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es pbkdf2 hmac-sha1" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha1_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + PBKDF2+SHA2 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha224_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es pbkdf2 hmac-sha224" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha224_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha256_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es pbkdf2 hmac-sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha384_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es pbkdf2 hmac-sha384" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha512_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 ecdh-es pbkdf2 hmac-sha512" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-256 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_pbkdf2_1000_hmac_sha512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + HKDF + SHA256 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha256_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 ecdh-es hkdf hmac-sha256" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-128 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + HKDF + SHA384 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha384_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 ecdh-es hkdf hmac-sha384" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-128 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # ECDH + HKDF + SHA512 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha512_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 ecdh-es hkdf hmac-sha512" \ "agreement-method enc-key ec" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec --session-key aes-128 $priv_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-key.$priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_ecdh_p256_hkdf_sha512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,ec $priv_key_option:recipient-key-name $topfolder/keys/ec/ec-prime256v1-second-key.$priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/ec/ec-prime256v1-pubkey.$pub_key_format" # X25519 + ConcatKDF + SHA2 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x25519_concatkdf_sha256_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 x25519 concatkdf sha256" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-256 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x25519_concatkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" # X448 + ConcatKDF + SHA2 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x448_concatkdf_sha256_kw_aes256_aes128gcm" \ "aes256-gcm kw-aes256 x448 concatkdf sha256" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-256 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x448_concatkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" # X25519 + ConcatKDF + SHA384 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x25519_concatkdf_sha384_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x25519 concatkdf sha384" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-256 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x25519_concatkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" # X448 + ConcatKDF + SHA384 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x448_concatkdf_sha384_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x448 concatkdf sha384" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-256 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x448_concatkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" # X25519 + HKDF + SHA256 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha256_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x25519 hkdf hmac-sha256" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" # X448 + HKDF + SHA256 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha256_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x448 hkdf hmac-sha256" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha256_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" # X25519 + HKDF + SHA384 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha384_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x25519 hkdf hmac-sha384" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" # X448 + HKDF + SHA384 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha384_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x448 hkdf hmac-sha384" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha384_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" # X25519 + HKDF + SHA512 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha512_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x25519 hkdf hmac-sha512" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x25519_hkdf_sha512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x25519-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x25519-first-pubkey.$pub_key_format" # X448 + HKDF + SHA512 + KW-AES256 + AES128-GCM execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha512_kw_aes256_aes128gcm" \ "aes128-gcm kw-aes256 x448 hkdf hmac-sha512" \ "agreement-method enc-key xdh" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh --session-key aes-128 $xdh_priv_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-pubkey.$pub_key_format --xml-data $topfolder/aleksey-xmlenc-01/enc_xdh_x448_hkdf_sha512_kw_aes256_aes128gcm.data" \ "--enabled-key-data agreement-method,enc-key,key-name,key-value,xdh $xdh_priv_key_option:recipient-key-name $topfolder/keys/xdh/xdh-x448-second-key.$xdh_priv_key_format --pwd secret123 $pub_key_option:originator-key-name $topfolder/keys/xdh/xdh-x448-first-pubkey.$pub_key_format" if [ "z$xmlsec_feature_x509_data_lookup" = "zyes" ] ; then execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_subject_name" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_subject_name.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_issuer_name_serial" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_issuer_name_serial.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_ski" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_ski.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha1" \ "aes256-cbc rsa-1_5 sha1" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha224" \ "aes256-cbc rsa-1_5 sha224" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha256" \ "aes256-cbc rsa-1_5 sha256" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha384" \ "aes256-cbc rsa-1_5 sha384" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha512" \ "aes256-cbc rsa-1_5 sha512" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_224" \ "aes256-cbc rsa-1_5 sha3-224" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_256" \ "aes256-cbc rsa-1_5 sha3-256" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_384" \ "aes256-cbc rsa-1_5 sha3-384" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_512" \ "aes256-cbc rsa-1_5 sha3-512" \ "x509" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --pubkey-cert-$cert_format $topfolder/keys/rsa/rsa-4096-cert.$cert_format --xml-data $topfolder/aleksey-xmlenc-01/enc_rsa_1_5_x509_digest_sha3_512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" fi # same file is encrypted with two keys, test both execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-two-enc-keys" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-two-enc-keys.data --pubkey-cert-$cert_format:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-cert.$cert_format --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-two-enc-keys" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-two-enc-keys.data --pubkey-cert-$cert_format:TestKeyName-rsa-2048 $topfolder/keys/rsa/rsa-2048-cert.$cert_format --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/large_input" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/large_input.data --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-element-isolatin1" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-element-isolatin1.data --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-content-isolatin1" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-content-isolatin1.data --node-name http://example.org/paymentv2:CreditCard --pubkey-cert-$cert_format:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-cert.$cert_format" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname" \ "tripledes-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" extra_message="Test '--des-key' option" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname" \ "tripledes-cbc" \ "" \ "--des-key:test-des $topfolder/aleksey-xmlenc-01/test-des.bin" \ "--des-key:test-des $topfolder/aleksey-xmlenc-01/test-des.bin --binary-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname.data" \ "--des-key:test-des $topfolder/aleksey-xmlenc-01/test-des.bin" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname2" \ "tripledes-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname2.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes128cbc-keyname" \ "aes128-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes128cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" extra_message="Test '--aes-key' option" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes128cbc-keyname" \ "aes128-cbc" \ "" \ "--aes-key:test-aes128 $topfolder/aleksey-xmlenc-01/test-aes128.bin" \ "--aes-key:test-aes128 $topfolder/aleksey-xmlenc-01/test-aes128.bin --binary-data $topfolder/aleksey-xmlenc-01/enc-aes128cbc-keyname.data" \ "--aes-key:test-aes128 $topfolder/aleksey-xmlenc-01/test-aes128.bin" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes192cbc-keyname" \ "aes192-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes192cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes192cbc-keyname-ref" \ "aes192-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" extra_message="Negative test: all cipher references are disabled" execEncTest $res_fail \ "" \ "aleksey-xmlenc-01/enc-aes192cbc-keyname-ref" \ "" \ "" \ "--keys-file $topfolder/keys/keys.xml --enabled-cipher-reference-uris empty" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256cbc-keyname" \ "aes256-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes256cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes128gcm-keyname" \ "aes128-gcm" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes128gcm-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes192gcm-keyname" \ "aes192-gcm" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes192gcm-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256gcm-keyname" \ "aes256-gcm" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-aes256gcm-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia128cbc-keyname" \ "camellia128-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia128cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia192cbc-keyname" \ "camellia192-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia192cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia256cbc-keyname" \ "camellia256-cbc" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia256cbc-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" extra_message="Test '--camellia-key' option" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia256cbc-keyname" \ "camellia256-cbc" \ "" \ "--camellia-key:test-camellia256 $topfolder/aleksey-xmlenc-01/test-camellia256.bin" \ "--camellia-key:test-camellia256 $topfolder/aleksey-xmlenc-01/test-camellia256.bin --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia256cbc-keyname.data" \ "--camellia-key:test-camellia256 $topfolder/aleksey-xmlenc-01/test-camellia256.bin" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia256-keyname" \ "camellia128-cbc kw-camellia256" \ "enc-key camellia" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --session-key camellia-128 --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia256-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia128-keyname" \ "camellia128-cbc kw-camellia128" \ "enc-key camellia" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --session-key camellia-128 --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia128-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia192-keyname" \ "camellia128-cbc kw-camellia192" \ "enc-key camellia" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --session-key camellia-128 --binary-data $topfolder/aleksey-xmlenc-01/enc-camellia128cbc-kw-camellia192-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20-keyname" \ "chacha20" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" extra_message="Test '--chacha20-key' option" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20-keyname" \ "chacha20" \ "" \ "--chacha20-key:test-chacha20 $topfolder/aleksey-xmlenc-01/test-chacha20.bin" \ "--chacha20-key:test-chacha20 $topfolder/aleksey-xmlenc-01/test-chacha20.bin --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20-keyname.data" \ "--chacha20-key:test-chacha20 $topfolder/aleksey-xmlenc-01/test-chacha20.bin" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20-keyname-missing-nonce" \ "chacha20" \ "" \ "" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20-keyname-missing-nonce.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20poly1305-keyname" \ "chacha20-poly1305" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20poly1305-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20poly1305-keyname-missing-nonce" \ "chacha20-poly1305" \ "" \ "" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20poly1305-keyname-missing-nonce.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-chacha20poly1305-aad-keyname" \ "chacha20-poly1305" \ "" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --binary-data $topfolder/aleksey-xmlenc-01/enc-chacha20poly1305-aad-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname-content" \ "tripledes-cbc" \ " " \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --xml-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname-content.data --node-id Test" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname-element" \ "tripledes-cbc" \ " " \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --xml-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname-element.data --node-id Test" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-keyname-element-root" \ "tripledes-cbc" \ " " \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --xml-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.data --node-id Test" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-des3cbc-aes192-keyname" \ "tripledes-cbc kw-aes192" \ "enc-key aes des" \ "--keys-file $topfolder/keys/keys.xml" \ "--keys-file $topfolder/keys/keys.xml --session-key des-192 --binary-data $topfolder/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.data" \ "--keys-file $topfolder/keys/keys.xml" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1-params" \ "aes256-cbc rsa-oaep-mgf1p sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1-params.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1" \ "aes256-cbc rsa-oaep-mgf1p sha1 sha1" \ " " \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" # verify that XML debug output is correct and contains the expected elements and values execEncPrintXmlDebugTest \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1" \ "aes256-cbc rsa-oaep-mgf1p sha1 sha1" \ " " \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" if [ "z$xmlsec_feature_rsa_oaep_different_digest_and_mgf1" = "zyes" ] ; then # various digest and default mgf1 (sha1) execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_md5" \ "aes256-cbc rsa-oaep-mgf1p md5 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_md5.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_ripemd160" \ "aes256-cbc rsa-oaep-mgf1p ripemd160 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_ripemd160.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224" \ "aes256-cbc rsa-oaep-mgf1p sha224 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256" \ "aes256-cbc rsa-oaep-mgf1p sha256 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384" \ "aes256-cbc rsa-oaep-mgf1p sha384 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" # SHA3 digest variants with default mgf1 (sha1) execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_224" \ "aes256-cbc rsa-oaep-mgf1p sha3-224 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_256" \ "aes256-cbc rsa-oaep-mgf1p sha3-256 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_384" \ "aes256-cbc rsa-oaep-mgf1p sha3-384 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_512" \ "aes256-cbc rsa-oaep-mgf1p sha3-512 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha3_512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" # various digest and mgf1=sha512 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_md5_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p md5 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_md5_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_ripemd160_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p ripemd160 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_ripemd160_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha1 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha224 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha256 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha384 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" # digest=sha512 and various mgf1 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha1" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha224" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha224" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha256" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha256" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha384" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha384" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" fi # same diges for both digest and MGF1 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1_mgf1_sha1" \ "aes256-cbc rsa-oaep-mgf1p sha1 sha1" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha1_mgf1_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" if [ "z$xmlsec_feature_rsa_oaep_non_sha1" = "zyes" ] ; then # same diges for both digest and MGF1 execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224_mgf1_sha224" \ "aes256-cbc rsa-oaep-mgf1p sha224 sha224" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha224_mgf1_sha224.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256_mgf1_sha256" \ "aes256-cbc rsa-oaep-mgf1p sha256 sha256" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha256_mgf1_sha256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384_mgf1_sha384" \ "aes256-cbc rsa-oaep-mgf1p sha384 sha384" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha384_mgf1_sha384.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha512" \ "aes256-cbc rsa-oaep-mgf1p sha512 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_sha512_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" # RSA OAEP XMLEnc 1.1 transform (exactly same as 1.0 but different URL) execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_enc11_sha512_mgf1_sha512" \ "aes256-cbc rsa-oaep-enc11 sha512 sha512" \ "" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" \ "$pub_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-pubkey$rsa_pub_key_suffix.$pub_key_format --session-key aes-256 --enabled-key-data key-name,enc-key --xml-data $topfolder/aleksey-xmlenc-01/enc-aes256-kt-rsa_oaep_enc11_sha512_mgf1_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:TestKeyName-rsa-4096 $topfolder/keys/rsa/rsa-4096-key$priv_key_suffix.$priv_key_format --pwd secret123" fi # same test but decrypt using two different keys execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-two-recipients" \ "tripledes-cbc rsa-1_5" \ "x509" \ "--lax-key-search $priv_key_option:pub1 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" \ "--pubkey-cert-$cert_format:pub1 $topfolder/keys/rsa/rsa-2048-cert.$cert_format --pubkey-cert-$cert_format:pub2 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --session-key des-192 --xml-data $topfolder/aleksey-xmlenc-01/enc-two-recipients.data" \ "--lax-key-search $priv_key_option:pub1 $topfolder/keys/rsa/rsa-2048-key.$priv_key_format --pwd secret123" execEncTest $res_success \ "" \ "aleksey-xmlenc-01/enc-two-recipients" \ "tripledes-cbc rsa-1_5" \ "x509" \ "--lax-key-search $priv_key_option:pub1 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" \ "--pubkey-cert-$cert_format:pub1 $topfolder/keys/rsa/rsa-2048-cert.$cert_format --pubkey-cert-$cert_format:pub2 $topfolder/keys/rsa/rsa-4096-cert.$cert_format --session-key des-192 --xml-data $topfolder/aleksey-xmlenc-01/enc-two-recipients.data" \ "--lax-key-search $priv_key_option:pub1 $topfolder/keys/rsa/rsa-4096-key.$priv_key_format --pwd secret123" ########################################################################## # # merlin-xmlenc-five # ########################################################################## execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-data-aes128-cbc" \ "aes128-cbc" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --binary-data $topfolder/merlin-xmlenc-five/encrypt-data-aes128-cbc.data" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-content-tripledes-cbc" \ "tripledes-cbc" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/merlin-xmlenc-five/encrypt-content-tripledes-cbc.data --node-id Payment" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-content-aes256-cbc-prop" \ "aes256-cbc" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/merlin-xmlenc-five/encrypt-content-aes256-cbc-prop.data --node-id Payment" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-element-aes192-cbc-ref" \ "aes192-cbc" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5" \ "aes128-cbc rsa-1_5" \ "" \ "--lax-key-search $priv_key_option $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret --verification-gmt-time 2003-01-01+10:00:00" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key aes-128 $priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --xml-data $topfolder/merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5.data --node-id Purchase --pwd secret" \ "$priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p" \ "tripledes-cbc rsa-oaep-mgf1p sha1" \ "" \ "--lax-key-search $priv_key_option $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key des-192 $priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --binary-data $topfolder/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.data --pwd secret" \ "$priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret" if [ "z$xmlsec_feature_rsa_oaep_different_digest_and_mgf1" = "zyes" ] ; then execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256" \ "tripledes-cbc rsa-oaep-mgf1p sha256 sha1" \ "" \ "--lax-key-search $priv_key_option $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key des-192 $priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --binary-data $topfolder/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.data --pwd secret" \ "$priv_key_option:merlin-rsa-key $topfolder/merlin-xmlenc-five/rsapriv.$priv_key_format --pwd secret" fi execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes" \ "aes256-cbc kw-tripledes" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key aes-256 --binary-data $topfolder/merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes.data" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192" \ "aes128-cbc kw-aes192" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key aes-128 --node-name urn:example:po:PaymentInfo --xml-data $topfolder/merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192.data" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256" \ "aes192-cbc kw-aes256" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key aes-192 --binary-data $topfolder/merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256.data" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128" \ "tripledes-cbc kw-aes128" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml --session-key des-192 --node-name urn:example:po:PaymentInfo --xml-data $topfolder/merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128.data" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" execEncTest $res_success \ "" \ "merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256" \ "aes256-cbc kw-aes256" \ "" \ "--keys-file $topfolder/merlin-xmlenc-five/keys.xml" #merlin-xmlenc-five/encrypt-element-aes256-cbc-carried-kw-aes256.xml #merlin-xmlenc-five/decryption-transform-except.xml #merlin-xmlenc-five/decryption-transform.xml #merlin-xmlenc-five/encrypt-element-aes256-cbc-kw-aes256-dh-ripemd160.xml #merlin-xmlenc-five/encrypt-content-aes192-cbc-dh-sha512.xml #merlin-xmlenc-five/encsig-hmac-sha256-dh.xml #merlin-xmlenc-five/encsig-hmac-sha256-kw-tripledes-dh.xml ########################################################################## # # 01-phaos-xmlenc-3 # ########################################################################## execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-3des-kt-rsa1_5" \ "tripledes-cbc rsa-1_5" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-3des-kt-rsa1_5.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha1" \ "tripledes-cbc rsa-oaep-mgf1p sha1 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" if [ "z$xmlsec_feature_rsa_oaep_different_digest_and_mgf1" = "zyes" ] ; then execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha256" \ "tripledes-cbc rsa-oaep-mgf1p sha256 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha256.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha512" \ "tripledes-cbc rsa-oaep-mgf1p sha512 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha512.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" fi execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes128-kt-rsa1_5" \ "aes128-cbc rsa-1_5" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes128-kt-rsa1_5.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes128-kt-rsa_oaep_sha1" \ "aes128-cbc rsa-oaep-mgf1p sha1 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes128-kt-rsa_oaep_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes192-kt-rsa_oaep_sha1" \ "aes192-cbc rsa-oaep-mgf1p sha1 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes192-kt-rsa_oaep_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-text-aes192-kt-rsa1_5" \ "aes192-cbc rsa-1_5" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-text-aes192-kt-rsa1_5.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5" \ "aes256-cbc rsa-1_5" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-256 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" extra_message="Negative test: missing key" execEncTest $res_fail \ "" \ "01-phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5" \ "" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-retrieval-method-uris empty" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-text-aes256-kt-rsa_oaep_sha1" \ "aes256-cbc rsa-oaep-mgf1p sha1 sha1" \ "" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" \ "--session-key aes-256 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-text-aes256-kt-rsa_oaep_sha1.data --node-name http://example.org/paymentv2:CreditCard" \ "$priv_key_option:my-rsa-key $topfolder/01-phaos-xmlenc-3/rsa-priv-key.$priv_key_format --pwd secret" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-3des-kw-3des" \ "tripledes-cbc kw-tripledes" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-3des-kw-3des.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-content-aes128-kw-3des" \ "aes128-cbc kw-tripledes" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes128-kw-aes128" \ "aes128-cbc kw-aes128" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes128-kw-aes256" \ "aes128-cbc kw-aes256" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes128-kw-aes256.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-content-3des-kw-aes192" \ "tripledes-cbc kw-aes192" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-content-3des-kw-aes192.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-content-aes192-kw-aes256" \ "aes192-cbc kw-aes256" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-content-aes192-kw-aes256.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes192-kw-aes192" \ "aes192-cbc kw-aes192" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes192-kw-aes192.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-element-aes256-kw-aes256" \ "aes256-cbc kw-aes256" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-256 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-element-aes256-kw-aes256.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-text-3des-kw-aes256" \ "tripledes-cbc kw-aes256" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key des-192 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-text-3des-kw-aes256.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" execEncTest $res_success \ "" \ "01-phaos-xmlenc-3/enc-text-aes128-kw-aes192" \ "aes128-cbc kw-aes192" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" \ "--session-key aes-128 --keys-file $topfolder/01-phaos-xmlenc-3/keys.xml --enabled-key-data key-name,enc-key --xml-data $topfolder/01-phaos-xmlenc-3/enc-text-aes128-kw-aes192.data --node-name http://example.org/paymentv2:CreditCard" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" extra_message="Negative test: bad alg enc element" execEncTest $res_fail \ "" \ "01-phaos-xmlenc-3/bad-alg-enc-element-aes128-kw-3des" \ "" \ "" \ "--keys-file $topfolder/01-phaos-xmlenc-3/keys.xml" #01-phaos-xmlenc-3/enc-element-3des-ka-dh.xml #01-phaos-xmlenc-3/enc-element-aes128-ka-dh.xml #01-phaos-xmlenc-3/enc-element-aes192-ka-dh.xml #01-phaos-xmlenc-3/enc-element-aes256-ka-dh.xml echo "--------- AES-GCM tests include both positive and negative tests ----------" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- detailed log is written to $logfile" fi ########################################################################## # # AES-GCM # # IV length=96, AAD length=0 and tag length=128 ########################################################################## aesgcm_key_lengths="128 192 256" aesgcm_plaintext_lengths="104 128 256 408" aesgcm_vectors="01 02 03 04 05 06 07 08 09 10 11 12 13 14 15" for aesgcm_k_l in $aesgcm_key_lengths ; do for aesgcm_pt_l in $aesgcm_plaintext_lengths ; do for aesgcm_v in $aesgcm_vectors ; do base_test_name="nist-aesgcm/aes${aesgcm_k_l}/aes${aesgcm_k_l}-gcm-96-${aesgcm_pt_l}-0-128-${aesgcm_v}" # If the corresponding *.data file is missing then we expect the test to fail if [ -f "$topfolder/$base_test_name.xml" -a ! -f "$topfolder/$base_test_name.data" ] ; then execEncTest "$res_fail" \ "" \ "$base_test_name" \ "aes${aesgcm_k_l}-gcm" \ "" \ "--keys-file $topfolder/nist-aesgcm/keys-aes${aesgcm_k_l}-gcm.xml" \ "" \ "" else # generate binary file out of base64 DECODE="-d" if [ "`uname`" = "Darwin" ]; then DECODE="-D" fi cat "$topfolder/$base_test_name.data" | base64 $DECODE > $tmpfile.3 execEncTest "$res_success" \ "" \ "$base_test_name" \ "aes${aesgcm_k_l}-gcm" \ "" \ "--keys-file $topfolder/nist-aesgcm/keys-aes${aesgcm_k_l}-gcm.xml" \ "--keys-file $topfolder/nist-aesgcm/keys-aes${aesgcm_k_l}-gcm.xml --binary-data $tmpfile.3" \ "--keys-file $topfolder/nist-aesgcm/keys-aes${aesgcm_k_l}-gcm.xml" \ "base64" fi done done done ########################################################################## ########################################################################## ########################################################################## echo "--- testEnc finished" >> $logfile echo "--- testEnc finished" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- detailed log is written to $logfile" fi ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/testKeys.sh���������������������������������������������������������������������0000775�0000000�0000000�00000055321�15171727150�0016420�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # This script needs to be called from testrun.sh script # # ensure this script is called from testrun.sh if [ -z "$xmlsec_app" -o -z "$xmlsec_params" ]; then echo "This script needs to be called from testrun.sh script" exit 1 fi ########################################################################## ########################################################################## ########################################################################## if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- testKeys started for xmlsec-$crypto library ($timestamp) ---" fi echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- log file is $logfile" fi echo "--- testKeys started for xmlsec-$crypto library ($timestamp) ---" >> $logfile echo "--- LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $logfile echo "--- LTDL_LIBRARY_PATH=$LTDL_LIBRARY_PATH" >> $logfile ########################################################################## ########################################################################## ########################################################################## # # Keys test function # execKeysTest() { execKeysTestWithCryptoConfig "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "" } execKeysTestWithCryptoConfig() { expected_res="$1" req_key_data="$2" key_name="$3" alg_name="$4" privkey_file="$5" pubkey_file="$6" certkey_file="$7" asym_key_test="$8" key_test_options="$9" crypto_config="${10}" failures=0 if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" != "$key_name" ]; then return fi # prepare setupTest xmlsec_feature_pkcs12="yes" xmlsec_feature_pkcs12_persist="no" xmlsec_feature_pkcs12_keyname="yes" xmlsec_feature_pkcs8="yes" xmlsec_feature_privkey_pem="yes" xmlsec_feature_privkey_der="yes" xmlsec_feature_pubkey_pem="yes" xmlsec_feature_pubkey_der="yes" xmlsec_feature_cert_pem="yes" xmlsec_feature_cert_der="yes" xmlsec_feature_gen_key="yes" # NSS limitations if [ "z$crypto" = "znss" ] ; then xmlsec_feature_pkcs8="no" xmlsec_feature_privkey_pem="no" xmlsec_feature_privkey_der="no" xmlsec_feature_pubkey_pem="no" case "$alg_name" in eddsa-ed25519) xmlsec_feature_pkcs12="no" xmlsec_feature_pkcs12_keyname="no" ;; eddsa-ed448) xmlsec_feature_pkcs12="no" xmlsec_feature_pkcs12_keyname="no" xmlsec_feature_pubkey_der="no" xmlsec_feature_cert_pem="no" xmlsec_feature_cert_der="no" ;; esac fi # MSCNG limitations if [ "z$crypto" = "zmscng" ] ; then xmlsec_feature_pkcs12_persist="yes" xmlsec_feature_pkcs8="no" xmlsec_feature_privkey_pem="no" xmlsec_feature_privkey_der="no" xmlsec_feature_pubkey_pem="no" xmlsec_feature_pubkey_der="no" xmlsec_feature_cert_pem="no" fi # MSCRYPTO limitations if [ "z$crypto" = "zmscrypto" ] ; then xmlsec_feature_pkcs12_keyname="no" xmlsec_feature_pkcs8="no" xmlsec_feature_privkey_pem="no" xmlsec_feature_privkey_der="no" xmlsec_feature_pubkey_pem="no" xmlsec_feature_pubkey_der="no" xmlsec_feature_cert_pem="no" fi # Gcrypt limitations if [ "z$crypto" = "zgcrypt" ] ; then xmlsec_feature_pkcs12="no" xmlsec_feature_pkcs12_keyname="no" xmlsec_feature_pkcs8="no" xmlsec_feature_privkey_pem="no" xmlsec_feature_pubkey_pem="no" xmlsec_feature_cert_pem="no" xmlsec_feature_cert_der="no" fi # Keys file path if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then keysfile=`cygpath -wa $crypto_config_folder/keys.xml` else keysfile=$crypto_config_folder/keys.xml fi # check params if [ "z$expected_res" != "z$res_success" -a "z$expected_res" != "z$res_fail" ] ; then echo " Bad parameter: expected_res=$expected_res" tearDownTest return fi if [ "z$crypto_config" = "z" ] ; then crypto_config="$default_crypto_config" fi # starting test echo "Test: $alg_name $extra_message" echo "Test: $alg_name $extra_message -- expected $expected_res" > $curlogfile extra_message="" # check key data if [ -n "$req_key_data" ] ; then printf " Checking required key data " echo "$extra_vars $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data" >> $curlogfile $xmlsec_app check-key-data $xmlsec_params --crypto-config $crypto_config $req_key_data >> $curlogfile 2>> $curlogfile printCheckStatus $? res=$? if [ $res -ne 0 ]; then cat $curlogfile >> $logfile tearDownTest return fi fi # run tests # generate key if [ -n "$alg_name" -a -n "$key_name" -a "z$xmlsec_feature_gen_key" = "zyes" ]; then printf " Creating new key " params="--gen-key:$key_name $alg_name" if [ -f $keysfile ] ; then params="$params --keys-file $keysfile" fi echo "$extra_vars $VALGRIND $xmlsec_app keys $params $xmlsec_params --crypto-config $crypto_config $keysfile" >> $curlogfile $VALGRIND $xmlsec_app keys $params $xmlsec_params --crypto-config $crypto_config $keysfile >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # test reading private keys if [ -n "$privkey_file" -a -n "$asym_key_test" ]; then if [ "z$xmlsec_feature_pkcs12" = "zyes" ] ; then printf " Reading private key from pkcs12 file " rm -f $tmpfile params="--lax-key-search --pkcs12 $privkey_file.p12 $pkcs12_key_extra_options $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pkcs12_persist" = "zyes" ] ; then printf " Reading private key from pkcs12 file (persist) " rm -f $tmpfile params="--lax-key-search --pkcs12 $privkey_file.p12 $pkcs12_key_extra_options $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pkcs12_keyname" = "zyes" ] ; then printf " Reading private key name from pkcs12 file " rm -f $tmpfile params="--pkcs12 $privkey_file.p12 $pkcs12_key_extra_options $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pkcs12_keyname" = "zyes" -a "z$xmlsec_feature_pkcs12_persist" = "zyes" ] ; then printf " Reading private key name from pkcs12 file (persist) " rm -f $tmpfile params="--pkcs12-persist --pkcs12 $privkey_file.p12 $pkcs12_key_extra_options $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_openssl_store" = "zyes" ] ; then printf " Reading private key from pkcs12 file using ossl-store " rm -f $tmpfile params="--lax-key-search --privkey-openssl-store $privkey_file.p12 $pkcs12_key_extra_options $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pkcs8" = "zyes" ] ; then printf " Reading private key from pkcs8 pem file " rm -f $tmpfile params="--lax-key-search --pkcs8-pem $privkey_file.p8-pem $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $v $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pkcs8" = "zyes" ] ; then printf " Reading private key from pkcs8 der file " rm -f $tmpfile params="--lax-key-search --pkcs8-der $privkey_file.p8-der $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_privkey_pem" = "zyes" ] ; then printf " Reading private key from pem file " rm -f $tmpfile params="--lax-key-search --privkey-pem $privkey_file.pem $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_privkey_der" = "zyes" ] ; then printf " Reading private key from der file " rm -f $tmpfile params="--lax-key-search --privkey-der $privkey_file.der $key_test_options --output $tmpfile $asym_key_test.tmpl" echo "$extra_vars $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app sign $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi fi # test reading public keys if [ -n "$pubkey_file" -a -n "$asym_key_test" ]; then if [ "z$xmlsec_feature_openssl_store" = "zyes" ] ; then printf " Reading public key from pem file using ossl-store " rm -f $tmpfile params="--lax-key-search --pubkey-openssl-store $pubkey_file.pem $key_test_options $asym_key_test.xml" echo "$extra_vars $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_pubkey_pem" = "zyes" ] ; then printf " Reading public key from pem file " rm -f $tmpfile params="--lax-key-search --pubkey-pem $pubkey_file.pem $key_test_options $asym_key_test.xml" echo "$extra_vars $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi # gcrypt DER format is very basic if [ "z$crypto" = "zgcrypt" -a "z$req_key_data" = "zrsa" ] ; then pubkey_file="$pubkey_file-gcrypt" fi if [ "z$xmlsec_feature_pubkey_der" = "zyes" ] ; then printf " Reading public key from der file " rm -f $tmpfile params="--lax-key-search --pubkey-der $pubkey_file.der $key_test_options $asym_key_test.xml" echo "$extra_vars $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi fi if [ -n "$certkey_file" -a -n "$asym_key_test" ]; then if [ "z$xmlsec_feature_cert_pem" = "zyes" ] ; then printf " Reading public key from pem cert file " rm -f $tmpfile params="--lax-key-search --pubkey-cert-pem $certkey_file.pem $key_test_options $asym_key_test.xml" echo "$extra_vars $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi if [ "z$xmlsec_feature_cert_der" = "zyes" ] ; then printf " Reading public key from der cert file " rm -f $tmpfile params="--lax-key-search --pubkey-cert-der $certkey_file.der $key_test_options $asym_key_test.xml" echo "$extra_vars $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params" >> $curlogfile $VALGRIND $xmlsec_app verify $xmlsec_params --crypto-config $crypto_config $params >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? -ne 0 ]; then failures=`expr $failures + 1` fi fi fi # save logs cat $curlogfile >> $logfile if [ $failures -ne 0 ] ; then cat $curlogfile >> $failedlogfile fi # cleanup tearDownTest } ########################################################################## ########################################################################## ########################################################################## echo "--------- Positive Testing ----------" execKeysTest $res_success \ "aes" \ "test-aes128" \ "aes-128" execKeysTest $res_success \ "aes" \ "test-aes192" \ "aes-192" execKeysTest $res_success \ "aes" \ "test-aes256" \ "aes-256" execKeysTest $res_success \ "camellia" \ "test-camellia128" \ "camellia-128" execKeysTest $res_success \ "camellia" \ "test-camellia192" \ "camellia-192" execKeysTest $res_success \ "camellia" \ "test-camellia256" \ "camellia-256" execKeysTest $res_success \ "chacha20" \ "test-chacha20" \ "chacha20-256" execKeysTest $res_success \ "concatkdf" \ "test-concatkdf" \ "concatkdf-256" execKeysTest $res_success \ "der-encoded-key-value" \ "" \ "der-encoded-key-value" execKeysTest $res_success \ "des" \ "test-des" \ "des-192" # generating large dh keys takes forever execKeysTest $res_success \ "dh" \ "" \ "dh" execKeysTest $res_success \ "dsa" \ "test-dsa" \ "dsa-1024" \ "$topfolder/keys/dsa/dsa-1024-key" \ "$topfolder/keys/dsa/dsa-1024-pubkey" \ "$topfolder/keys/dsa/dsa-1024-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha1-dsa-sha1" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "ec" \ "" \ "ec" \ "$topfolder/keys/ec/ec-prime256v1-key" \ "$topfolder/keys/ec/ec-prime256v1-pubkey" \ "$topfolder/keys/ec/ec-prime256v1-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha1-ecdsa-sha1" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "eddsa" \ "" \ "eddsa-ed25519" \ "$topfolder/keys/eddsa/eddsa-ed25519-key" \ "$topfolder/keys/eddsa/eddsa-ed25519-pubkey" \ "$topfolder/keys/eddsa/eddsa-ed25519-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha256-eddsa-ed25519" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "eddsa" \ "" \ "eddsa-ed448" \ "$topfolder/keys/eddsa/eddsa-ed448-key" \ "$topfolder/keys/eddsa/eddsa-ed448-pubkey" \ "$topfolder/keys/eddsa/eddsa-ed448-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha256-eddsa-ed448" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "gost2001" \ "" \ "gost-2001" \ "$topfolder/keys/gost/gost-2001-key" \ "$topfolder/keys/gost/gost-2001-pubkey" \ "$topfolder/keys/gost/gost-2001-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-gost2001" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "gostr34102012-256" \ "" \ "gost-2012-256" \ "$topfolder/keys/gost/gost-2012-256-key" \ "$topfolder/keys/gost/gost-2012-256-pubkey" \ "$topfolder/keys/gost/gost-2012-256-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-gost2012-256" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "gostr34102012-512" \ "" \ "gost-2012-512" \ "$topfolder/keys/gost/gost-2012-512-key" \ "$topfolder/keys/gost/gost-2012-512-pubkey" \ "$topfolder/keys/gost/gost-2012-512-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-gost2012-512" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "hkdf" \ "test-hkdf" \ "hkdf-256" execKeysTest $res_success \ "hmac" \ "test-hmac-sha1" \ "hmac-192" execKeysTest $res_success \ "ml-dsa" \ "" \ "ml-dsa-44" \ "$topfolder/keys/ml-dsa/ml-dsa-44-key" \ "$topfolder/keys/ml-dsa/ml-dsa-44-pubkey" \ "" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha512-mldsa44" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "ml-dsa" \ "" \ "ml-dsa-65" \ "$topfolder/keys/ml-dsa/ml-dsa-65-key" \ "$topfolder/keys/ml-dsa/ml-dsa-65-pubkey" \ "" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha512-mldsa65" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "ml-dsa" \ "" \ "ml-dsa-87" \ "$topfolder/keys/ml-dsa/ml-dsa-87-key" \ "$topfolder/keys/ml-dsa/ml-dsa-87-pubkey" \ "" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha512-mldsa87" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "pbkdf2" \ "test-pbkdf2" \ "pbkdf2-256" execKeysTest $res_success \ "raw-x509-cert" \ "" \ "raw-x509-cert" execKeysTest $res_success \ "rsa" \ "test-rsa" \ "rsa-1024" \ "$topfolder/keys/rsa/rsa-4096-key" \ "$topfolder/keys/rsa/rsa-4096-pubkey" \ "$topfolder/keys/rsa/rsa-4096-cert" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha1-rsa-sha1" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "slh-dsa" \ "" \ "slh-dsa-sha2-128f" \ "$topfolder/keys/slh-dsa/slh-dsa-sha2-128f-key" \ "$topfolder/keys/slh-dsa/slh-dsa-sha2-128f-pubkey" \ "" \ "$topfolder/aleksey-xmldsig-01/enveloped-sha512-slhdsa-sha2-128f" \ "--pwd secret123 --enabled-key-data key-name" execKeysTest $res_success \ "x509" \ "" \ "x509" execKeysTest $res_success \ "xdh" \ "" \ "xdh" ########################################################################## ########################################################################## ########################################################################## echo "--- testKeys finished ---" >> $logfile echo "--- testKeys finished ---" if [ -z "$XMLSEC_TEST_REPRODUCIBLE" ]; then echo "--- detailed log is written to $logfile ---" fi ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/testRes.sh����������������������������������������������������������������������0000775�0000000�0000000�00000000624�15171727150�0016232�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh if [ "z$TMPFOLDER" = "z" ] ; then TMPFOLDER=/tmp fi logfiles='$TMPFOLDER/xmlsec-test*/full.log' echo "-------------------- MEMORY USAGE --------------------" grep 'in use' $logfiles | \ sed 's/==.*==//' | \ sort -u echo "-------------------- ERRORS --------------------" grep 'ERROR SUMMARY' $logfiles | \ sed 's/==.*==//' | \ sed 's/(suppressed: .*//' | \ sort -u ������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/testrun.sh����������������������������������������������������������������������0000775�0000000�0000000�00000036326�15171727150�0016315�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh -x OS_ARCH=`uname -o 2>/dev/null || echo ""` OS_KERNEL=`uname -s` # # Get command line params # testfile="$1" crypto="$2" topfolder="$3" xmlsec_app="$4" file_format="$5" timestamp=`date +%Y%m%d_%H%M%S` exit_code=0 if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then topfolder=`cygpath -wa "$topfolder"` xmlsec_app=`cygpath -a "$xmlsec_app"` fi # Ensure we get detailed errors xmlsec_params="--verbose --print-crypto-library-errors" # # Prepare folders # if [ "z$TMPFOLDER" = "z" ] ; then TMPFOLDER=/tmp fi testname=`basename $testfile` testfolder=$TMPFOLDER/xmlsec-$testname-$crypto-$timestamp mkdir -p $testfolder if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then tmpfile=`cygpath -wa $testfolder/tmp.tmp` logfile=`cygpath -wa $testfolder/full.log` curlogfile=`cygpath -wa $testfolder/cur.log` failedlogfile=`cygpath -wa $testfolder/failed.log` else tmpfile=$testfolder/tmp.tmp logfile=$testfolder/full.log curlogfile=$testfolder/cur.log failedlogfile=$testfolder/failed.log fi # # Valgrind # if [ "z$crypto" = "zopenssl" ] ; then valgrind_suppression="--suppressions=$topfolder/valgrind-openssl.supp" elif [ "z$crypto" = "znss" ] ; then valgrind_suppression="--suppressions=$topfolder/valgrind-nss.supp" elif [ "z$crypto" = "zgcrypt" ] ; then valgrind_suppression="--suppressions=$topfolder/valgrind-gcrypt.supp" elif [ "z$crypto" = "zgnutls" ] ; then valgrind_suppression="--suppressions=$topfolder/valgrind-gcrypt.supp" else valgrind_suppression="" fi valgrind_options="--leak-check=full --show-reachable=yes --num-callers=32 --track-origins=yes -s" if [ -n "$DEBUG_MEMORY" ] ; then export VALGRIND="valgrind $valgrind_options $valgrind_suppression" export REPEAT=3 xmlsec_params="$xmlsec_params --repeat $REPEAT" fi # # Setup crypto engine # if [ "z$XMLSEC_DEFAULT_CRYPTO" != "z" ] ; then xmlsec_params="$xmlsec_params --crypto $XMLSEC_DEFAULT_CRYPTO" elif [ "z$crypto" != "z" ] ; then xmlsec_params="$xmlsec_params --crypto $crypto" fi # # Setup extra vars # extra_vars= if [ "z$crypto" = "zopenssl" -a "z$XMLSEC_OPENSSL_TEST_CONFIG" != "z" ] ; then if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then opensslconf=`cygpath -wa $topfolder/$XMLSEC_OPENSSL_TEST_CONFIG` else opensslconf=$topfolder/$XMLSEC_OPENSSL_TEST_CONFIG fi extra_vars="$extra_vars OPENSSL_CONF=$opensslconf" export OPENSSL_CONF="$opensslconf" fi # # Configure supported features # case $XMLSEC_OPENSSL_VERSION in *LibreSSL*) xmlsec_openssl_flavor="libressl" ;; *BoringSSL*) xmlsec_openssl_flavor="boringssl" ;; *AWSLC*) xmlsec_openssl_flavor="aws-lc" ;; *) xmlsec_openssl_flavor="openssl" ;; esac # only original openssl supports --privkey-openssl-store if [ "z$crypto" = "zopenssl" -a "z$xmlsec_openssl_flavor" = "zopenssl" ] ; then xmlsec_feature_openssl_store="yes" else xmlsec_feature_openssl_store="no" fi # phaos certs use RSA-MD5 which might be disabled if [ "z$crypto" = "zopenssl" -a "z$xmlsec_openssl_flavor" != "zaws-lc" -a "z$xmlsec_openssl_flavor" != "zboringssl" ] ; then extra_vars="$extra_vars OPENSSL_ENABLE_MD5_VERIFY=1" export OPENSSL_ENABLE_MD5_VERIFY=1 xmlsec_feature_md5_certs="yes" else xmlsec_feature_md5_certs="no" fi # Only OpenSSL / NSS / GnuTLS currently has capability to lookup the certs/keys using X509 data if [ "z$crypto" = "zopenssl" -o "z$crypto" = "znss" -o "z$crypto" = "zgnutls" ] ; then xmlsec_feature_x509_data_lookup="yes" else xmlsec_feature_x509_data_lookup="no" fi # Only NSS can lookup certs in NSS DB, skip certs verification for signatures if [ "z$crypto" = "znss" ] ; then xmlsec_feature_nssdb_lookup="yes" else xmlsec_feature_nssdb_lookup="no" fi # MSCng only supports SHA1 as cert digests and cannot lookup the key if [ "z$crypto" = "zmscng" ] ; then xmlsec_feature_x509_data_lookup_digest="yes" else xmlsec_feature_x509_data_lookup_digest="no" fi # currently only openssl and gnutls support skipping time checks # https://github.com/lsh123/xmlsec/issues/852 if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zgnutls" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_cert_check_skip_time="yes" else xmlsec_feature_cert_check_skip_time="no" fi # currently only openssl/gnutls/nss/mscng support loading CRL from the command line # https://github.com/lsh123/xmlsec/issues/583 if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zgnutls" -o "z$crypto" = "znss" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_crl_load="yes" else xmlsec_feature_crl_load="no" fi # only openssl/gnutls/nss/mscng support crl verification # https://github.com/lsh123/xmlsec/issues/585 if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zgnutls" -o "z$crypto" = "znss" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_crl_verification="yes" else xmlsec_feature_crl_verification="no" fi # currently only openssl/mscng support CRL verification by time # https://github.com/lsh123/xmlsec/issues/579 if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_crl_check_skip_time="yes" else xmlsec_feature_crl_check_skip_time="no" fi # only openssl, gnutls, nss, and mcng support key verification # https://github.com/lsh123/xmlsec/issues/587 if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zgnutls" -o "z$crypto" = "znss" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_key_check="yes" else xmlsec_feature_key_check="no" fi # Advanced RSA OAEP modes: # - MSCrypto only supports SHA1 for digest and mgf1 if [ "z$crypto" != "zmscrypto" ] ; then xmlsec_feature_rsa_oaep_non_sha1="yes" else xmlsec_feature_rsa_oaep_non_sha1="no" fi # Advanced RSA OAEP modes: # - MSCrypto only supports SHA1 for digest and mgf1 # - GCrypt/GnuTLS and MSCng only supoprts the *same* algorithm for *both* digest and mgf1 if [ "z$crypto" != "zmscrypto" -a "z$crypto" != "zmscng" -a "z$crypto" != "zgcrypt" ] ; then xmlsec_feature_rsa_oaep_different_digest_and_mgf1="yes" else xmlsec_feature_rsa_oaep_different_digest_and_mgf1="no" fi # Support for ASN1 signatures if [ "z$crypto" = "zopenssl" -o "z$crypto" = "zgnutls" -o "z$crypto" = "znss" -o "z$crypto" = "zmscng" ] ; then xmlsec_feature_asn1_signatures="yes" else xmlsec_feature_asn1_signatures="no" fi # Support for context string in ML-DSA or SLH-DSA signatures if [ "z$crypto" = "zopenssl" ] ; then xmlsec_feature_context_string="yes" else xmlsec_feature_context_string="no" fi # # Setup keys config # cert_format=$file_format # # MSCrypto needs persistent keys for pkcs12 # pkcs12_key_extra_options="" if [ "z$crypto" = "zmscrypto" ] ; then pkcs12_key_extra_options="--pkcs12-persist $pkcs12_key_extra_options" fi # # GCrypt only supports DER format for now, others are good to go with PKCS12 for private keys # if [ "z$crypto" != "zgcrypt" ] ; then priv_key_option="$pkcs12_key_extra_options --pkcs12" priv_key_format="p12" else priv_key_option="--privkey-der" priv_key_format="der" fi # # NSS cannot import XDH (X25519/X448) private keys from OpenSSL-3.x-generated # PKCS12 files (SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY). MSCng cannot import # them either because PFXImportCertStore does not support Curve25519/Curve448. # Use unencrypted DER (PrivateKeyInfo) format for XDH keys in both cases. # if [ "z$crypto" = "znss" -o "z$crypto" = "zmscng" ] ; then xdh_priv_key_option="--privkey-der" xdh_priv_key_format="der" else xdh_priv_key_option="$priv_key_option" xdh_priv_key_format="$priv_key_format" fi # # NSS cannot import EdDSA (ED25519/ED448) private keys from OpenSSL-3.x-generated # PKCS12 files (SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY). Use unencrypted DER # (PrivateKeyInfo) format for EdDSA keys when running under NSS. # if [ "z$crypto" = "znss" ] ; then eddsa_priv_key_option="--privkey-der" eddsa_priv_key_format="der" else eddsa_priv_key_option="$priv_key_option" eddsa_priv_key_format="$priv_key_format" fi # # GnuTLS cannot import EC keys from OpenSSL-3.x-generated xmlenc11-interop-2012 # PKCS12 files (PBES2/PBKDF2/AES-256-CBC encryption not supported). # Use unencrypted DER (PrivateKeyInfo) format for those specific interop tests. # if [ "z$crypto" = "zgnutls" ] ; then ec_interop_priv_key_option="--privkey-der" ec_interop_priv_key_format="der" else ec_interop_priv_key_option="$priv_key_option" ec_interop_priv_key_format="$priv_key_format" fi # # Windows MSCng cannot load X9.42 DH keys from OpenSSL-generated PKCS12 files. # Use unencrypted DER (PrivateKeyInfo/SubjectPublicKeyInfo) format instead. # if [ "z$crypto" = "zmscng" ] ; then dh_interop_priv_key_option="--privkey-der" dh_interop_priv_key_format="der" else dh_interop_priv_key_option="$priv_key_option" dh_interop_priv_key_format="$priv_key_format" fi # # Windows MSCng cannot load DHX private/public keys from PEM files. # Use unencrypted DER (PrivateKeyInfo/SubjectPublicKeyInfo) format instead. # if [ "z$crypto" = "zmscng" ] ; then dhx_priv_key_option="--privkey-der" dhx_priv_key_format="der" dhx_pub_key_option="--pubkey-der" dhx_pub_key_format="der" else dhx_priv_key_option="--privkey-pem" dhx_priv_key_format="pem" dhx_pub_key_option="--pubkey-pem" dhx_pub_key_format="pem" fi # # GCrypt only supports DER format for now, others are good to go with certs for public keys # if [ "z$crypto" != "zgcrypt" ] ; then pub_key_option="--pubkey-cert-der" pub_key_format="crt" else pub_key_option="--pubkey-der" pub_key_format="der" fi # GCrypt has problems reading public RSA keys and needs special handling if [ "z$crypto" = "zgcrypt" ] ; then rsa_pub_key_suffix="-gcrypt" else rsa_pub_key_suffix="" fi # On Windows, we needs to specify Crypto Service Provider (CSP) # in the pkcs12 file to ensure it is loaded correctly to be used # with SHA2 algorithms if [ "z$crypto" = "zmscrypto" -o "z$crypto" = "zmscng" ] ; then priv_key_suffix="-win" else priv_key_suffix="" fi # # Misc # if [ -n "$PERF_TEST" ] ; then xmlsec_params="$xmlsec_params --repeat $PERF_TEST" fi if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then diff_param=-uw else diff_param=-u fi # # Setup crypto config folder # config_number=0 setupCryptoConfig() { config_number=$((config_number + 1)) if test "z$OS_ARCH" = "zCygwin" || test "z$OS_ARCH" = "zMsys" ; then crypto_config_folder=`cygpath -wa $testfolder/crypto-config-$config_number` else crypto_config_folder=$testfolder/crypto-config-$config_number fi mkdir $crypto_config_folder # see https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-certopensystemstorea if [ "z$crypto" = "zmscng" ] ; then default_crypto_config="MY" else default_crypto_config="$crypto_config_folder" fi } tearDownCryptoConfig() { if [ -n "$crypto_config_folder" ]; then rm -rf $crypto_config_folder fi unset crypto_config_folder unset default_crypto_config } setupTest() { # prepare old_pwd=`pwd` setupCryptoConfig } tearDownTest() { # cleanup tearDownCryptoConfig rm -f $tmpfile $tmpfile.2 $tmpfile.3 if [ -n "$old_pwd" ]; then cd $old_pwd fi unset old_pwd } # # Check the command result and print it to stdout # res_success="success" res_fail="fail" count_success=0 count_fail=0 count_skip=0 printRes() { expected_res="$1" actual_res="$2" # convert status to string if [ $actual_res -eq 0 ]; then actual_res_str=$res_success else actual_res_str=$res_fail fi # check if [ "z$expected_res" = "z$actual_res_str" ] ; then count_success=`expr $count_success + 1` actual_res="0" echo " OK" else count_fail=`expr $count_fail + 1` actual_res="1" echo " Fail" fi # memlog if [ -f .memdump ] ; then cat .memdump >> $curlogfile fi return "$actual_res" } printCheckStatus() { check_res="$1" if [ $check_res -eq 0 ]; then echo " OK" else count_skip=`expr $count_skip + 1` echo " Skip" fi return "$check_res" } extra_message="" # prepare rm -rf $tmpfile $tmpfile.2 $tmpfile.3 # run tests source "$testfile" # calculate success percent_success=0 count_total=`expr $count_success + $count_fail + $count_skip` if [ $count_total -gt 0 ] ; then percent_success=`expr 100 \* $count_success / $count_total` fi if [ "z$crypto" = "zopenssl" -a "z$xmlsec_openssl_flavor" = "zaws-lc" ] ; then # bunch of tests with MD5 certificates are disabled echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" >> $logfile echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" min_percent_success=75 elif [ "z$crypto" = "zopenssl" -a "z$xmlsec_openssl_flavor" = "zboringssl" ] ; then # bunch of tests with MD5 certificates are disabled echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" >> $logfile echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" min_percent_success=75 elif [ "z$crypto" = "zopenssl" ] ; then echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" >> $logfile echo "--- OPENSSL FLAVOR: $xmlsec_openssl_flavor" min_percent_success=90 elif [ "z$crypto" = "znss" ] ; then min_percent_success=75 elif [ "z$crypto" = "zgnutls" ] ; then min_percent_success=75 elif [ "z$crypto" = "zmscng" ] ; then min_percent_success=75 elif [ "z$crypto" = "zmscrypto" ] ; then min_percent_success=30 elif [ "z$crypto" = "zgcrypt" ] ; then min_percent_success=30 else min_percent_success=50 fi # print results echo "--- TOTAL OK: $count_success; OK (percent): $percent_success; TOTAL FAILED: $count_fail; TOTAL SKIPPED: $count_skip" >> $logfile echo "--- TOTAL OK: $count_success; OK (percent): $percent_success; TOTAL FAILED: $count_fail; TOTAL SKIPPED: $count_skip" # disable this check for test jeys since the number of tests is very small and the success percent is not representative if [[ "$testfile" =~ 'testKeys' ]]; then XMLSEC_TEST_IGNORE_PERCENT_SUCCESS=1 echo "--- SUCCESS PERCENT check is disabled for testKeys tests since the number of tests is very small and the success percent is not representative" >> $logfile echo "--- SUCCESS PERCENT check is disabled for testKeys tests since the number of tests is very small and the success percent is not representative" fi # print log file if failed (we have to have at least some good tests) if [ $count_fail -ne 0 ] ; then cat $failedlogfile exit_code=$count_fail elif [ $count_success -eq 0 ] ; then cat $logfile exit_code=1 elif [ -z "$XMLSEC_TEST_IGNORE_PERCENT_SUCCESS" -a $min_percent_success -gt $percent_success ]; then echo "--- SUCCESS PERCENT $percent_success IS LOWER THAN THE EXPECTED $min_percent_success PERCENT, FAILING TESTS" >> $logfile echo "--- If you disabled some features and expect lower success percent then set environment variable 'XMLSEC_TEST_IGNORE_PERCENT_SUCCESS' before running the test" >> $logfile echo "--- SUCCESS PERCENT $percent_success IS LOWER THAN THE EXPECTED $min_percent_success PERCENT, FAILING TESTS" echo "--- If you disabled some features and expect lower success percent then set environment variable 'XMLSEC_TEST_IGNORE_PERCENT_SUCCESS' before running the test" cat $logfile exit_code=1 fi # cleanup rm -rf $tmpfile $tmpfile.2 tmpfile.3 $curlogfile exit $exit_code ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/valgrind-gcrypt.supp������������������������������������������������������������0000664�0000000�0000000�00000004016�15171727150�0020266�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������##----------------------------------------------------------------------## # # Errors to suppress by default with GCrypt # # Format of this file is: # { # name_of_suppression # kind: one of Param Value1 Value2 Value4 Value8 # Free Addr1 Addr2 Addr4 Addr8 # Cond (previously known as Value0) # (if Param: name of system call param, if Free: name of free-ing fn) # caller0 name, or /name/of/so/file.so # caller1 name, or ditto # (optionally: caller2 name) # (optionally: caller3 name) # } ##----------------------------------------------------------------------## { global_init -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:global_init ... fun:main } { gcry_check_version -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:gcry_check_version ... fun:main } { gcry_randomize -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:gcry_randomize ... fun:main } { gcry_pk_genkey -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:gcry_pk_genkey ... fun:main } { xmlSecGCryptGenerateRandom -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:_gcry_rngcsprng_randomize fun:xmlSecGCryptGenerateRandom ... fun:main } { xmlSecGCryptDsaSign -> do_randomize -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:do_randomize ... fun:xmlSecGCryptDsaSign ... fun:main } { xmlSecGCryptRsaPkcs1Sign -> _gcry_mpi_randomize -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:_gcry_mpi_randomize ... fun:xmlSecGCryptRsaPkcs1Sign ... fun:main } { xmlSecGCryptBlockCipherCtxInit -> _gcry_rngcsprng_randomize -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:_gcry_rngcsprng_randomize ... fun:xmlSecGCryptBlockCipherCtxInit ... fun:main } ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/valgrind-nss.supp���������������������������������������������������������������0000664�0000000�0000000�00000006511�15171727150�0017563�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������##----------------------------------------------------------------------## # # Errors to suppress by default with NSS # # Format of this file is: # { # name_of_suppression # kind: one of Param Value1 Value2 Value4 Value8 # Free Addr1 Addr2 Addr4 Addr8 # Cond (previously known as Value0) # (if Param: name of system call param, if Free: name of free-ing fn) # caller0 name, or /name/of/so/file.so # caller1 name, or ditto # (optionally: caller2 name) # (optionally: caller3 name) # } ##----------------------------------------------------------------------## { NSS memcmp/prng_RandomUpdate Memcheck:Cond fun:memcmp fun:prng_RandomUpdate } { NSS alg_fips*/prng_RandomUpdate Memcheck:Cond fun:alg_fips* fun:prng_RandomUpdate } { NSS sec_asn1d_parse_leaf/SEC_ASN1* Memcheck:Cond fun:sec_asn1d* fun:SEC_ASN1* } { NSS DES_Do1Block Memcheck:Value4 fun:DES_Do1Block fun:DES_EDE* } { NSS *mp* Memcheck:Cond fun:* fun:*mp_* } { NSS *mp* Memcheck:Cond fun:*mp* fun:* } { NSS *mp* Memcheck:Value4 fun:* fun:*mp* } { NSS *mp* Memcheck:Value4 fun:*mp* fun:*dsa* } { NSS *alg_fips* Memcheck:Cond fun:*alg_fips* fun:* } { NSS memcmp/prng Memcheck:Value4 fun:memcmp fun:*prng* } { NSS *alg_fips* Memcheck:Value4 fun:*alg_fips* fun:*prng* } { NSS *DSA_Generate* Memcheck:Value4 fun:*DSA_Generate* fun:*DSA* } { NSS *DSA_Generate* Memcheck:Cond fun:*DSA_Generate* fun:*DSA* } { NSS *memset/SECITEM* Memcheck:Value4 fun:*mem* fun:*SECITEM* } { NSS *FreeArena* Memcheck:Cond fun:*Arena* fun:*Arena* } { NSS *memcpy/sec* Memcheck:Cond fun:*mem* fun:*sec* } { NSS *memcpy/sec* Memcheck:Value4 fun:*mem* fun:*sec* } { NSS *sec* Memcheck:Value4 fun:*sec* fun:* } { NSS *sec* Memcheck:Cond fun:*sec* fun:* } { NSS *PL_Hash* Memcheck:Value4 fun:*PL_Hash* fun:* } { NSS *PL_Hash* Memcheck:Cond fun:*PL_Hash* fun:* } { NSS *SEC* Memcheck:Value4 fun:*SEC* fun:* } { NSS *SEC* Memcheck:Cond fun:*SEC* fun:* } { NSS *PORT* Memcheck:Value4 fun:*PORT* fun:* } { NSS *PORT* Memcheck:Cond fun:*PORT* fun:* } { NSS *DES* Memcheck:Value4 fun:*DES* fun:* } { NSS *__GI__* Addrcheck,Memcheck:Param write(buf) obj:*libc-2.2*so } { NSS xmlSecBase64* Memcheck:Value4 fun:xmlSecBase64* } { NSS rijndael* Memcheck:Value4 fun:rijndael* } { NSS_InitReadWrite -> malloc (definite) Memcheck:Leak match-leak-kinds: definite fun:malloc ... fun:NSS_InitReadWrite ... fun:main } { NSS_InitReadWrite -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:NSS_InitReadWrite ... fun:main } { NSS_InitReadWrite -> calloc Memcheck:Leak match-leak-kinds: reachable fun:calloc ... fun:NSS_InitReadWrite ... fun:main } { PK11_ConfigurePKCS11 -> malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:PK11_ConfigurePKCS11 ... fun:main } { PK11_ConfigurePKCS11 -> realloc Memcheck:Leak match-leak-kinds: reachable fun:realloc ... fun:PK11_ConfigurePKCS11 ... fun:main } ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/valgrind-openssl.supp�����������������������������������������������������������0000664�0000000�0000000�00000005240�15171727150�0020441�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������##----------------------------------------------------------------------## # # Errors to suppress by default with OpenSSL # # Format of this file is: # { # name_of_suppression # kind: one of Param Value1 Value2 Value4 Value8 # Free Addr1 Addr2 Addr4 Addr8 # Cond (previously known as Value0) # (if Param: name of system call param, if Free: name of free-ing fn) # caller0 name, or /name/of/so/file.so # caller1 name, or ditto # (optionally: caller2 name) # (optionally: caller3 name) # } ##----------------------------------------------------------------------## { OpenSSL BN_*(Cond) Memcheck:Cond fun:BN_* } { OpenSSL BN_*(Value4) Memcheck:Value4 fun:BN_* } { OpenSSL bn_*(Cond) Memcheck:Cond fun:bn_* } { OpenSSL bn_*(Value4) Memcheck:Value4 fun:bn_* } { OpenSSL AES_encrypt(Value4) Memcheck:Value4 fun:AES_encrypt fun:AES_cbc_encrypt } { OpenSSL DES_encrypt*(Value4) Memcheck:Value4 fun:DES_encrypt2 fun:DES_encrypt3 } { OpenSSL RSA_padding_add_PKCS1_type_2(Cond) Memcheck:Cond fun:RSA_padding_add_PKCS1_type_2 fun:RSA_eay_public_encrypt ... } { EVP_DecryptFinal_ex Memcheck:Cond ... fun:EVP_DecryptFinal_ex fun:xmlSecOpenSSLEvpBlockCipherCtxUpdateBlock ... } { ossl_provider_set_operation_bit->malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc fun:ossl_provider_set_operation_bit ... } { ossl_provider_set_operation_bit->calloc Memcheck:Leak match-leak-kinds: reachable fun:calloc fun:ossl_provider_set_operation_bit ... } { ossl_provider_set_operation_bit->realloc Memcheck:Leak match-leak-kinds: reachable fun:realloc fun:ossl_provider_set_operation_bit ... } { OSSL_PROVIDER_try_load->malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:OSSL_PROVIDER_try_load ... fun:main } { OSSL_PROVIDER_try_load->realloc Memcheck:Leak match-leak-kinds: reachable fun:realloc ... fun:OSSL_PROVIDER_try_load ... fun:main } { OSSL_PROVIDER_try_load->calloc Memcheck:Leak match-leak-kinds: reachable fun:calloc ... fun:OSSL_PROVIDER_try_load ... fun:main } { OPENSSL_init_crypto->malloc Memcheck:Leak match-leak-kinds: reachable fun:malloc ... fun:OPENSSL_init_crypto ... fun:main } { OPENSSL_init_crypto->realloc Memcheck:Leak match-leak-kinds: reachable fun:realloc ... fun:OPENSSL_init_crypto ... fun:main } { OPENSSL_init_crypto->calloc Memcheck:Leak match-leak-kinds: reachable fun:calloc ... fun:OPENSSL_init_crypto ... fun:main } ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/���������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0020111�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/README.txt�����������������������������������������������0000664�0000000�0000000�00000000141�15171727150�0021603�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������HMAC key is "testkey" private keys are in keys sub directory. They are in PKCS8 binary format. �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/����������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0021064�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/hmackey.bin�����������������������������������������0000664�0000000�0000000�00000000007�15171727150�0023174�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������testkey�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p256-key-orig.der�����������������������������������0000664�0000000�0000000�00000000103�15171727150�0023772�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0A�0*H=*H='0% PEmy V-N^"V�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p256-key.crt����������������������������������������0000664�0000000�0000000�00000000522�15171727150�0023057�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0N0և0 *H=001 0 UUS10 U Oracle10UJohny Q0 090509100849Z 140509100849Z001 0 UUS10 U Oracle10UJohny Q0Y0*H=*H=B�iseQ9[03esrl ߍp5.9IVȕb*˜/D80 *H=H�0E!�t xz+qtbQ. $5|sWS`#Us^u컞e{^������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p256-key.der����������������������������������������0000664�0000000�0000000�00000000133�15171727150�0023037�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0Y0*H=*H=B�iseQ9[03esrl ߍp5.9IVȕb*˜/D8�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p256-key.p12����������������������������������������0000664�0000000�0000000�00000001736�15171727150�0022701�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H }0y0R *H C0?�08 *H 0W *H  0J0) *H  0x`&&@D�0 *H  �0 `He*-eAT̎ۀINpa# Q5 e}c:!?pz/[B:[Y'4q%ίRof . . t_4} @g%6FvN% "z"ile #n-,:O~ˌG({|Hܗ=T*tcQk@8?"cxX:΀�1`YM"Q-'lHB'3Q<t3�5ճ�~&|NQ֏Xn`F !>٨K1E٨oNQ,=.yێ;@Žfwߵ2IRxPN2nqW^ᆻ7!0#$ٝ  `ԙVT-�h)7șS84f.%`BV»VE /Ӡw0.N2Mpw<^0WgʵhS!<7 �% 9-q&U?rHs2!0 *H  00 *H  00W *H  0J0) *H  0�GD�0 *H  �0 `He*Ip|;6 _P7bFx gRw}R\Y:"gb(ث߾lzFk2,Ҋpuj1D0 *H  1�p�2�5�6�K�e�y0# *H  1k*tmTvfi4Zl0:0A010  `He� ;ic(2Q| ?&wPmLΗ=tte&7�����������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p384-key-orig.der�����������������������������������0000664�0000000�0000000�00000000120�15171727150�0023773�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0N�0*H=+�"7050!t?5э<s%x$F:* eP¤8������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p384-key.crt����������������������������������������0000664�0000000�0000000�00000000617�15171727150�0023066�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00և0 *H=001 0 UUS10 U Oracle10UJohny Q0 090509100848Z 140509100848Z001 0 UUS10 U Oracle10UJohny Q0v0*H=+�"b�w7_6?X hnO/ߓek@I4ܹ1SٌE'l//˧>Y@:A`VRb*U 0 *H=g�0d0[ ZƽO-d8GXf|ϚҐtf0){HRBk+ Aͣ;J /i(չz-�����������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p384-key.der����������������������������������������0000664�0000000�0000000�00000000170�15171727150�0023042�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0v0*H=+�"b�w7_6?X hnO/ߓek@I4ܹ1SٌE'l//˧>Y@:A`VRb*U ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p384-key.p12����������������������������������������0000664�0000000�0000000�00000002056�15171727150�0022677�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0*0 *H 00 *H 0�0x *H 0W *H  0J0) *H  0�L�0 *H  �0 `He*7q@t_з8c*-G]NL| 2u pa:TC^SCpym-V[4 1S_op rpnFjcÂ}xוZ@r0;|Tq ڗ Oo"^o_*|h@\h_uCՕQ*mLdžC`A/ W]7ݻ1 ὡ>ܖֹ= *;S>{F.)Ȍ/i7Dy{=�K/V1G<m@t]#9e2d~/`s Hs>]raNy3e !QN9CXʠMشtRʖEǗIK-ow}Jt+Yߤ:d[.DmׯmsfV&wS1M=2yR%�q(P) ֟JK5*�xxƞ]J-@*0/ *H  00 *H  00W *H  0J0) *H  0i ~!�0 *H  �0 `He*15/OUT*<``(oY*klt@{l3L;IL PVTUBK;P<hL�K_ej&Gz bQZƶ<1D0 *H  1�p�3�8�4�K�e�y0# *H  1.UHT|!NWWVu0A010  `He� u0)_plyBc [H&Kr%k6Z�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p521-key-orig.der�����������������������������������0000664�0000000�0000000�00000000141�15171727150�0023767�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0_�0*H=+�#H0FAX rD%!N 'wN6svˌ;|eb~W\Hso Wn7�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p521-key.crt����������������������������������������0000664�0000000�0000000�00000000732�15171727150�0023055�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������008և0 *H=001 0 UUS10 U Oracle10UJohny Q0 090509100850Z 140509100850Z001 0 UUS10 U Oracle10UJohny Q00*H=+�#�jkG#)K(gG$J)oNQBWcۋ<ȵCzσ9�a <q 8c.?RXl0! nH^90X9SN_ x@먑x0 *H=�0AT'EY*@-qa|&)iĵFdԹ$\4Oduz&tB�eH=j3bGxE9kٸB5|ʈ/CLr0y\5s1drIj��������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p521-key.der����������������������������������������0000664�0000000�0000000�00000000236�15171727150�0023036�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00*H=+�#�jkG#)K(gG$J)oNQBWcۋ<ȵCzσ9�a <q 8c.?RXl0! nH^90X9SN_ x@먑x������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/p521-key.p12����������������������������������������0000664�0000000�0000000�00000002216�15171727150�0022666�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00@ *H 1-0)0 *H 0�0 *H 0W *H  0J0) *H  0I D 4 �0 *H  �0 `He* _Ѹݓ7j̀`kvJ;<b,oix 3^|\^ x'(j{b;48fgACϭoI�eՈf 1??X P9֛0#t|֤Gb 7h#1Աn77ȋ8~Gkk6i+Z`#"q䈪0> iIB9"(;WoC)iZj5ҏo@H^4+Up0o6PVm� me^gVFuơNXum65&@dHaq.<\XRK"U٘Q)9zu"nL]}^�_,vh™<,mkċ]rNf<z6߫Ȏ[Hє噏gN7lRK;ĥʇ>Xq$bRdx K[*0k,S}1)q$pK8<RZ",r[K4)..i0&�*֘oY&YӢckC vD,@3+m,=xtYܧpEǯOE-Zc!!SCpV ܰN9N&MZ*vt܇ 0? *H 0,0(0$ *H  00W *H  0J0) *H  0\j0Fx�0 *H  �0 `He*@J=>)W*l{-ppz'- ߚu Ɯdb Ic ?$�~Rcj'ۑVb* RCU7-:8$D5Zqx[SA2I1D0 *H  1�p�5�2�1�K�e�y0# *H  1ziԈ]"WJ:~20A010  `He� f '̬$Sdq ]�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/rsa-key-orig.der������������������������������������0000664�0000000�0000000�00000001173�15171727150�0024073�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0w�0  *H �a0]���}/#ȏ!GM;bb.s[;MOd`܀1S- |Ÿه/ x=>&Z(j'ꌗSO/Lj1'OCk3,R6G!S2m� -0pA}T ƌ =/r& 5=fsX xS; %u=Lfզ*7YO}�bRYҦA#YFK+3[w C*`)A�>vc'3unj踱15K60 bv}o$M@*'6A�1yy52N*XPҩF+b8 @ʙ8 s�w%fN@ `lpZC 2u<+&+2"N fXrP|migZry˝Y.'T2{A�b^<KNTMRC\ XSGr$}7-|vc0g]ށEA�!D\23e<Yb~ى4̢ꗚYHv=({%>y(ŭ1������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/rsa-key.crt�����������������������������������������0000664�0000000�0000000�00000001324�15171727150�0023151�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������009BA0  *H �0|1 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10U Test CA (RSA)0 020429191640Z 120426191640Z01 0 UUS10UNew York10UNew York10U Phaos Technology10U  Engineering10UTest Client (RSA)00  *H ��0��}/#ȏ!GM;bb.s[;MOd`܀1S- |Ÿه/ x=>&Z(j'ꌗSO/Lj1'OCk3,R6G!S2m�[0Y0 U0�0U�0U0tech@phaos.com0U TiTN Eo0  *H ��l*/$߫QPr }m6q!󋉭A3C_QE_{QQl, B}t:p!1`ˡ z[#*&/yɰaDWa/MM������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/keys/rsa-key.der�����������������������������������������0000664�0000000�0000000�00000000214�15171727150�0023130�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0��}/#ȏ!GM;bb.s[;MOd`܀1S- |Ÿه/ x=>&Z(j'ꌗSO/Lj1'OCk3,R6G!S2m�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-derencoded-ec.tmpl������������������0000664�0000000�0000000�00000001643�15171727150�0027637�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> <dsig:Reference URI="#DSig.Object_zv1ejyt3CTdWWFZEI3SgsQ22" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>secp256r1</dsig:KeyName> <dsig11:DEREncodedKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_zv1ejyt3CTdWWFZEI3SgsQ22" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-derencoded-ec.xml�������������������0000664�0000000�0000000�00000002141�15171727150�0027455�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_zv1ejyt3CTdWWFZEI3SgsQ22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>Rw1PkDehlYLIVVATQVi2Z41XEBCUNaV7z63AteOr6P0=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>56WG05ONca26cxpmLaRc+6RHfk1wTimQ4rguHq+ogAk08DvCB+bs3WLgdMJQDWOxMOjVMuxuF+Bue7X382iB9Q==</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig11:DEREncodedKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#">MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEn/Jpc2WrgVE5vIkIGFvmMDPwZXOKcrdsEYuNIN+NsnA1/J22COeVLgSwObFJGFbIlaroYirLnC+dqIBErTi4Hg==</dsig11:DEREncodedKeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_zv1ejyt3CTdWWFZEI3SgsQ22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-derencoded-rsa.tmpl�����������������0000664�0000000�0000000�00000001655�15171727150�0030040�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <dsig:Reference URI="#DSig.Object_ot2pLlQIKFpOeOFz7tIxAA22" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>TestKeyName-rsa-4096</dsig:KeyName> <dsig11:DEREncodedKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_ot2pLlQIKFpOeOFz7tIxAA22" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> �����������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-derencoded-rsa.xml������������������0000664�0000000�0000000�00000002417�15171727150�0027661�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_ot2pLlQIKFpOeOFz7tIxAA22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>YTJxH5xCH5ovK2sO5iPP/zdBlWY5X52sNQu7ZudAeBI=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>QZ1oI7glq+95SaTZWnjSN7iXymskw1tOguy3Pe+GcpZkFrTLyqpOSj0fF0iXAGQASaOCq8Py9JfKTayDQ3fNR8v83XbDOQfdPH/vHsxvMm02hyUNDTCPXQ4+TE3CP4909BVtRwMpUopHuKuQ6wS8gWs4pwSrNMxZe+8JF6BpQw0=</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig11:DEREncodedKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#">MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCAhvqcAH2hL8AjmMiPpbKa9CFHGIyUTTsbhpuYyWJiLnNbO9oUTa2dT5FkgGC2hdyAMQhT++wtC63ufMKf2YfELwkRpXgPhT3WPrgDJlqRKGonDuqMl+pTHE8vTIm/agWKi48OMa4n0k+LQ2uxmr7J9Z8znizhv1I2Rw4hUzJtlQIDAQAB</dsig11:DEREncodedKeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_ot2pLlQIKFpOeOFz7tIxAA22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha1-truncated160.xml����������0000664�0000000�0000000�00000001443�15171727150�0030760�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"><dsig:HMACOutputLength>160</dsig:HMACOutputLength></dsig:SignatureMethod><dsig:Reference URI="#DSig.Object_1yVYtKFlTlcmDIr0WP37Bw22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>aUBtTm4lFowBT53wyCbjBWdD0gk=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ou9QVz7ptxtmyN4Q5Hutrn6C+n4=</dsig:SignatureValue><dsig:Object Id="DSig.Object_1yVYtKFlTlcmDIr0WP37Bw22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha1-truncated40.xml�����������0000664�0000000�0000000�00000001416�15171727150�0030675�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"><dsig:HMACOutputLength>40</dsig:HMACOutputLength></dsig:SignatureMethod><dsig:Reference URI="#DSig.Object_n79LOFY1Y6SeOEhp3qDGRQ22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>doSUyPNkOTIqWKp5sNL1de9LbrY=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>5b39kKo=</dsig:SignatureValue><dsig:Object Id="DSig.Object_n79LOFY1Y6SeOEhp3qDGRQ22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha224.xml���������������������0000664�0000000�0000000�00000001356�15171727150�0026714�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha224"/><dsig:Reference URI="#DSig.Object_UwWZILpbo3KStDoKohcN1g22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>1tAcTU0Q/Zeyko68KfIOv/xtE8g=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>mGVr02mcDQyHHnRM2ete6TKvrmFzPbbVT2toIA==</dsig:SignatureValue><dsig:Object Id="DSig.Object_UwWZILpbo3KStDoKohcN1g22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha256.xml���������������������0000664�0000000�0000000�00000001362�15171727150�0026716�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/><dsig:Reference URI="#DSig.Object_I08V3cMJvHneFuSSVRb87A22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>myrT5qEfA7Wemy2WONCZG66c5QE=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>s8ntBS/35iYGZYg16NrU4vwxdUufDXw/YVN5E9AIUK0=</dsig:SignatureValue><dsig:Object Id="DSig.Object_I08V3cMJvHneFuSSVRb87A22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha384.xml���������������������0000664�0000000�0000000�00000001406�15171727150�0026717�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"/><dsig:Reference URI="#DSig.Object_0q8wjo0qP2ooumJzyGQWzQ22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>PsNGbqz06zzJcfkBaplANvpyhXI=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>jYHiMcpr59PrjV8rmngQcxydeV13LMXmt8iMtmbpQUTM+wXO1aHKyfnsH/XTWXW6</dsig:SignatureValue><dsig:Object Id="DSig.Object_0q8wjo0qP2ooumJzyGQWzQ22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-hmac-sha512.xml���������������������0000664�0000000�0000000�00000001436�15171727150�0026713�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"/><dsig:Reference URI="#DSig.Object_pxpuGtZf0WCLD4AgOJbjHw22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>fwm9s3Hq9+dRyOf9an94FjEw4Fc=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>wFoZP3D/9HTS1N5VR/L6Xh2ID47zlJ9oRsa4NnGsHxoCefpSBX9B7pggw13NjpqTgkvd1oUQA2JC6BLNrlCvtQ==</dsig:SignatureValue><dsig:Object Id="DSig.Object_pxpuGtZf0WCLD4AgOJbjHw22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-keyinforeference-rsa.tmpl�����������0000664�0000000�0000000�00000002202�15171727150�0031254�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <dsig:Reference URI="#DSig.Object_W1u9Me3FAhWb4c7uH1IEmA22" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig11:KeyInfoReference xmlns:dsig11="http://www.w3.org/2009/xmldsig11#" URI="#KeyInfoID"/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_W1u9Me3FAhWb4c7uH1IEmA22" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> <dsig:Object Id="DSig.Object_ivEK2COgIC4F8ZGLuETxSw22" MimeType="text/xml"> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="KeyInfoID"> <dsig:KeyName>TestKeyName-rsa-4096</dsig:KeyName> </dsig:KeyInfo> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-keyinforeference-rsa.xml������������0000664�0000000�0000000�00000003020�15171727150�0031077�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_W1u9Me3FAhWb4c7uH1IEmA22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>pIlWn63gFMDXoVp2L+U5Trd12E6jOZFWILhMzGn03S4=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>aADsyli38qcbVAEecC9m5b03FDNBjoSNxJenOmdByqFnfrPPMmzMPXR4roCRjri99FOjl6Ax7Nik6UsZWWEM7VRL5wv+Aurz0WP6suw/XkG2ZynELh6fUmxWGKMP8O9ZkhDXMnJQlikJlRRagH3OSqo0ObYbU3q267uW2IRTM6A=</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig11:KeyInfoReference xmlns:dsig11="http://www.w3.org/2009/xmldsig11#" URI="#KeyInfoID"/></dsig:KeyInfo><dsig:Object Id="DSig.Object_W1u9Me3FAhWb4c7uH1IEmA22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object><dsig:Object Id="DSig.Object_ivEK2COgIC4F8ZGLuETxSw22" MimeType="text/xml"><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="KeyInfoID"><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha1.tmpl����������������������0000664�0000000�0000000�00000001404�15171727150�0026561�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p256</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha1.xml�����������������������0000664�0000000�0000000�00000002014�15171727150�0026403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>/UIcB0BiRpxs6lTKEsoaCOupt3JeShaV92TZYz6qFC9AunPqVpNWarll890jY4QLumx/1MOHD+Us9bP7QSalrQ==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><PublicKey>BJ/yaXNlq4FRObyJCBhb5jAz8GVzinK3bBGLjSDfjbJwNfydtgjnlS4EsDmxSRhWyJWq6GIqy5wvnaiARK04uB4=</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha1_4050.xml������������������0000664�0000000�0000000�00000002231�15171727150�0027054�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>c0CFsZcDNGYO49exy+9GoPugglZAbTOOdvkww8Kf11F58uYPKYlK4HboB903xixlKu12KGUgTZNK+PDytMVRbQ==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.2.840.10045.3.1.7"/></DomainParameters><PublicKey><X Value="72346047708883099073857357917841715755940175004927717314128082527981683978864"/><Y Value="24418914917061776918936231657090344308413753520069738480182871474056860317726"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha224.tmpl��������������������0000664�0000000�0000000�00000001475�15171727150�0026740�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>key-p256</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha224.xml���������������������0000664�0000000�0000000�00000002173�15171727150�0026560�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/><dsig:DigestValue>/ME2cIf2hXHV/aO9eO54BJAfw/OfyvYnmRmFJA==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>nTSoXOUDwu7UQvGiKkkyq+AD7RoRSAUr7WDhqPDKJ93qU4drB8DL9x4VXkSqGBQQ2JIqbajA8Uls5rL56bwShw==</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><dsig11:PublicKey>BJ/yaXNlq4FRObyJCBhb5jAz8GVzinK3bBGLjSDfjbJwNfydtgjnlS4EsDmxSRhWyJWq6GIqy5wvnaiARK04uB4=</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha256.tmpl��������������������0000664�0000000�0000000�00000001407�15171727150�0026740�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p256</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha256.xml���������������������0000664�0000000�0000000�00000002037�15171727150�0026564�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>eYx4ImirtPG/eJLWgJHoMS30voH+tozerMftKbYz27vtYNgsHfAvV4M+oEkNgoibq5qnwsO2Z8nn+ndKxhVqFg==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><PublicKey>BJ/yaXNlq4FRObyJCBhb5jAz8GVzinK3bBGLjSDfjbJwNfydtgjnlS4EsDmxSRhWyJWq6GIqy5wvnaiARK04uB4=</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha256_4050.xml����������������0000664�0000000�0000000�00000002254�15171727150�0027235�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>/WEDokA1mXaMYSGJW8CJEzucxZw+joEsf9mG82B7ihCP7ick3SW3OBPyUNsW4CLulyEp5mNeevqAP74Oh8ZBzw==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.2.840.10045.3.1.7"/></DomainParameters><PublicKey><X Value="72346047708883099073857357917841715755940175004927717314128082527981683978864"/><Y Value="24418914917061776918936231657090344308413753520069738480182871474056860317726"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha384.tmpl��������������������0000664�0000000�0000000�00000001415�15171727150�0026741�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p256</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha384.xml���������������������0000664�0000000�0000000�00000002071�15171727150�0026564�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>dH3zmZgI4NkH0Lzr/5YImH9sB0j0rEuVueTkCzky1AAjhVku/+fmFZGhT5QaL9b320N3+c6327Bf/Za/+cnNlQ==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><PublicKey>BJ/yaXNlq4FRObyJCBhb5jAz8GVzinK3bBGLjSDfjbJwNfydtgjnlS4EsDmxSRhWyJWq6GIqy5wvnaiARK04uB4=</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha384_4050.xml����������������0000664�0000000�0000000�00000002306�15171727150�0027235�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>7w73Ils4g3NSw/ngbiyGOC/B79kHVo1fG+SMpUhxc/Ad+dkygEZO8u/erMQaNWt2I7f6o3So2o11TD3y2NriYg==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.2.840.10045.3.1.7"/></DomainParameters><PublicKey><X Value="72346047708883099073857357917841715755940175004927717314128082527981683978864"/><Y Value="24418914917061776918936231657090344308413753520069738480182871474056860317726"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha512.tmpl��������������������0000664�0000000�0000000�00000001407�15171727150�0026733�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p256</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha512.xml���������������������0000664�0000000�0000000�00000002113�15171727150�0026552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>85E8bMeZmI4/VsgZ2tfWyLy2M/UnmLaGiErGGq3ZctFe8fG+sXEfAuZ+wxJNDuEVXsxIrezuhv40EFXo80UqfA==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><PublicKey>BJ/yaXNlq4FRObyJCBhb5jAz8GVzinK3bBGLjSDfjbJwNfydtgjnlS4EsDmxSRhWyJWq6GIqy5wvnaiARK04uB4=</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p256_sha512_4050.xml����������������0000664�0000000�0000000�00000002330�15171727150�0027223�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>youtu5oqpFkgvBy8/u4eqQ9Kj2j98+S6bb3Ov8FejhQT8PoCVsrl8wK8534k9mN+ZUjKyXE28NUmKEgEQLyqUw==</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.2.840.10045.3.1.7"/></DomainParameters><PublicKey><X Value="72346047708883099073857357917841715755940175004927717314128082527981683978864"/><Y Value="24418914917061776918936231657090344308413753520069738480182871474056860317726"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha1.tmpl����������������������0000664�0000000�0000000�00000001404�15171727150�0026563�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p384</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha1.xml�����������������������0000664�0000000�0000000�00000002131�15171727150�0026405�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>f384icRqZaSpxvuo3JMKgJ7fsn4KEAA31h+b5bPAef7KfKFc37jL3inAGW6e6KasFD/mBheWvM3iRXhBwAA9zajh8i6k9gvQrh1tLKjsMCVOskK9cE1v/Vevz1T2p0lP</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.34"/><PublicKey>BO/yd/OZzDfjX4qivDY/vsUIuh6KWAxoxW5P4ukvwd+T6pVljWsX2UBJNNy5MdhTwB8e2YwB8kUbJwdsAS/XGi/fz8unFrs+lVlAgIs6s/xBYFbfUoRiAacD2SpVDe6XBA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha1_4050.xml������������������0000664�0000000�0000000�00000002407�15171727150�0027063�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ZnZk1Sy/bPaDZZkRl+wiapDaOu4LdCBGMalpqcCV9hNv+Vj0Xt8IP0h/y922MKxFSh0o6Va/flsNiCSafN4Eycp40VShuZDFj13xy6eVxMNeap1X9ArnORz5my4MtpzR</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.34"/></DomainParameters><PublicKey><X Value="36931245343862650106404196894062886497249120188317908077347333110925597696159978693206149498204161449490419939824576"/><Y Value="4789884413049783725725187548949207393709513104629960909050159192310261339092273719400820307952107141265464409102084"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha224.tmpl��������������������0000664�0000000�0000000�00000001475�15171727150�0026742�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>key-p384</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha224.xml���������������������0000664�0000000�0000000�00000002310�15171727150�0026553�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/><dsig:DigestValue>/ME2cIf2hXHV/aO9eO54BJAfw/OfyvYnmRmFJA==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>YMt+LSq86c/LispzUTIQpUw44M6OLvtHnu6awehuAmH0XnjaD7Cu5kjegkZU6VUvrYLb72ezuP2YsmHFasrQ1XPn9n7bIn28iScnh+M+oj3rsCpXSzelOzuMRK5EJ8qD</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.34"/><dsig11:PublicKey>BO/yd/OZzDfjX4qivDY/vsUIuh6KWAxoxW5P4ukvwd+T6pVljWsX2UBJNNy5MdhTwB8e2YwB8kUbJwdsAS/XGi/fz8unFrs+lVlAgIs6s/xBYFbfUoRiAacD2SpVDe6XBA==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha256.tmpl��������������������0000664�0000000�0000000�00000001407�15171727150�0026742�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p384</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha256.xml���������������������0000664�0000000�0000000�00000002154�15171727150�0026566�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>XJFqW3A3NBeCR0GsuGfjHDjXIqRWAXTcD+OMY+ivFosKvV+12kZ3xdaTXbs5MCu0rTp+Xij8Tvhb8Vhh9k2sA5DuJk1akakhEyrZOKRfxaMiOcUHN9F90YlgqTc5P5Mf</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.34"/><PublicKey>BO/yd/OZzDfjX4qivDY/vsUIuh6KWAxoxW5P4ukvwd+T6pVljWsX2UBJNNy5MdhTwB8e2YwB8kUbJwdsAS/XGi/fz8unFrs+lVlAgIs6s/xBYFbfUoRiAacD2SpVDe6XBA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha256_4050.xml����������������0000664�0000000�0000000�00000002432�15171727150�0027235�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>TTc0bEn0T6SlpB+dUJykmhG2W/+moUygMBZq/FnWcuuiCBKdGqJLO6nSV4D2NwVhsWNFnSXqGHhOgu5Uwg7YwrD7REW53+fqkZvBumbPWGEMRvVjAOq+QvsYDyhlduod</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.34"/></DomainParameters><PublicKey><X Value="36931245343862650106404196894062886497249120188317908077347333110925597696159978693206149498204161449490419939824576"/><Y Value="4789884413049783725725187548949207393709513104629960909050159192310261339092273719400820307952107141265464409102084"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha384.tmpl��������������������0000664�0000000�0000000�00000001415�15171727150�0026743�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p384</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha384.xml���������������������0000664�0000000�0000000�00000002206�15171727150�0026566�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>62PoqaZujP1OeuUBaJ4XvBBmMcA1OdZAW+yYP0tllL6oIMcB8Hu11wZtONDDI1XQO0OAFqfVAQ8OEbzUAH15/zydSItqs14IzW9id1dMruVwHzZCSZ0X94e09vLyDrnd</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.34"/><PublicKey>BO/yd/OZzDfjX4qivDY/vsUIuh6KWAxoxW5P4ukvwd+T6pVljWsX2UBJNNy5MdhTwB8e2YwB8kUbJwdsAS/XGi/fz8unFrs+lVlAgIs6s/xBYFbfUoRiAacD2SpVDe6XBA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha384_4050.xml����������������0000664�0000000�0000000�00000002464�15171727150�0027244�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>RFqgoaS/aCJlRxtGXAZ1cOdqQo6CxKxPNxk1Amu7mF/xXODO00iCPK1S9mXczSIs4OAD44Strq4qg2U7JvGt0N+JdlPXJAxWGPu8GlVYfEjBc7UQQG7cdjTnaArwLgqr</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.34"/></DomainParameters><PublicKey><X Value="36931245343862650106404196894062886497249120188317908077347333110925597696159978693206149498204161449490419939824576"/><Y Value="4789884413049783725725187548949207393709513104629960909050159192310261339092273719400820307952107141265464409102084"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha512.tmpl��������������������0000664�0000000�0000000�00000001407�15171727150�0026735�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>key-p384</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha512.xml���������������������0000664�0000000�0000000�00000002230�15171727150�0026554�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>aoExdXIydoyutAKbGOlddJ5Y5BdgmgTuXvLgmfUC2HLaoNhv4DU/maSn6X76e+79cLzRP0ez8m3LaNXA4g9AVMB5Cxsfi9ivUIOLnTPy31Cy2DF++gOEQ5Hvl4x/EoSs</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.34"/><PublicKey>BO/yd/OZzDfjX4qivDY/vsUIuh6KWAxoxW5P4ukvwd+T6pVljWsX2UBJNNy5MdhTwB8e2YwB8kUbJwdsAS/XGi/fz8unFrs+lVlAgIs6s/xBYFbfUoRiAacD2SpVDe6XBA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p384_sha512_4050.xml����������������0000664�0000000�0000000�00000002506�15171727150�0027232�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>uypXBhwNwuBiCZVmEGVg+tzsjt9tW0feinm17my9k6MOL42LsWmEp8JBCzQH8pCvOwUilXJt/M3YiykAti3aG96cn3ejR5t4VL41ODoVEO1dWywKpoYWymE9DUhatM0f</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.34"/></DomainParameters><PublicKey><X Value="36931245343862650106404196894062886497249120188317908077347333110925597696159978693206149498204161449490419939824576"/><Y Value="4789884413049783725725187548949207393709513104629960909050159192310261339092273719400820307952107141265464409102084"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha1.tmpl����������������������0000664�0000000�0000000�00000001425�15171727150�0026557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha1.xml�����������������������0000664�0000000�0000000�00000002271�15171727150�0026403�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AebKr/SrzgrFtr87nQXxn5seJX8ztyFvS+hKmh1iu1utJcoLjoFEfGsezOM0FQvqysFk3EK4dDF5pB9Rl9aYxSmwAF+It4BspTuccDrl0N6KczUhhGHiTMLxrRgBX3205GiDQSRAzYuXJmz3dptThgNzkg7D/Zr7h5fNrPYHPeJKUie7</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.35"/><PublicKey>BAHu8dZq4OFrF0fWIymDApJLKL77nwPcZ/uZHkeqx8vOJJ9KkClvuk5Roc4V4EJXjWOC24s8yLWW7MCWgkN6z4MPOQCJpvRhnQw8ENJxCTioY/sBLj9S4Y5YbDAh1gntEW77SAS1Xjkw7LoZ9/BYOblTTl+l45ogeNNA66iRhdAF7vuueA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha1_4050.xml������������������0000664�0000000�0000000�00000002612�15171727150�0027052�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AK2oYc2LUxemU0jIHdjLJxlztOci7vkjEa8nBLfg829z7O4q5uo+7ow5YLayJacoxxKQfNvyEGatYWnxHHE4Q/82ALp3csw3bOQXHtTddlk0JfD9QqcSifNLABmb4DtZzL5GVClWojdfGcIGMzfqe0MFp0MUFe6BUkhl5ZM0qj1z4qsi</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.35"/></DomainParameters><PublicKey><X Value="6636123178588860263276021182187815267084205960456475480897129901598313503182219386215174992872732614994530890544414696187006462563614288269498402623375740729"/><Y Value="1845613809073002088597786696319242710743453216044890914005385795606839768940690125053917726250807477666723584213675626895165912471306678569896060933862305400"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha224.tmpl��������������������0000664�0000000�0000000�00000001516�15171727150�0026727�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha224.xml���������������������0000664�0000000�0000000�00000002450�15171727150�0026551�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha224"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/><dsig:DigestValue>/ME2cIf2hXHV/aO9eO54BJAfw/OfyvYnmRmFJA==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AQfMqGvXQDciKzxLhH0JPzKsgPekIb9IDJLeDpktAsLubAajJRLI0ggIEdHhJZPJI7erXuHnGAXOAmafyYIpMpG/AIgQJlPTCdIgMOUs33Nrqdw5Aw0h0YeG3YTxM3ujMxJV/60JTEJbLSdMlVPh5ey58cMsmJik0RKDkNGUsxgYrTon</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.35"/><dsig11:PublicKey>BAHu8dZq4OFrF0fWIymDApJLKL77nwPcZ/uZHkeqx8vOJJ9KkClvuk5Roc4V4EJXjWOC24s8yLWW7MCWgkN6z4MPOQCJpvRhnQw8ENJxCTioY/sBLj9S4Y5YbDAh1gntEW77SAS1Xjkw7LoZ9/BYOblTTl+l45ogeNNA66iRhdAF7vuueA==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha256.tmpl��������������������0000664�0000000�0000000�00000001430�15171727150�0026727�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha256.xml���������������������0000664�0000000�0000000�00000002314�15171727150�0026555�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AdSN/Xx+XH76zK6LehX0Ji+b73ObRQWCvfs+FMlWPohXenoK3wQdYz7xNH2a2LfHdcDePdjNgz2nNMwfPgz+gmopAY73LBsAMbkdbt02Y6UJ3RPxAUmsuQz6vj3FuQlNRMXhi1YnxMnv/e6Tifloc2mZP6ZfnxO7rhggONqRAmy+w6Zp</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.35"/><PublicKey>BAHu8dZq4OFrF0fWIymDApJLKL77nwPcZ/uZHkeqx8vOJJ9KkClvuk5Roc4V4EJXjWOC24s8yLWW7MCWgkN6z4MPOQCJpvRhnQw8ENJxCTioY/sBLj9S4Y5YbDAh1gntEW77SAS1Xjkw7LoZ9/BYOblTTl+l45ogeNNA66iRhdAF7vuueA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha256_4050.xml����������������0000664�0000000�0000000�00000002635�15171727150�0027233�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>vIgv7JtPOh3hpedKK0rm8XHtYCSoBX4eEF0YwnB26Es=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ASZoMCM3g5dPFjLpHJe1FZR76dWYKaZUPcxV52ldCxZb/qlk70rtarXihn5XmQ/JRhcz4EP40d7rqAh+SYB2Rzs0AA1E0KAlXMYb8ZiOPvtLVe5za5PHJX6ooaF+6UfIK8MGZZu0UiZ1gX41KmdeTtCbAD5qg4dVsZCsIZY+QG5GOb+L</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.35"/></DomainParameters><PublicKey><X Value="6636123178588860263276021182187815267084205960456475480897129901598313503182219386215174992872732614994530890544414696187006462563614288269498402623375740729"/><Y Value="1845613809073002088597786696319242710743453216044890914005385795606839768940690125053917726250807477666723584213675626895165912471306678569896060933862305400"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha384.tmpl��������������������0000664�0000000�0000000�00000001436�15171727150�0026737�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha384.xml���������������������0000664�0000000�0000000�00000002346�15171727150�0026564�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ARHFVE3V0AFe+rRUXec+UAzU66RMeln2+p5ybwm4sZL3Jzo+cfJt9GvsfRiTb+JmfxqQdMG7hL7h1dzl4DuQdWNyADpnxYR5zhzDbf/JluxTISomXmFMgt+wGQV81XxIBXd9PW/ViqGwFEHUmUBbTO18lhjROwguxdNxqwNANxG99Xaw</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.35"/><PublicKey>BAHu8dZq4OFrF0fWIymDApJLKL77nwPcZ/uZHkeqx8vOJJ9KkClvuk5Roc4V4EJXjWOC24s8yLWW7MCWgkN6z4MPOQCJpvRhnQw8ENJxCTioY/sBLj9S4Y5YbDAh1gntEW77SAS1Xjkw7LoZ9/BYOblTTl+l45ogeNNA66iRhdAF7vuueA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha384_4050.xml����������������0000664�0000000�0000000�00000002667�15171727150�0027242�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>QQzWA5o7Aj0x+LglAnSMqaZlUTGiAiWd+wFQwZQixBTly7WkzpFrU3pyPLLOIlB7</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>ANQiXkRxf/1+sMwoBsGbQVkOinenhErneIxLKLYhP5R1Ilp4mncGVwIiMOefhklFAiRxYIlcX6LL99Mnw1Hphc0zAUBbVi05+MRRHNoxbg6zG/OBfVWpt5jgF0o3Vnz0h4PlFfevC7q9y8lKGhlxIk3yR7gyqvqXYqKZbtTtSHi4zcZL</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.35"/></DomainParameters><PublicKey><X Value="6636123178588860263276021182187815267084205960456475480897129901598313503182219386215174992872732614994530890544414696187006462563614288269498402623375740729"/><Y Value="1845613809073002088597786696319242710743453216044890914005385795606839768940690125053917726250807477666723584213675626895165912471306678569896060933862305400"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha512.tmpl��������������������0000664�0000000�0000000�00000001430�15171727150�0026722�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/> <dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> <dsig:KeyValue/> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_1" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha512.xml���������������������0000664�0000000�0000000�00000002370�15171727150�0026552�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AU9iFH2+IBawqIMuef3exMnzp5XGXfRTJQuhQklWcc8ZWwnE+bwCpbrlTkYM2RE8qTrpQ4E5K6ZZN2FKH69lZnqAANNE/iIvbQ/rG9etU9ciT42ZhFAVewdAjnXCfWmEf5AesgJFt0bErU1xCqMyicvVD06bHxZTWI7CYRZJrGN98512</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECKeyValue xmlns="http://www.w3.org/2009/xmldsig11#"><NamedCurve URI="urn:oid:1.3.132.0.35"/><PublicKey>BAHu8dZq4OFrF0fWIymDApJLKL77nwPcZ/uZHkeqx8vOJJ9KkClvuk5Roc4V4EJXjWOC24s8yLWW7MCWgkN6z4MPOQCJpvRhnQw8ENJxCTioY/sBLj9S4Y5YbDAh1gntEW77SAS1Xjkw7LoZ9/BYOblTTl+l45ogeNNA66iRhdAF7vuueA==</PublicKey></ECKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-p521_sha512_4050.xml����������������0000664�0000000�0000000�00000002711�15171727150�0027221�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>JGG2RA2A4srIxInbp9xPuJA+/EaTZM6Sb1nQCQBU4bztsRzi2wYdoRfSYS1sT5RNgZZX8YdPfay628Yw8PKUiQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>AcVz5g/MMQbBZRV7C57owDriKCgpZiWWAbV+XhsvqlQQP/Vi6V9s9jyi8wQjRNxp2VKjNzDivLeX/l0vGSB9jC66ARm3CIIK4h22ryRoUxyXYl5WKTa68PKsPJhyTVLTcOoHZz3yEmJHqFw0gP9z1IE1g6d8kMMl608bgvtwjh9C8y5p</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><ECDSAKeyValue xmlns="http://www.w3.org/2001/04/xmldsig-more#"><DomainParameters><NamedCurve URN="urn:oid:1.3.132.0.35"/></DomainParameters><PublicKey><X Value="6636123178588860263276021182187815267084205960456475480897129901598313503182219386215174992872732614994530890544414696187006462563614288269498402623375740729"/><Y Value="1845613809073002088597786696319242710743453216044890914005385795606839768940690125053917726250807477666723584213675626895165912471306678569896060933862305400"/></PublicKey></ECDSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-rsa-sha224.xml����������������������0000664�0000000�0000000�00000002300�15171727150�0026557�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha224"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>QyX9FBWyHn4T5eTnSMtylMw+tNQ=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>azo62Lm9JDKLxD+wPi4UhtPMEyLb1lcYCCfGIsIF+0vdN9PSKA0kAlHLDgVl0KXH3pcaqKMiy2ttUOmOMBmTLWajFU/CFE0OBnpflOHQWWFmwbQrLqF7E13QZMCh0wgBsJVInqm5psuTAPQGb6GTfKWFl7bt+rQkGokjz8OCp5U=</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-rsa-sha256.xml����������������������0000664�0000000�0000000�00000002276�15171727150�0026600�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_gdHd5sa901sX14P1Fv8QJA22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>a8uS43VzNNwzLOM6wHczXPq906w=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>a1MU1N6mcju2/bp2sp7017z4fUumuz0cprBLhCL/aZDYnryDAX+ztBQjtPxkyCsS92wgd3ractNxosoU3M0XljZqs1/x9B8bWOYwhh4+B0FOTwHSzLApsPqes8SJie1N71UyQN+QTvsW2SnLhDIF4J0ZQ0bSVsNKDpRLNg0tYCQ=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_gdHd5sa901sX14P1Fv8QJA22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-rsa_sha384.xml����������������������0000664�0000000�0000000�00000002276�15171727150�0026664�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"/><dsig:Reference URI="#DSig.Object_LvcU0x1Wo4iQafINvi0VQw22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>hcAfH5JtPSCaOwja4/o2womH6qo=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>EcIHpXV53u7b1VJoYu7eniTdsRHA/sckEgmpAEhjI3mgb8Eqg8Sw2XOonMouA+wolKpwOah0RMDF9TU1B4PKSELO9L6FV6pKA3lfUMUmzO9e8UPKDi4b1ewUdE6paaUKOTE/IW4DJQiNERNrKpBnDTlp2tmqbV2QY5tWv0/I/V4=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_LvcU0x1Wo4iQafINvi0VQw22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-rsa_sha512.xml����������������������0000664�0000000�0000000�00000002276�15171727150�0026655�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"/><dsig:Reference URI="#DSig.Object_gUhD6ZDUmXJPvFyt5LRX1Q22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><dsig:DigestValue>YQ9GG+n3w6zWdvpUVr51fk6uHPA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>UACgE7IESBWhG3gW2BiW87pDxrwlMiyEPCs7/3rB2U4UBUWuSsOCdg+aa7NSGyHTiyGImY7a+WFdnbu3Va+RvZbMphDDM4xeWcRauMeLFZj9rZm8EY3MHK/AvsQHX5sBaJ1t2/5YkYddLaag5j916ijl1c1qLTqGFJwyKTBmv3s=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_gUhD6ZDUmXJPvFyt5LRX1Q22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-sha224-rsa_sha256.xml���������������0000664�0000000�0000000�00000002323�15171727150�0027654�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_1" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha224"/><dsig:DigestValue>/ME2cIf2hXHV/aO9eO54BJAfw/OfyvYnmRmFJA==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>KlZ8kPkWNguF+lOg+qpx+giEedEfbwD1XrXpsF/6r9RkyksUAMeTtfXlLSlJsKdCWn3hWU+1ktdnAAA/Dijpxs/g7wsmmpH+r2jSxXjk4s8dLHuK5+gSw83D675MkWSG88YHCF2hAb/iuyHVqWq9BwOQOpxIOFR8m/dPvPtH5Lg=</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_1" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-sha256-rsa-sha256.xml���������������0000664�0000000�0000000�00000002317�15171727150�0027602�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_6WAPp17qcv2VLzo22r17Sg22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>ixRZSqEH0oHtwACs2B42jl1pL7eAMmwzk2DVu4n4HD8=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>f9c35givXYsTkq2dpiVOoCn/OvYPdQYIUJbQnnTIazvTnrRGyvwZ9V/qPMwToQHFxB5+d36KGJ1kUBSeGtZqga83+7+lCMM3QnzeNwQZbMmKK/1n19XA8Kz77L1wKZjzacl8b+BazdWy1VkEvdWD67mdmKYWOBWCjkVbZFNI8Bk=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_6WAPp17qcv2VLzo22r17Sg22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-sha384-rsa_sha256.xml���������������0000664�0000000�0000000�00000002351�15171727150�0027664�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_udRHfmejqvbTLv2q0nUijA22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384"/><dsig:DigestValue>lT2TytUXjzj4sac/0YDKI9hcBIvGnrZ55vX56cNApfvPbwWVNiLF1VnPfSPLG+xU</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>TdMvhdEbkRfHBoXY61TC3LPmm2C/X5fZn+1PFrXo3rQe4FHmAKz/RooiVXMsp82PUKaeUPQLfHCfahlExTcQfWf/FCKPpEVqSsGl1swK1xDtN54P9CUIzvrlf8K7X8q7YVdUqBjD12yXKhFmNg6KtSevaud2xznrRXq5eUanXII=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_udRHfmejqvbTLv2q0nUijA22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-sha512-rsa_sha256.xml���������������0000664�0000000�0000000�00000002373�15171727150�0027661�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_DZXko6vqRJyN1zZGkjk2AA22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/><dsig:DigestValue>Wz5zBRnq1yQQUwewZmFDPyUJ3diPyl2w7scW/XyFIND0ElZdLhiEbkhHxUU3+cFthDEcZ7KyBfM9Hfpjkiu4LQ==</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>F4NdAhNg6n9oePxGZyYJ+AHOqn1f8tsj64fhPjS0v/nG49jFRMRAXGQk/9YPx/eKTuY9h7/3Tg/p2VyuBaQ9oSD8ukEslDxvHPt7DbPV6BAkiKVBt7RNdzBL7iFX6KfK14kjMrDEqCuheGGiXTA4qj/7J8PAQo5g7GExL+V/yoo=</dsig:SignatureValue><dsig:KeyInfo><dsig:KeyValue><dsig:RSAKeyValue><dsig:Modulus>gIb6nAB9oS/AI5jIj6WymvQhRxiMlE07G4abmMliYi5zWzvaFE2tnU+RZIBgtoXcgDEIU/vsLQut7nzCn9mHxC8JEaV4D4U91j64AyZakShqJw7qjJfqUxxPL0yJv2oFiouPDjGuJ9JPi0NrsZq+yfWfM54s4b9SNkcOIVMybZU=</dsig:Modulus><dsig:Exponent>AQAB</dsig:Exponent></dsig:RSAKeyValue></dsig:KeyValue></dsig:KeyInfo><dsig:Object Id="DSig.Object_DZXko6vqRJyN1zZGkjk2AA22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-x509digest-rsa.tmpl�����������������0000664�0000000�0000000�00000002612�15171727150�0027643�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:SignedInfo> <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <dsig:Reference URI="#DSig.Object_QJnJQxCUj6aHHt1qjOkXSg22" Type="http://www.w3.org/2000/09/xmldsig#Object"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <dsig:DigestValue/> </dsig:Reference> </dsig:SignedInfo> <dsig:SignatureValue/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:X509Data> <dsig11:X509Digest xmlns:dsig11="http://www.w3.org/2009/xmldsig11#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"> fZd23DD+/7HSo72ZyFMENaMmbxjDF2SfThmux0P6qTY= </dsig11:X509Digest> <X509Digest xmlns="http://www.w3.org/2009/xmldsig11#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"> f8KWWGMregazVv77Mw49A/Oicjd5+wKvabdY2YfCGJM= </X509Digest> <X509Digest xmlns="http://www.w3.org/2009/xmldsig11#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"> YRUR3UCYtsvTFvFnU9UHFRrZo9imcTVPdMfw8BpVKQk= </X509Digest> </dsig:X509Data> </dsig:KeyInfo> <dsig:Object Id="DSig.Object_QJnJQxCUj6aHHt1qjOkXSg22" MimeType="text/xml"> <Web>up up and away</Web> </dsig:Object> </dsig:Signature> ����������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig11-interop-2012/signature-enveloping-x509digest-rsa.xml������������������0000664�0000000�0000000�00000002246�15171727150�0027472�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><dsig:Reference URI="#DSig.Object_QJnJQxCUj6aHHt1qjOkXSg22" Type="http://www.w3.org/2000/09/xmldsig#Object"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><dsig:DigestValue>9AyuwU5srruWdw/YrVyCA5l0swCohz/Oa/Txcqz0wiA=</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>C3Sv30Ej4h6AsODUyOe4aYEm5tJzJ1O9Q3kTT+F178qd2qpChBC3+AZrkTdlVWi8ZM0uBAkE1PMOXWmzYYl8MPQ75Gg6vuooK6WU1B//9IHY3r6/L83wgo4HzsAmH2S6siJAsUXjMWZ8+DRjillTFsfkCXwuztZyeMSRbMpCeNs=</dsig:SignatureValue><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig11:X509Digest xmlns:dsig11="http://www.w3.org/2009/xmldsig11#" Algorithm="http://www.w3.org/2001/04/xmlenc#sha256">r5Y9uGu0/qlHWxPXHkKhsxHWwL0SVqWNQtGyb/4vslM=</dsig11:X509Digest></dsig:X509Data></dsig:KeyInfo><dsig:Object Id="DSig.Object_QJnJQxCUj6aHHt1qjOkXSg22" MimeType="text/xml"><Web>up up and away</Web></dsig:Object></dsig:Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/���������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017442�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/c14n11/��������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0020351�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/c14n11/xml-base-input.xml��������������������������������������0000664�0000000�0000000�00000001032�15171727150�0023734�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <ietf:c14n11XmlBaseDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase0/"> <ietf:e1 xml:base="/xmlbase1/"> <ietf:e11 xml:base="/xmlbase11/"> <ietf:e111 xml:base="/xmlbase111/"/> </ietf:e11> <ietf:e12 at="2"> <ietf:e121 xml:base="/xmlbase121/"/> </ietf:e12> </ietf:e1> <ietf:e2> <ietf:e21 xml:base="/xmlbase21/"/> </ietf:e2> <ietf:e3> <ietf:e31 at="3"/> </ietf:e3> </ietf:c14n11XmlBaseDoc1> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-1.tmpl��������������������������������������������������0000664�0000000�0000000�00000001453�15171727150�0021661�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/> <Reference URI="c14n11/xml-base-input.xml"> <Transforms> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:c14n11XmlBaseDoc1 and not(ancestor-or-self::ietf:e2)</XPath> </Transform> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue/> </Reference> </SignedInfo> <SignatureValue/> <KeyInfo> <KeyName>TeskKeyName-Hmac</KeyName> </KeyInfo> </Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-1.xml���������������������������������������������������0000664�0000000�0000000�00000001444�15171727150�0021505�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="c14n11/xml-base-input.xml"><Transforms><Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:c14n11XmlBaseDoc1 and not(ancestor-or-self::ietf:e2)</XPath></Transform><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>t7d2cL8Ink8A5i3cS9/bu9MBBU8=</DigestValue></Reference></SignedInfo><SignatureValue>LR4s+Nxoq3VZO1NiCLoiovfCpK4=</SignatureValue></Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-2.tmpl��������������������������������������������������0000664�0000000�0000000�00000002445�15171727150�0021664�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/> <Reference URI="c14n11/xml-base-input.xml"> <Transforms> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:e21</XPath> </Transform> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> </Transform> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <XPath xmlns:ietf="http://www.ietf.org">1</XPath> </Transform> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue/> </Reference> </SignedInfo> <SignatureValue/> <KeyInfo> <KeyName>TeskKeyName-Hmac</KeyName> </KeyInfo> </Signature> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-2.xml���������������������������������������������������0000664�0000000�0000000�00000002372�15171727150�0021507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="c14n11/xml-base-input.xml"><Transforms><Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:e21</XPath></Transform><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template></xsl:stylesheet></Transform><Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><XPath xmlns:ietf="http://www.ietf.org">1</XPath></Transform><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>fL7Igzs0LL7lKHJzAJIKYCphYBo=</DigestValue></Reference></SignedInfo><SignatureValue>bKQLywY51VZwjutUX/CUMsVs6RE=</SignatureValue></Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-3.tmpl��������������������������������������������������0000664�0000000�0000000�00000003260�15171727150�0021661�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/> <Reference URI="c14n11/xml-base-input.xml"> <Transforms> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:e3</XPath> </Transform> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> </Transform> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <XPath xmlns:ietf="http://www.ietf.org">1</XPath> </Transform> <Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> </Transform> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue/> </Reference> </SignedInfo> <SignatureValue/> <KeyInfo> <KeyName>TestKeyName_GCM</KeyName> </KeyInfo> </Signature> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/defCan-3.xml���������������������������������������������������0000664�0000000�0000000�00000003103�15171727150�0021501�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="c14n11/xml-base-input.xml"><Transforms><Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><XPath xmlns:ietf="http://www.ietf.org">ancestor-or-self::ietf:e21</XPath></Transform><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template></xsl:stylesheet></Transform><Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><XPath xmlns:ietf="http://www.ietf.org">1</XPath></Transform><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"><xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="@*|node()"><xsl:copy><xsl:apply-templates select="@*|node()"/></xsl:copy></xsl:template></xsl:stylesheet></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>hqabUu4fEZp7GK5JRyFC26W5JBk=</DigestValue></Reference></SignedInfo><SignatureValue>9+wp0W9xwL5X3kSttxABZ7p/kU0=</SignatureValue></Signature>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-1-SUN.xml���������������������������������������������0000664�0000000�0000000�00000002564�15171727150�0022644�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#xpointer(/)"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>/IZyGLL72rXhisXRkB617TxJrL8=</DigestValue></Reference></SignedInfo><SignatureValue>E4gxKwllVjvvlUQFe9p/ssO7Yxw=</SignatureValue></Signature></ietf:c14n11XmlPointerDoc1>��������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-2-SUN.xml���������������������������������������������0000664�0000000�0000000�00000002500�15171727150�0022633�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#xpointer(id('e1ID'))"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>XhSsDpWTt+ti0kcU9XYpleRDHfQ=</DigestValue></Reference></SignedInfo><SignatureValue>brEpICVA4lg7eQwz7i/rlBmYXiU=</SignatureValue><Object><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> </ietf:c14n11XmlPointerDoc1></Object></Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-3-SUN.xml���������������������������������������������0000664�0000000�0000000�00000002550�15171727150�0022641�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>gaV5r7qC3Ve/t641+d3ykN8JFSc=</DigestValue></Reference></SignedInfo><SignatureValue>gS1QKSwAH/6eE3OFi/L9O0oKKig=</SignatureValue></Signature></ietf:c14n11XmlPointerDoc1>��������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-4-SUN.xml���������������������������������������������0000664�0000000�0000000�00000002460�15171727150�0022642�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#e1ID"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>3K+K4MbR2EW7l/ry59XockKqt4g=</DigestValue></Reference></SignedInfo><SignatureValue>dgyjONUs9rBjW7PH25seGqcMNZY=</SignatureValue><Object><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> </ietf:c14n11XmlPointerDoc1></Object></Signature>����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-5-SUN.xml���������������������������������������������0000664�0000000�0000000�00000003536�15171727150�0022650�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#xpointer(id('e1ID'))"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>XhSsDpWTt+ti0kcU9XYpleRDHfQ=</DigestValue></Reference><Reference URI="#xpointer(id('e2ID'))"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>abyA1j4yzf1IgQLWwDwKuU9l8Ik=</DigestValue></Reference><Reference URI="#xpointer(id('e3ID'))"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>RUUBiUeFf8uRqTlpCyutkXDqnJ4=</DigestValue></Reference></SignedInfo><SignatureValue>sG+0pHk9TB6v7jES9RZUIVKMFos=</SignatureValue><Object><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> </ietf:c14n11XmlPointerDoc1></Object></Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmldsig2ed-tests/xpointer-6-SUN.xml���������������������������������������������0000664�0000000�0000000�00000003456�15171727150�0022652�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1"/><Reference URI="#e1ID"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>3K+K4MbR2EW7l/ry59XockKqt4g=</DigestValue></Reference><Reference URI="#e2ID"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>hnKFjGFr/jwLCCTckZpaclOwe28=</DigestValue></Reference><Reference URI="#e3ID"><Transforms><Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11#WithComments"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>RUUBiUeFf8uRqTlpCyutkXDqnJ4=</DigestValue></Reference></SignedInfo><SignatureValue>XzEJQ+whhHUYlqiCEt8XFxC8wpk=</SignatureValue><Object><ietf:c14n11XmlPointerDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org"> <!-- This is a xml document for checking behaviour of tools with regards to comments when using scheme-based xpointers in the ds:Reference's URI attribute --> <ietf:e1 xml:id="e1ID"> <!-- This is a comment for ietf:e1 element --> <ietf:e11> <!-- This is a comment for ietf:e11 element --> <ietf:e111/> </ietf:e11> <ietf:e12 at="2"> <!-- This is a comment for ietf:e12 element --> <ietf:e121/> </ietf:e12> </ietf:e1> <ietf:e2 xml:id="e2ID"> <!-- This is a comment for ietf:e2 element --> <ietf:e21/> </ietf:e2> <ietf:e3 xml:id="e3ID"> <ietf:e31 at="3"/> </ietf:e3> </ietf:c14n11XmlPointerDoc1></Object></Signature>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/����������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0017730�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/DH-1024_SHA256WithDSA.der���������������������������������0000664�0000000�0000000�00000000673�15171727150�0023425�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0�0*H>0�;2a@@DLgHzvýgmjĎ9+ S-lC>v ;D}eJŦ^9,7lJm/i{Z?K~\x] Tq l=_&�Na;U $XXJ ƎN+U}+N_l{y`Mq dwW){ENTfgU卺8*Oa)D GkxGS|UESCyVhw~0 "&e3�;aֶbG�_ޖދ6!;L2b/FXsi%a旴 `w%.<h.^k*G8녶d/r]4؇+ ']_ґ'h���������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/DH-1024_SHA256WithDSA.p12���������������������������������0000664�0000000�0000000�00000002770�15171727150�0023255�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H 00 *H 0�0 *H 0 *H  0<yvį�XgLP�`G綻|=ZUGO5+a9:.$xADK 2-15(٦y?7c7 mzc2%MX!۽\ZD�!&ΛPе)<턣lI|=Vd_<˝2]{ґ OqI+4ö�7bAI&QKʭ*VvfX~ޭ2m7ɞ9n _yIfkb0XSHk'ۥ+IVdDT9fy0~@ fB#yVEøpWr[ '";W\c61/)%>/R:qi'r0yP2yU]5&xPYI@sdž.Ei$+Z,m0�[d[Aꄯ 㵁$oe RݡS҆~1ZcSGү{&:^P4T 4&!e6U]y8;R'GVj)jN+{JΣ* b2Sɡ3E!^Зq3) <q3RA\4ۿ2Tsm`QlPO=;sW!VU?'2$Np4Daw 9͏3,}̖͋B%}CP_?Пj[&U3%HSK0ۨnN%f1ۜG4/B[Rw[a~X1ikcFTxd�dTŚ Jz`g(<eD_}­tTN11*N|Q5͍hs>@t7�y3߀XF7p On;pmݶx5ApFvD?8ԓqv K&ALf`=a"<RCʧn\q #M )D$.fV9~ȁY1 ;Q ┲,#7tS,𓉠C*R"M<1ނA/#> T J1kQV!dddg$䷓ԕ"4+dPeV2WCߙby]9Tpe<w <]M\r|ɑ~JVó鲿m!ݬCu޴| qB-\ ХGuZ �>}�/�'*,+x av[M0%,gjƯ\7J߿*4_[G5ۂa6l7>طaU0XE~+(�#>Zg 9[010!0 +�e?EG \a:{`?)y���������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA-orig.der��������������������������0000664�0000000�0000000�00000000171�15171727150�0024626�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0w t+r4up,^ϖcb d *H=DB�={`SjOt"Bc[ 8跇Qb"EYK FE&n�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA-orig.p12��������������������������0000664�0000000�0000000�00000001773�15171727150�0024467�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H 00 *H {0w�0p *H 0_ *H  0R01 *H  0$<Gb w))�0 *H  �0 `He*Bշjp1PŴpMlZ�D(˭E�W `i ynQ@'RʭqE;[Vb0sT?H1=?v6(oω|F+]M.k# Pt|Hm?P8q ԋS@۩ڃV=qop6 (0<q cx Q\<L@C@l6_\aDFJ2I�Ԗ[A @^׃n/i;s�Wcj|+e{\HN#]RL6/0'b@ tCAЦ><sR MU(F֘%x2 T]EDPWѾW0vږaer#kD^@- p-_jVW7[P77O.xh>smZ ἇ{;7'JGNvhddY\i�HW)e�.v0 *H 00 *H  00_ *H  0R01 *H  0$)P�eEO�0 *H  �0 `He*#і~�llV <P qӹȦKȯTFWX¡~;O^T|uC]dl$Hr+> kG=5I"wS{1%0# *H  1pu& A`0A010  `He� &FwAO<�^1-崔&!wQ+@5ėǜ*������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA.der�������������������������������0000664�0000000�0000000�00000000171�15171727150�0023670�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0w t+r4up,^ϖcb d *H=DB�={`SjOt"Bc[ 8跇Qb"EYK FE&n�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P256_SHA256WithECDSA.p12�������������������������������0000664�0000000�0000000�00000001752�15171727150�0023526�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H 00 *H s0o�0h *H 0W *H  0J0) *H  0s/6n�0 *H  �0 `He*EHYe&k�ڡkhW*[|;Cۧמ~_6_FwI~u믽#Xt\HYูZ|Cq6]\zp/2Be C , |'B Kӆ&w~;KGEN?ەB۵!qIy0foZfqEsMs<ƕIj̱o.zG$?a,_/EjCOovf4oAmBGՇ,wq|=~YziHclSFkbg-_(s܍`6u{ Az"=7dFt z/J %l<@Fu Q\إ;Dԁk%YYWüRs*`.~{qo|.oǶyl/s߄ػTw 1sW Zh*W l0Ndbژ-' {ޜVk׀D 0 *H 00 *H  00W *H  0J0) *H  0LsH�0 *H  �0 `He*o"2xJD d8P7�i̺a%L>j_sݕ(R;LŸzR=sn-'&CBpvVS^q\G?IX<W1%0# *H  1pu& A`0A010  `He� HN,Ǿ|cGas Dx{=ޭ�����������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA-orig.der��������������������������0000664�0000000�0000000�00000000247�15171727150�0024634�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00p#ZgE1Xr1ӠYeyR3UU+�"db�4(Q3"|2 O9ON&(j߾S8";ְ'XB<U~69v֡'vl|TOO}m2J���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA-orig.p12��������������������������0000664�0000000�0000000�00000002116�15171727150�0024461�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0J0� *H 00 *H 0�0 *H 0_ *H  0R01 *H  0$x{S?tP�0 *H  �0 `He*9E?.8$`쀂@%3f *Y\"O7Iex|\iM;o)gԠY%v̶LvI$O 2Չmo[ f'9ń~AV1qҦHr]c7>\õ-QYa;H l' UsWrmn@m1Kfu].~i(ա ,aX>U|Г1޺32!_T_)',VGl8jjmy']|l}BӹR?R;BzK<͠.3t(za鱜sQcEaH:'/V$Z0ͧHZ0]Jļ!Wv4:6y|%+ocu7El߼(t`Dtߗ~uȲqy<ig<KjD\Z,θ)j!ZT% Gܶ CSNJ1:YfT,kZ)o&oK9"Y,t fe[ %w^00 @K1|H` em;2&o)Ry(1'U]/140 *H 0�0 *H  00_ *H  0R01 *H  0$%+wWo�0 *H  �0 `He*+F8;`H aWS 6c&o\Oc}so|tFI]oRqWD/+#'5h"_XFS!Nt'jDxo1%0# *H  1nF*~|j-fۄvFr0A010  `He� Ve{a딕K#-,L-���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA.der�������������������������������0000664�0000000�0000000�00000000247�15171727150�0023676�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00p#ZgE1Xr1ӠYeyR3UU+�"db�4(Q3"|2 O9ON&(j߾S8";ְ'XB<U~69v֡'vl|TOO}m2J���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P384_SHA256WithECDSA.p12�������������������������������0000664�0000000�0000000�00000002073�15171727150�0023525�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������070 *H 00 *H 0�0 *H 0W *H  0J0) *H  0.f �0 *H  �0 `He*x](LOI5rG@-P 3/XAJ 'r+ !VO=J"I&Gn�/`."=2Qۑ*械�zt93-9vr͗~h.2qh{7m 2V<ʬ߉Ջ?,$ NE1Q*wWsxøa >E[){PGܞw8`ze{lkS[ 5XCd5a�᠆=XwԍODC-Tۂ!b:G(i"爱c̬zq#10.`хK(s-2jFgYl 1KK18%T08HW'}i,ʪ۞ЁoWcHŚ^6*5pwcEe0 vÆX]P'K`ļY&1 l~*$R~ve($yZdl+R_D|4]cE�ӊ{_ C~0,5K}YFA &)l5Bo@LMϚ50  *H 00 *H  00W *H  0J0) *H  0A�0 *H  �0 `He*s#0# ^�P`Y'Qi|x٘6s4!n5.%U;qyMv�R c7>4{r<3$|tI`D�"4 1%0# *H  1nF*~|j-fۄvFr0A010  `He� w`5@%W bmͩ<Dzy&'����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA-orig.der��������������������������0000664�0000000�0000000�00000000337�15171727150�0024625�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0BaN#ٹib4E3,` 568砐)3AܨTFӝ>; ҽ΁&l+�#��4Э;oXTD68< >vs;p�y,aԇMRKj2kZX6~F?}/*C[JKyX<nQs ;�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA-orig.p12��������������������������0000664�0000000�0000000�00000002257�15171727150�0024460�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00a *H RN0J0 *H  0�0� *H 0_ *H  0R01 *H  0$ 蕴.L�0 *H  �0 `He*ڗj\{FED"U@aIzmJz-ZH²8x㮰ֽ J,87+_S9F'z9`^0#G_uQyKyNd6pJۜ�M.UmfӲ"g~4Y{3d;$ *6_j়]]9SC2ƏBk% &Go 8NɼґGd2J-EJ.;fW�q;@h $t3stj EbF�+!]p^ʭ]<8�sYg5} V@gS,EVɶDs(w<g?1PV R #B",|')mi9;].L89fqMh8Yœ �O&g,ňTGs*98/=*(I)|ڀA m͐MkYFȱR?R ƣY`K@W– :C{dOrCΑk@.΁E2l4:kdcg ЖV EwݼDUSؼ3i}Y bj' &ߢ%pj8dyq%MEES?ٿ50( *H 00  *H  00_ *H  0R01 *H  0$[U')aįw�0 *H  �0 `He* Pk}=[c8p 2L"B5a-q-ޯh/J+թF]=i|\5EB(75`y٦$jc,hz5PB1hHGZ1%0# *H  1{>1DՂ0A010  `He� ͜;62 wc++(a ^)F��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA.der�������������������������������0000664�0000000�0000000�00000000337�15171727150�0023667�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0BaN#ٹib4E3,` 568砐)3AܨTFӝ>; ҽ΁&l+�#��4Э;oXTD68< >vs;p�y,aԇMRKj2kZX6~F?}/*C[JKyX<nQs ;�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/EC-P521_SHA256WithECDSA.p12�������������������������������0000664�0000000�0000000�00000002237�15171727150�0023520�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00Q *H B>0:0 *H 0�0 *H 0W *H  0J0) *H  0O,K�0 *H  �0 `He*9u:nPezEgdiscV]$ cu?ad6Xv$miu,*_1b3];[ɿ& n[0W1'pU_.+^v6#zǩ9\U|�wW{]G ^0yĈK<4x-Shξ?/>w\)`'FN/~\JRX)GiNW8SխR&_~ u è 5 %bN֌vmo7`{PTP1ty)/]&s+%enBJ`2#n(TY6@F%!NND{:G;(jV(&UJwG H5 H1%Q^b! j (Fohc Bӡ[V@|!⬲<@DLqਖ਼%vx>xn jB=_7;}DSu5a\+%@F:K-n5WiAsɃّʈWj1;h~wbf>i,q8cIhr/ڝ4R< q"3Ck~oBh[8{R>rV0  *H  0 0 *H  00W *H  0J0) *H  0j�0 *H  �0 `He*ǁ8nD,rkp?.Xu<zj /#^5n =Z'd Yf= ~OĶбZ Rs,|Xψ 93.OOT&O^ ^kiсxč1%0# *H  1{>1DՂ0A010  `He� ,R$1^;}lnRH:jSMI������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/README.md�������������������������������������������������0000664�0000000�0000000�00000001254�15171727150�0021211�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# XML Encryption 1.1 interop tests (2012) See https://www.w3.org/TR/2012/NOTE-xmlenc-core1-interop-20121113/ # Aleksey: - The PBKDF2 / ConcatKDF interop tests (dkey-example-* and dkey3-example-*) are incorrect because test vectors do not implement padding for AES CBC as it is required by the spec (see https://www.w3.org/TR/xmlenc-core1/#sec-Padding). As the result, XMLSec Library produces the output 8 bytes shorter than test vectors (last decrypted byte in the decrypted data is 07). The original test expected outputs are saved in the corresponding *-orig.data files. - The ECDH-ES and DH-ES tests were adjusted to use KeyName for the private key lookup instead of X509Data ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA-orig.der���������������������������0000664�0000000�0000000�00000002303�15171727150�0024532�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0�0  *H �0��+"3u۷#<6IL|3# $n= H8v!Vih,g~ -^VskA,+wN3L&.K6裶"ҙtLcgT){>�n2`,+}9[;) 6{ 8b]P!%,ovl*NZ -Aױd,$fV�諓w3oK}0s]U.LNڪwg <6 ��gS5!?Fy튆͓6V^be](|Fk]$"HS8GeD~?oqf iڥ(SbWZl؈'ЋJX:j`s;ؒ^0h؞ȺقEYrRTP4 _GH˕X @Vر EeEF-y iz͕φᦒ3Y_]?7-`-&oUx&`_i"7`vHĉd�Ia�+;Rmc;-2Ǧj!hƀvlڻw-,j~El)CKvw85"#,U0άw%Bq TܓBZu1gz̀D\W۹gi{�]+sx:N:^SStvVTwe .Y;"lD2!lAlL\$m>Up~ƒy3{)mS( Ŀ050P6l/yz'�ںz-?dnX> w*" v5DYBwe3Q엪I/m!ֽJb>RԲ TRE!~ U- wnެ8Lk�±:=pٞ85)\K䄼wVTL<ULwW\w 0~7Ss9ԍ; CC+/\|RK,!:<.R&#q턜M�9f;sZ^�ػo nCvq !Nv %SƊZ ~J _Se;=nJCyrnTU`w35'x{aX M2KU7V~;"�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA-orig.p12���������������������������0000664�0000000�0000000�00000004330�15171727150�0024364�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H 00 *H p0l�0e *H 0 *H  0j-K96N�8}G�2| (6>JwIw~t/G i‚oy䎼ˆhy mtNå$I:H0_3۞ǒ6`=bǃmxo*Lh!�w�iz}L9Cqվgy.s*)x".sIx.^Cafy,w82gC۾Tf<^0H/UY^Ze?q3sQxsXJYfO.m1wpdC7Wv v{#r0]\i5,:y@3&yTa^ a {~ߡ8>b@+uboxrVо0P!1yy.E`:y }I;M3ҷE038cԖGI]i& y2:Rh.$ A[\lKz':lh_{?`D7QL\hmW{tY!s.cmewv`J(Mi|;P׎u;}&,(8EDw6_h xuCOhH |<pxqUGL/|Rri~wi7Q3Sodh̳ |*z2]W k_RlFRo'IBy6U~FZn3 +45߸sE= X!p`ְ-D=T^IXv[_ Hқ\,< 隣6U-< sF[(eP3^WR"V#PXO;�D4q74zCUϥhK&T8et)Y=X>Tt6/B2-'d':_~z'9~Jie&7@M"bseb&zA5;&[+Yxؽg-bebN~WsVz%s.QأK) oVA mrUY$u~]N=j7: ̸Voر0et.RX#&N=) 3܄ËrKaIN~vz3&nPv.ՙn]ZCGusE.8ͪ\' -#a6<eHc*ҘV,d؛ ))@Ю؁N JVy]z+�3N.20'9J @pWi1IpMR+A`OӵN۸#쾻 [Av% 9~e!O*si{5;e6tj%h b5:^b\/јshA.A<[΃62qV` IYEIm.{f*G+y(~~t,zJJA.gc'0v&wV?Ew6^K4G|  2l*U8T*\z�0 7Ξ kd ^xۉk[ꁯkƱ-j4`nhq >ʺm|H�\P?jɤo-Epff> ;٨vz8, (czƤaȳ *K@yބ\lm+tvlx!κWUsIjǂg)DN(Uw<f3K<9E p-"w5w¸OlƦIH=!JZ+�Zx8R@pB Ւ O7^yMJćQfNR=MD!3,;6'f[Fa<Dv `>O%THvTYL˕j߯PN,$x{IO%O--WUhfrQ{],6)bC!*"/?&4~NEΔjY+010!0 +�,'s 6ytVFADEQ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA.der��������������������������������0000664�0000000�0000000�00000002251�15171727150�0023576�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0��+"3u۷#<6IL|3# $n= H8v!Vih,g~ -^VskA,+wN3L&.K6裶"ҙtLcgT){>�n2`,+}9[;) 6{ 8b]P!%,ovl*NZ -Aױd,$fV�諓w3oK}0s]U.LNڪwg <6 ��gS5!?Fy튆͓6V^be](|Fk]$"HS8GeD~?oqf iڥ(SbWZl؈'ЋJX:j`s;ؒ^0h؞ȺقEYrRTP4 _GH˕X @Vر EeEF-y iz͕φᦒ3Y_]?7-`-&oUx&`_i"7`vHĉd�Ia�+;Rmc;-2Ǧj!hƀvlڻw-,j~El)CKvw85"#,U0άw%Bq TܓBZu1gz̀D\W۹gi{�]+sx:N:^SStvVTwe .Y;"lD2!lAlL\$m>Up~ƒy3{)mS( Ŀ050P6l/yz'�ںz-?dnX> w*" v5DYBwe3Q엪I/m!ֽJb>RԲ TRE!~ U- wnެ8Lk�±:=pٞ85)\K䄼wVTL<ULwW\w 0~7Ss9ԍ; CC+/\|RK,!:<.R&#q턜M�9f;sZ^�ػo nCvq !Nv %SƊZ ~J _Se;=nJCyrnTU`w35'x{aX M2KU7V~;"�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-2048_SHA256WithRSA.p12��������������������������������0000664�0000000�0000000�00000005160�15171727150�0023430�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0 l0 " *H   0 0B *H 30/�0( *H 0W *H  0J0) *H  0ߩna�0 *H  �0 `He**_�u-T9!€EB*l-JV"o= ~:L)i!u.g[B-AXݕYp-9L'ryDΓN*,bm2GU85#?9@ F!Tقqk^DR+̐hxQY )"jFk5"e%H&r6:m=3L'+V9./.JH0\e>|? ?bU-4gĽcXYY /[on@ K9O*I{�%NxSQ4| *O+r~ru2zlߑrjn#h!i 3}{cR{ 8 awmC Y,.k`1[;;u;#| /wm<Gw nG;y!$lxeJ;28 OS-O廩}Ӿ=H^\(5ZxF#9VϲxNwU^\ܨ:3}&aFJ_(9b+]|7u{X{a<La=l]M!=O'ϭ@ڟ:6%Iۆt /f٤o9A$8٭2)POߝsźx+x r_!)e NUϽ\Yx(v0!sNer Ec/8-z/ەJHllNKt(wnnep7C( GL\i J5Wkc >]CT*vTAJqj][Po ߈[sGf(m�:_1AH u S|4d*6w0ef}.i~>_őt\*11v<BIƹA'Skf1:k00 *H 00 *H  10-0W *H  0J0) *H  0ɗv/~k�0 *H  �0 `He*씥CD2xBltKʌ4PDPM97bt9t!??B%@)ւJn5'ۖF1 NhoWOO76| [GJJX\#v(HncS]n*CgYC~fLX(x4'2vE�IUrg]N 4pߺJOFZ- fQ6RkЪS@̠v-h2VDvl'C-c"/Ey1q|)r6=S[SIX+ݳ ,0kV>rgu> ɏQu+L1'㔕 UlZʩ742 zwz&hyUq҄�zEޚmB*N#zeaW6 ` Q<)j)\-^B ! BPs֥ Wub,@9)z˳SǔsuD/FZryk*|" RV�<SՋrv6sgvMs,k΅Y*f0ݲ3X(F+QL(,F'Y'9CNH'oO=S|8y/}zPf\Z{8әSDգjz+m2FP`VUdVe!KZCLJĘi(Ek:qF[Ct 4Ara*f{cȮ|/o0=N0Or*` "ȁ|T&95ASͬ4CE% 7at*e}wܯH:>x#ڄ(Nt$%eC(~IY`̺}q[4(V٫/z3QQ?2wEF"Ad]g8`Λy>s/A/ZӔdrL / ~%ELw[dQcEi*TaQ\,p 0^?C7H{| ճrv:Z�g80ZS̄6IK6 [L.�6#Jq%NOU¾d@$r:sD* ׉PV|eu66UWW,_O ܩ8Se1c\2z8I6_Pa A3@k9F|2l(%\mqM;V?}< 1=K@ eh3¼Lc=J/1b0# *H  1n qd1Wʸ`Uvʮ 0; *H  1.,�R�S�A�-�2�0�4�8�_�S�H�A�2�5�6�W�i�t�h�R�S�A0A010  `He� D >ց8AݸusPP#Juuܗ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA-orig.der���������������������������0000664�0000000�0000000�00000003401�15171727150�0024530�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0�0  *H �0��][| .lF n*Tܼ1]N?[7bo W(_/7ij$;ěpM^-yIVǮ^yWu<]%( DjjXn0?渴yFm`V, h"u 5GiȒ~#hJr "gg {").p [|%T,[M^->_;ÅI8A{lx BJ@݀@?/.'WMήx h@@RO58C !Ј hSIǶXeB8@g_1?'J�IVk$�L!x3/32f=.eq>5 G6 y1EX֫BB;�3F:gؑAb0%!Fo(da]=**)sQ.~i*ɑdd VF&H`\n00l =FBc1In92꣼vRZ[)][dq^A O ArzIE\RXd0""-6|(;÷X 0*]\{XR<{i]5QZ$|\) F*왩ʁ !]L:Æ'yAnqL\^QH24X{mt9Jzn!�⯄$ekI5\;F0HX0&Ij&—,ƞλeK3jǍ#&߾qpC(kt0c Y|VP-Y#Ym;_v&藍ɱ^ '- lSb9DU~Y\^Pˊs=!jHnkߍ�:{ ;Q29!~24~Q\%%c@.0f /gH L JV/*2m(d=HGd\�B2<E T]tRD;8N\"6_h&w&oLv}=8g|S K Mϊ5�^ bXcDqv jdO2N"$?i>a\?O/GȧL8#-mI?$n8rK\nѲgzgd˦@|~yb}rc]s,N|wϨ?"ߵ*3aW:3^ _IY%Dc!Q/!F" (m'Am2DЕ0`W[tx niDTw?чWU*|NwA|II9܊֝^MG>x17~U=&xiŸb)WJ<fνc_*zk Ο-8G#jIy>  #uxic#ь7;@F UYzaX >j?}Ny2u1{ 4<qP#]V&TI2,kob%0球cB =Ln6v~rW-=-kהV~ (*ޔakZIJ60`вO'sj`)%c! ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA-orig.p12���������������������������0000664�0000000�0000000�00000006020�15171727150�0024360�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0 0  *H   0 0  *H  0 �0  *H 0 *H  0vO� pz0jϣtFMU*c080 2CQ+XӋP +/^NX2tY~p! 3jĎP5]HKT!B[ոo2R݀KB #Knu$!봕9e:ObjUB|-2,B~dD]:N[ze`XP Ôpv4Б]=T #>ƌKh~W7wuAtu:=ܓ`e;1`e:OyM;s%)ߓl/0 8Wyu�]=V.@mѷ/>r=N6pg s\3mA HuЯT=̔j[:$rV0vQQ;vOA>n~kpͻ ~}\ݤ~WbV?S|zxгޟN1QЙ�-rUoWrd7S$Qʥ͈DĎN5͋? [_zgxdR䑲X'ΝeݴQe7)P�<y~def.ҍ/}|Rk;ű"7TɲlԈN\f \'wN;݁(_5`]Q8B+j;jX0H`+|f-f_o !iM+o)J6<iPW ԧT^\*@?L�)p 5$-0,t'4F#.\;%x Zh<u0z^ �#&?dIeG2O_8gY@9¤D+T^,B% T6) v6JNpdIϗ\8s)?˻[th^nLI̓z`(VgrF [<a\Zj@ll*30u? '.7 y,0|Т Ft' trCOm<9@STgZ+`F5˄ L3>1bmӲ_׋2p4l>s%7iP'u7텞WIO*?:�q^/n/n};ګ[͒.ܰ Nz=_Tgp?cdu̩y,TS͂s[މ/�=Ma` ճZ14ZFg rS93JyA>iׄ2s;ko`1͖3q9(/1y01 {&PK{KJ8v10qdR-0D%9fEǁ5JZYovD+H\}gŴ�t τ ݋>&7p5&%o<x|ٴNmO; q>8=yN;#)!9y)xA?b{~?hRJ1>**(^oBkb0tKY!m!,*i;+AO3Nuc$Q[/%DxCq 0CړtS ŚS<_NZ"t[ziMJ¶AX'D"Z /ʫ!F@>( Gd@*Qr+k\+ Fm>JVYMOV ـy۠ e'0(]vvaE  SPTیz1g-^Fw`)ד| zGFR3<kX i$wiIm.q!6 CW8(Kbx$s;u[Gœ_DcUuں�ēbMElD +Ea8K]0>{F%pn=wco̴rgNP}WFBخa>(`{-A">N${F;m:%ysvYOOه3|j4!,F O2u0@@}.Kϥ5o ~+2 Id=~bro=5l,6*nFosҘTY:|qluaֺx~7X�doMU9 "47!n1.mcJ5˳gNr6ϛWozNĵp&ذ?ˍD &煿zq {S@mpeWO\?fZC=Nj0m'"FaU\*EyPmF/_3A8<y_iy%U 8iO| $$IѻdΣ/:sj=A]ܫ~3bO 7Y\J/`w媼ަ>:.~yd`T] OTqc\jN91!!mڍ-WYބ 3!l>L`}0!߄XD@\O .'LkCzGv-He$:R OSC6k$<f!^PS2t &幛( w 3ګc! T4N" TH 9[ޑݚIGv.LjN\^gCwW5u0hyp.&8m#aպq.yJZdWC@wo(@9AXB -z"ß*˫!]m%d-;^7(ABQi_e3G+qZ8R�G: 3;b5%7@'#(?010!0 +�QE[% jO{Y[FvU�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.der��������������������������������0000664�0000000�0000000�00000003347�15171727150�0023603�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0��][| .lF n*Tܼ1]N?[7bo W(_/7ij$;ěpM^-yIVǮ^yWu<]%( DjjXn0?渴yFm`V, h"u 5GiȒ~#hJr "gg {").p [|%T,[M^->_;ÅI8A{lx BJ@݀@?/.'WMήx h@@RO58C !Ј hSIǶXeB8@g_1?'J�IVk$�L!x3/32f=.eq>5 G6 y1EX֫BB;�3F:gؑAb0%!Fo(da]=**)sQ.~i*ɑdd VF&H`\n00l =FBc1In92꣼vRZ[)][dq^A O ArzIE\RXd0""-6|(;÷X 0*]\{XR<{i]5QZ$|\) F*왩ʁ !]L:Æ'yAnqL\^QH24X{mt9Jzn!�⯄$ekI5\;F0HX0&Ij&—,ƞλeK3jǍ#&߾qpC(kt0c Y|VP-Y#Ym;_v&藍ɱ^ '- lSb9DU~Y\^Pˊs=!jHnkߍ�:{ ;Q29!~24~Q\%%c@.0f /gH L JV/*2m(d=HGd\�B2<E T]tRD;8N\"6_h&w&oLv}=8g|S K Mϊ5�^ bXcDqv jdO2N"$?i>a\?O/GȧL8#-mI?$n8rK\nѲgzgd˦@|~yb}rc]s,N|wϨ?"ߵ*3aW:3^ _IY%Dc!Q/!F" (m'Am2DЕ0`W[tx niDTw?чWU*|NwA|II9܊֝^MG>x17~U=&xiŸb)WJ<fνc_*zk Ο-8G#jIy>  #uxic#ь7;@F UYzaX >j?}Ny2u1{ 4<qP#]V&TI2,kob%0球cB =Ln6v~rW-=-kהV~ (*ޔakZIJ60`вO'sj`)%c! �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-3072_SHA256WithRSA.p12��������������������������������0000664�0000000�0000000�00000006660�15171727150�0023434�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0 0 b *H  S O0 K0B *H 30/�0( *H 0W *H  0J0) *H  0@Q ^&�0 *H  �0 `He*Oi5*YGPUB[u>v i<߳*ܮ jq$Ҙ9u~:p6o9nOTY-lܳD`Uw.#jF=ԡq\m3fl: Zm0Ϙ2)qwH8Wڳ<I+[h̫Y$RvݸH�o  's&E`^M@w(rI)FQNaR8DwD-& Mdս=6B[udh_I.a r8WO>왫흛Cx&L-ڡ[vqU ĸQ{:99d_iG=6m*MfLy0FR;0Ɇ ۋAF?{܃0XC-;4 DWnrz#ELl�L瘶ht>躸f(4%`lS[/wD'(4rrEɑ>~g'\+gEHڍQTvֿBҹG:ʯ}aצGoL$̮EhhhCaO|"_RusH^`j FTIspř| kuxUDXSq:O6$g|h G]뮶?@LA*~!eޗ(ll̘YX/\^Sx+4 oL�:'{~|6q ݀TI-gy9$ io3 3* 0ֻ BOjEj!'$Ws=CNN {E\|{jY*8- .<0dla$D*VM4mlQb<6=$ˏ/QҫS0 %wiAU0J>@2eJ s~@}xt+d[$!n\{G)&RT#~`&j}7.�Em{^.-ICr45ĐCo;Tu?em.E%"۴n =C>ÍEr۽.sءRᖈ_LsW�f@aAL~ С[FGSuԼEZh75I(=b;~qQY(Bg~Tl:ddmq;W Cs0 *H 00 *H  q0m0W *H  0J0) *H  0y}f�0 *H  �0 `He*CŔ^DAbN'}Vξ*僛K7cS/)I0D2I2oe- eA2m�\6d`vې){q#y!aN͗g)V@OSW~̑W�XA&!1H,eo3|z@Jh#'ozwv"/ x&VHý%(=[\>WMfĘw'תx \hs\"e<FokͺFZtҎBq*F:$IOp-{ރ׬FdGB-1 55bbe9[m3gwI29z# V+GyY$ H+,M.x68/bݜϰT׼f(gُ aH'Z푺*w83cg}!,FG9]yCfb}V1 Nn<O@N]zJy"X[V9KW0nzn;]%D5UbSd$P^TO6!}: sb cl܏ tg#aj\{Rq!v+ɸL7%IT2U�f$VnƋ a�(m;; sQacM1Qf~(w%cO,xz!rG1[/XlU}ֹyE.wJJ&%-#|kr?s[b\qΘSɮ X 8~3/1) +} (~}^ã�dZC%cjV*_}QxՖcne/IGx\@ȑ=~k- 0J@j]玃;U؞X}&}]X-1K+Ȣ9]ۍ!ۤq.`ORV y3l pɎIJO~�L,O2[xKgܙTuR)S&-$m5z _q:9S+sOmntz4#$z/֒_!@ J\z$6 }z* p!j| }%h3u<sI?FڨF dLdJb*Hz,P⛿Ac7 f|]4A(z]ɟ+xu+˱pIW=Wxy <JJ#Ӣ �+QTot[mu<dTw%zy S |w*@ǚVH:ob.\rJvfR:͕jR9IPBUsùNC*=bz #+ 153ST+(]ջ'J\u x Xe6UJyFaZYa]^&4E AoeR-@v@^/cdóAḱ5GYS$|Е.@�ǘqbщҁ@3O[aRdbn;py=B2hAxıs S%A_S#?JG;wR|W3*֌ @5WR4tTP N:VvL& F.GS`ѬeS#LÐH QS9VPR J({\RL@3?-vN Ug<aFx:LQWD1`(5O?n%PAeNW$(*5)NPkug8WaE^�bgVسj_;1b0# *H  1 Xym3eML,1Z60; *H  1.,�R�S�A�-�3�0�7�2�_�S�H�A�2�5�6�W�i�t�h�R�S�A0A010  `He� ިi>t(�ou9vR=X3j۴ ���������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA-orig.der���������������������������0000664�0000000�0000000�00000004506�15171727150�0024546�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0 B�0  *H � ,0 (��>E JN6Ģ?)߫|.4Vv6Gp(;hg.׃lv ۗ}'[ɻ˃aS掝R]c^') ?jV*&$'%\@+ ]v)+|2dbr(&׻! T5 yo4ٝ(f5Cr钺{:eK#-}d=Y! PV"(�)6U&X p'31B Z-m+ ,N2*d"FF2zp*$AݾƼ eLr\jxYb|:!Cp_={:k>wZ?S DHˍ�˳J{MJ5{TA$fy'8(xz6MBG�<g; H�|b,6m?f 5O%gђ )̤u fV_r쓿 kXxLyu۫��*z$uȔ -ЇnXF!|UC0Uw4ٶ;;BN`+Ils(0TҞ}'wnq@6Vj.`b;p쁮$u@T MġqPwH;;ThaaܭEסFƼleF͉K\pANSbwT{�߸i�"_]'Zj\%dqEɉ﩯4d`X~U:Mlۊt))g b9|RNdNq_TD#"bQ7."n懛 DܫXToXyBc7 XZ,]Xp2ZMSL/\h 8Tjk^xfe`[\W iDR Ӛ{Yo2N|!CsZ@K/}�kW7:)Uǿu%x-B>V~oWs LT+ ;3Y&[�RB#DC:*ڐ:EZxW0i9IkKf/&{>Ƽl*784 YP\*o0⽳Lv&lJy?*W@}JoBna7|Ye"xcٮ9Oh+f;CqxݮȻ(ǾN+IQA!-iZFPL>h.~sp=nѧlAOTYEJ.8zc]э_m)�ߕ*X}>#F[U]x ?Ehjt9x8TZA!9(7J\y+g{-3'b3\kr4h-x0 <A<pɳ�ˠr8<Zd,�Z{{g^hdQ PZnn1LMT~w1-lUݛ, pWg^2k6Ϛ,ǍwCy(ԡI֜VƚMH�F/r?#BXR.)|j' -֟?X گ'Qfy[#*n455P�AH3o@E,#x(C߳*"6qV[磲x$<D>oס{m(p,{L:@UI1t4pb*CjMX鮍ZЍݴh')B{iQ@'g}E wn`rm9@7zY )�PKź(0j^WK Nk3Gܲ+YAtɵ? Q)ZA515:ɒY<Y�^q! AQ°rDM.גh-|i7C{]Ţj[GiUԲ$�ͪ+zQ!tZWḚZ*1RȰ?�>R't#.I@*ekh[�˶0 5qS&hCp;4$M -i-l gR月^ֳH8OkԼIp484)*AV-ݲuUz2e-' �NJy|/Dl%k|؎Dԃ~uC۵7h-rYM7G.PD,QyQ/+=.*?:nx zlʤcRB ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA-orig.p12���������������������������0000664�0000000�0000000�00000007530�15171727150�0024376�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0T0 *H  00 *H 0�0 *H 0 *H  0PaT�L݊uJk߻:(z:\io$ 46r '~8�Km]|Yj9mH_Zd3YPT-lf85|N7۸,GmF3rDqi%ϻҽ ]N ;NX ٗىqF+n|?;:qu r¯'&xjX9ss> D)e[j3PՑÊ:K} wl0E͈4~4.(Q%)υe.hCcy|CuƉ~ ^h(rjN*K4 21O]+xՖN1"bJ C@7+5Dreh6!ֻ6+D/D duxJl೤?m[c ![]-CrJewAmI&9'"H[j{2oƜTg=`@{w/0E04qLɗW8tM1u'DZJAmF85djsK/sKp٢ڀkVDŽhLՀ?H0-z^<Ztd9 {4LDI*yNm; >R 'WiA ŸFQ:4?d*s%Z!]bj vXTZ؄hȟ#T!0~]CuCƆ o؃>.+WFpIJCbzOJBRt ڤ~I>'z;< s8%c�:K:2%+n\`_NRTc e"pq33T]Ɠ1 F⒔7 #i\_ d壼&ѭj vP^.G+xgRnS|-Q1O:''Y8?d ^-Ďx2TeBg>ђرcFLq)gOҠ dٺBV FJv x~jIoZWtiCOIPŔ;λ;yH,P w$X4\x Kjµܕ[#.BX Q͛[!O79s#U!u%أx�u`BN|+fiC5:]T 4%NhF+1Yh$Wr^<G.4HAftT0K'e*G9vEB<TSQ$NPUrk sQ\eFL5RSFq^]6 <lc]㯚wֽ*} |.|ڊ2n dcfoGtz{N+ ٖ~u z5lh^T09dgw ˼&hAZ?W Hi~G hYDž! v2YB{^X oӔ0bblRiZ[bݶ: }2 |g8 VQ @4nI\y//Izy3X1suyB;䲃(Jn6aIyݘ$K5 f өtND.]S:%8E8fCCR!dDlwޔRN/?!gNXffFXYR{"nώAZeèY2ל˨@M%!F{tUW[LM*DnL{m:s\#uSkDQ== LJo*˄?ҽIFՓfĔڸKaY'0zbYr )JaeSq%Նn_!|Bf`:ʕͩ%<˻"wE ru'巬kt)VWaҞ8:ߢ7[aQ+ KZn]"tR GrljA�$ᜦRT(,dL^Rs3:tԌNi}'W Nb}1V$XIg{reêﻎ*@:/JXe,OlA޽WoޥInB߆ !*}xEr2MS  z\*u)fYOkYetM}Hrh\?Zy݅69P)CPzx8Á vT\~^щ \TĜTsM3W&Lb D$Xn/ =?t C%GEdf@o0iD򯳅dJ-U;,y0n<V#V _Nes+8a`Yje-YӱjK--"f|#\v[T~޵rvPL)qxkv|~Y[? �o),e~Ao}Ў,^sAt `M-! 8(2|KCJoC x5(u46;2mF"K$>.m ;tn$ffr-u ;CNsO1Jp#jQ+T`|SneX`5yRv9ƺN/c/7OD 3n=DTMGRi mq ,ήj-,MXn|Su>McB{Wħai$cpz;*;D,ڽN6CI[~-Ȱn}tp?3SPu%fL Ȫ6Əl WCD5LF)d^&9ם1,=KUV0"8᥋о2tnˊIUf*HGU;U7yro`i{86x^5hRuiѐ(?eQAN0*wS_a*T$0x'"ٞ 9YV뜡CѻܑG!Kr[| 9|#c]x*1}z3^e4s]#9@G)V { Z_L5Y# Iy5��sE¬AA$x,@0y$y$I%-{> ܂xy<MJwkƦAoB : v~ѱA2} pAuiEDqTTW㡾uRcf˽H^f1ҴehCpϞQ)dCE<�pLF\7^!an8v!}cQ_$ ZOKc?p2;f"|t tR㖦^/|`t#ޮf~*\e*wP։9L%o0bhI2z "30>s5K'ΙiٞfdŸ:vB nU;Sd>BV)nk}ev+[\/ ?_ ?>h⤜̈}R[<CʈjM1-.t2Wݽ}S 4Bk쎅CM=1%>Y~&w;)*jLaXymM _'2ozm״nL* Kq<rHw'I3010!0 +�!nq*[}&Hp;l�������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA.der��������������������������������0000664�0000000�0000000�00000004454�15171727150�0023612�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������0 (��>E JN6Ģ?)߫|.4Vv6Gp(;hg.׃lv ۗ}'[ɻ˃aS掝R]c^') ?jV*&$'%\@+ ]v)+|2dbr(&׻! T5 yo4ٝ(f5Cr钺{:eK#-}d=Y! PV"(�)6U&X p'31B Z-m+ ,N2*d"FF2zp*$AݾƼ eLr\jxYb|:!Cp_={:k>wZ?S DHˍ�˳J{MJ5{TA$fy'8(xz6MBG�<g; H�|b,6m?f 5O%gђ )̤u fV_r쓿 kXxLyu۫��*z$uȔ -ЇnXF!|UC0Uw4ٶ;;BN`+Ils(0TҞ}'wnq@6Vj.`b;p쁮$u@T MġqPwH;;ThaaܭEסFƼleF͉K\pANSbwT{�߸i�"_]'Zj\%dqEɉ﩯4d`X~U:Mlۊt))g b9|RNdNq_TD#"bQ7."n懛 DܫXToXyBc7 XZ,]Xp2ZMSL/\h 8Tjk^xfe`[\W iDR Ӛ{Yo2N|!CsZ@K/}�kW7:)Uǿu%x-B>V~oWs LT+ ;3Y&[�RB#DC:*ڐ:EZxW0i9IkKf/&{>Ƽl*784 YP\*o0⽳Lv&lJy?*W@}JoBna7|Ye"xcٮ9Oh+f;CqxݮȻ(ǾN+IQA!-iZFPL>h.~sp=nѧlAOTYEJ.8zc]э_m)�ߕ*X}>#F[U]x ?Ehjt9x8TZA!9(7J\y+g{-3'b3\kr4h-x0 <A<pɳ�ˠr8<Zd,�Z{{g^hdQ PZnn1LMT~w1-lUݛ, pWg^2k6Ϛ,ǍwCy(ԡI֜VƚMH�F/r?#BXR.)|j' -֟?X گ'Qfy[#*n455P�AH3o@E,#x(C߳*"6qV[磲x$<D>oס{m(p,{L:@UI1t4pb*CjMX鮍ZЍݴh')B{iQ@'g}E wn`rm9@7zY )�PKź(0j^WK Nk3Gܲ+YAtɵ? Q)ZA515:ɒY<Y�^q! AQ°rDM.גh-|i7C{]Ţj[GiUԲ$�ͪ+zQ!tZWḚZ*1RȰ?�>R't#.I@*ekh[�˶0 5qS&hCp;4$M -i-l gR月^ֳH8OkԼIp484)*AV-ݲuUz2e-' �NJy|/Dl%k|؎Dԃ~uC۵7h-rYM7G.PD,QyQ/+=.*?:nx zlʤcRB ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/RSA-4096_SHA256WithRSA.p12��������������������������������0000664�0000000�0000000�00000010360�15171727150�0023433�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������00 *H 00B *H 30/�0( *H 0W *H  0J0) *H  0'�0 *H  �0 `He*<0;8vcX<η~cS,�{'$:>8 gUN`�@LEtd@2UͷE!&4gX}8u#DCi>!�HAOF9#FU{ZKM N#}L%`%pWX<[-m?}ܛbwCf|s{n416}OB1m[FSxOl&X3MW-ILh.(-Na^[Y«`e�'QxZ&ܝ.HTQxbቐ,i~|tf Lzv(!MHS(]Xk |�(fe9ѠaFfRX Vx4rLayH1%FK.rB9wv{S!v O͇L#Od&ẗٕA;8Ϯ9v_oJ;{ΨHu4rgul%EiӠ{Mq<e-iKoϝӼՙb&x-bhvG.Vt}!CȾeoB5Mbl&N;U f{^ BͰy N&Ws1<.\z c%SʺWcaX_zP>EJ H$*#1 0W?U+/_XB N ^ynkVev?x4^ 0"Iњ 4oW"\Yzh%i:,׉ (]WĵGv^;& <pU5k}xF}.bD <9Rֶj/?Av=gDչ&z*+vPNe 9L7d)- O 빜!ӿ FhiugP~rLs0xy<V6ڻٍ/:hJ6JP"5olvT!Y a7aUBI4'a941UAG'?^^5]|"|M|klmCf^_}Mmީ)`v脩YLgK"Zw#b)rךěnx͋Qga/#lbJQEZ\>d1ώ0oI!+$1*Ԫz{J.J>ђBMT7%}r)nJuTͩm9ê4l'Z3p |k@?t*|9<KWՠ)Zo*A)&? }\X _O/tqv3V<4O_ ]q m[POXH3A>딺?@j[n/.yU0 A *H  2 .0 *0 & *H   0 0W *H  0J0) *H  0f(J0>�0 *H  �0 `He*P84@0S' P̺&d!8?곹7mXeID}̓5|8ҦM^wWT(U#h/_P)aB`$g:Ԅ.{$oy6"d% #N08tsSNTQ+VWMHoLol4?/ HF7n&+ `Ju3^E\PW/"hS$ȓe9$:3 4v|ĘAZBwU͡F:Nb\>ljg2qϱv{g!P3kԓ|{ #$iCpZyP+FJ֡<CYf+VQ7M[QuϮ_ zDhW''_Ҵ-M�v"U+aZ%2 'zV|o.JU#i2\]r9Wz eqlR=IORC@0�tVOW dhO(SQU5`\k  BX9ZkzvUmJ*kwf<dȚkye+</FoDɧ>B}#9c=wdvq6f^w$lȈ|& y6ϕnȄƷ9 w՜Siإ}nu08>3Ԟ^>+Qf- 6S7E!oz{Ig']?MM:xtuf݁@`E@ mbOguc|Ov{lj 3VSʢEwNj\nC6"=XܔJF ^UǏPbyp6h*o1.:_^V-Ӱ�G*pox:TF 3B&2|sҸz@<S.fׇPlwrUGr* "OJ<=ٛ|aX=>Z L0](ofM bt)D'M;#w]d>tbDE6f w/`Qn5ei#T S 1УBҿ)wo#@Fk|KRx-K_\| qZ1h~]r55NI> a774飩TI ɬ-bk'8W/Ҝءn`5.yQ Q=g_ȏ?Wz8>- ?BX=�?'vej�^*z- Rx!qrpz2�\6ۮ3 TN5v7QNF/b;zT))B*oMzDLٖp67*O*"~6ŋ)⡼rI�h3? a"F\|~g bm+2!! G5s1cYpw1y!;.b*C9KO.EA1,Ljc!k`(@xc)Daid.< (;`QxzƄ)%r \SnټLf,^3$Rul67 hЏ^(l`%bR;la#" I%Hxɚ!Rig@$3Ũ(?|)=l+fDHhpRT5Hx7u`,]`I8ߌZv0؄Xv__H' k vs\fQ̷� )z*aМL8RQy7l9ey&Hk2gX&ikGIr&AX$-ao & KNe$ܷFagTToéTщ|6[ ȱP*k9ǀL7ǁ>x<9-h ݘ>Y4<i9}`h[h8&(puJWי(qZCYǜ10uyT�Ȝ#f-h:zHGރ̙*RBx/~r;ڌt<iU7Yhzkm\3+ɘ*:b.i-@%GhC <6_ ^݆ڋ{}Z9Cr L}oCnɚb;rxRlͱ:K~Bv@l3Y*=脸N Fu*%Z*p%+{:8v@:f B-I,Ŷ3|wnQ@ hO3NEBQB48誜$Dz \VW\n\x:e7<k^YѮ̕/HU,-`4;?dzAyEh- 1b0# *H  1oKVg4/K?0; *H  1.,�R�S�A�-�4�0�9�6�_�S�H�A�2�5�6�W�i�t�h�R�S�A0A010  `He� >ܳp9rMm1Ƚ;���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF-orig.xml�������������������������������0000664�0000000�0000000�00000010724�15171727150�0033573�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#dh-es"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00348fbfc8f7cc726673bd2d7245f44c87" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><xenc:DHKeyValue><xenc:P>+KqKpjushvO+rNEy7v2UYdFAQERMyxxnSAF6dgO/mZTDveFnrW1qxI4D+zkr/A1THgGOv70tvRf6bEM+dg0790SZofd92mXbSgWKxaZejLE55Czm0zdsSsNtzS9pex9aFT/HBsDuS35cA8J40F30vNcKVI5x1wtsyAY9kYhfJuU=</xenc:P><xenc:Q>fFVFUx3WQ3nfVmiZd37KMOigICImZY4zpAC9OwHfzMph3vCz1ra1YkcB/ZyV/gapjwDHX96W3ov9NiGfOwad+6JM0Pu+7TLtpQLFYtMvRlic8hZzaZu2JWG25pe0vY+tCp/jg2B3Jb8uAeE8aC76XmuFKkc464W2ZAMeyMQvk3I=</xenc:Q><xenc:Generator>3xW+G05hF5w70NRVDbCiziQHFpOEWFhKtgmexo60v04rFBARVRjU+7V94StOX7nlbHuIeaCKvBPVYBWHwOZNcQezhwmnZHemV5YpB3tFleNO495UZmfaBFWG6OWNujgq7a1PtfVhKZfcDr3ARJCd3AqwC7hHa6p40PatlK5HU6Q=</xenc:Generator><xenc:Public>yrvGWmGOuUTSJYXlEqJFMSJLzivlJfGRcLygRc3Sg9sxQy2OP/3GpbpRHJk42i7YJ54rWe7ObdHPXAxoQBsKa0n+0rG7s1tOv9vuPHgMaqssfzBLcs5iLTRNOMw1rrIO8RWMoRFWDPURdvaZChwAT+CXitr+v2YPRy6SdkdyizA=</xenc:Public></xenc:DHKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIDTzCCAvWgAwIBAgIIC5MBZ/D22yYwCwYHKoZIzjgEAwUAMDUxEjAQBgNVBAsTCXhtbGVuY3IxMTEfMB0GA1UEAwwWRFNBLTIwNDhfU0hBMjU2V2l0aERTQTAgFw0xMTExMTkwMDUyNDlaGA8zMDExMDMyMTIzNTI0OVowNDESMBAGA1UECxMJeG1sZW5jcjExMR4wHAYDVQQDDBVESC0xMDI0X1NIQTI1NldpdGhEU0EwggIjMIIBmAYHKoZIzj4CATCCAYsCgYEA+KqKpjushvO+rNEy7v2UYdFAQERMyxxnSAF6dgO/mZTDveFnrW1qxI4D+zkr/A1THgGOv70tvRf6bEM+dg0790SZofd92mXbSgWKxaZejLE55Czm0zdsSsNtzS9pex9aFT/HBsDuS35cA8J40F30vNcKVI5x1wtsyAY9kYhfJuUCgYEA3xW+G05hF5w70NRVDbCiziQHFpOEWFhKtgmexo60v04rFBARVRjU+7V94StOX7nlbHuIeaCKvBPVYBWHwOZNcQezhwmnZHemV5YpB3tFleNO495UZmfaBFWG6OWNujgq7a1PtfVhKZfcDr3ARJCd3AqwC7hHa6p40PatlK5HU6QCgYB8VUVTHdZDed9WaJl3fsow6KAgIiZljjOkAL07Ad/MymHe8LPWtrViRwH9nJX+BqmPAMdf3pbei/02IZ87Bp37okzQ+77tMu2lAsVi0y9GWJzyFnNpm7YlYbbml7S9j60Kn+ODYHclvy4B4TxoLvpea4UqRzjrhbZkAx7IxC+TcgOBhAACgYAGfyy1CLqGw1rUkK1WVmRSRd4kVKYV3H32xMrra7F+ZZI9HEsmtUHlU016J3PfbS0cNhJFuXebOeMKf8K4Lqen5eTJpENu7uYtdeUb+FYypKo10Fe1xaiuZg7DkSCAzk93can0gqPeaUka7HyK7AQU8tF5wMOalO4sCpLBy3KN0qMhMB8wHQYDVR0OBBYEFJyCBZhVFoxuJyjkF6yxZetaPKNNMAsGByqGSM44BAMFAANHADBEAiBA13sBk6RjXSZWyFrB4a7l9TANkkTFUQFLN3X0Z7AkjwIgD7t/ihOxe6pI0O76QHAC5qb7wZR8X9WzCAxr0Z+s3I0=</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=DSA-2048_SHA256WithDSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>834011901929642790</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=DH-1024_SHA256WithDSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>nIIFmFUWjG4nKOQXrLFl61o8o00=</dsig:X509SKI></dsig:X509Data></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>hkSRh93Btkxl/Y+kdnbybq14kdP/uBps</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>a+9LK055lDy2AAAH0oC4V+SrXC4nFKzEsjVV3wBeFW+h3INqnalRDtj5a4RWIVG2W8NynKKvNnMTjyX5jCRykDqvq85eGP4wW1eEy4CsMQ316fxWmux7s95l+CTHWWzp7ZYDKlM1AFVUhz4qaFzxF91KjjBxlDyiQ0E69A53NkFjAQa41DAmAw4R+oIghKOyH5WYio5Ta0RHOSEEp6JdjYs+or5kLUZ/T6TFXXRmmzawZ8+ok6/RVqb4b9b2mrKVbE8DZHvLeHLCuKDJbbj8svg4dvHHubIyNdt8mlnIC9bloI4HFh9OztVSwNfXVoZPsH39MoDLF60jkFreJWFsJFa5MKDA/6sOJ8qi7KLDSrLjJaSHPv/jWI1XYSE9871qqKGRZN/8iuxc2H9J6CSfLbn2uVt7wdeNtieXOZO0iNuip7odqWqTZsseKbWFOgMbxBU0cXa1BkjznnMQE/8aQ/nbIa1JDJkWFA/nLgI1hHnSR5QPJ8uBX91yXchH+nAWWZKLE8/yuXNlp46sOttJvFhB3GZAfuZn6nwV+X/+BpH305JKHV089EauZmc9b8ixMZ1v9WF27WfRf5eg/kPoJRn8boH4ZAIKxEj13yNqrs1i/tAbzVhCoIFnL5mBAw5UEO6po2bohSF8MoVpDnID0MUzCekZSNRy/Xh2BIYke+MKNh8fE3P16cm91ZMJ12NmF/6CrGyDZOl2D5YqqYOyFcxyuIlcH/Lw4D5u4s93YS4UVVeY2PiBfOCcsjuefQOcCDFc+hycYMOAaFJCDjH7Uuy6wpry6Iem4uDQaWlF8p4wRbM=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>��������������������������������������������cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF.data�����������������������������������0000664�0000000�0000000�00000001125�15171727150�0032741�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF.tmpl�����������������������������������0000664�0000000�0000000�00000003270�15171727150�0033007�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#dh-es"> <xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00348fbfc8f7cc726673bd2d7245f44c87" PartyVInfo=""> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>dhx-rfc5114-3-first</dsig:KeyName> <dsig:KeyValue> <xenc:DHKeyValue/> </dsig:KeyValue> </xenc:OriginatorKeyInfo> <xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>dhx-rfc5114-3-second</dsig:KeyName> </xenc:RecipientKeyInfo> </xenc:AgreementMethod> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__DH-1024__aes128-gcm__kw-aes128__dh-es__ConcatKDF.xml������������������������������������0000664�0000000�0000000�00000005757�15171727150�0032647�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#dh-es"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00348fbfc8f7cc726673bd2d7245f44c87" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><xenc:DHKeyValue><xenc:P>+KqKpjushvO+rNEy7v2UYdFAQERMyxxnSAF6dgO/mZTDveFnrW1qxI4D+zkr/A1THgGOv70tvRf6bEM+dg0790SZofd92mXbSgWKxaZejLE55Czm0zdsSsNtzS9pex9aFT/HBsDuS35cA8J40F30vNcKVI5x1wtsyAY9kYhfJuU=</xenc:P><xenc:Q>fFVFUx3WQ3nfVmiZd37KMOigICImZY4zpAC9OwHfzMph3vCz1ra1YkcB/ZyV/gapjwDHX96W3ov9NiGfOwad+6JM0Pu+7TLtpQLFYtMvRlic8hZzaZu2JWG25pe0vY+tCp/jg2B3Jb8uAeE8aC76XmuFKkc464W2ZAMeyMQvk3I=</xenc:Q><xenc:Generator>3xW+G05hF5w70NRVDbCiziQHFpOEWFhKtgmexo60v04rFBARVRjU+7V94StOX7nlbHuIeaCKvBPVYBWHwOZNcQezhwmnZHemV5YpB3tFleNO495UZmfaBFWG6OWNujgq7a1PtfVhKZfcDr3ARJCd3AqwC7hHa6p40PatlK5HU6Q=</xenc:Generator><xenc:Public>yrvGWmGOuUTSJYXlEqJFMSJLzivlJfGRcLygRc3Sg9sxQy2OP/3GpbpRHJk42i7YJ54rWe7ObdHPXAxoQBsKa0n+0rG7s1tOv9vuPHgMaqssfzBLcs5iLTRNOMw1rrIO8RWMoRFWDPURdvaZChwAT+CXitr+v2YPRy6SdkdyizA=</xenc:Public></xenc:DHKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyName>DH-1024</dsig:KeyName></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>hkSRh93Btkxl/Y+kdnbybq14kdP/uBps</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>a+9LK055lDy2AAAH0oC4V+SrXC4nFKzEsjVV3wBeFW+h3INqnalRDtj5a4RWIVG2W8NynKKvNnMTjyX5jCRykDqvq85eGP4wW1eEy4CsMQ316fxWmux7s95l+CTHWWzp7ZYDKlM1AFVUhz4qaFzxF91KjjBxlDyiQ0E69A53NkFjAQa41DAmAw4R+oIghKOyH5WYio5Ta0RHOSEEp6JdjYs+or5kLUZ/T6TFXXRmmzawZ8+ok6/RVqb4b9b2mrKVbE8DZHvLeHLCuKDJbbj8svg4dvHHubIyNdt8mlnIC9bloI4HFh9OztVSwNfXVoZPsH39MoDLF60jkFreJWFsJFa5MKDA/6sOJ8qi7KLDSrLjJaSHPv/jWI1XYSE9871qqKGRZN/8iuxc2H9J6CSfLbn2uVt7wdeNtieXOZO0iNuip7odqWqTZsseKbWFOgMbxBU0cXa1BkjznnMQE/8aQ/nbIa1JDJkWFA/nLgI1hHnSR5QPJ8uBX91yXchH+nAWWZKLE8/yuXNlp46sOttJvFhB3GZAfuZn6nwV+X/+BpH305JKHV089EauZmc9b8ixMZ1v9WF27WfRf5eg/kPoJRn8boH4ZAIKxEj13yNqrs1i/tAbzVhCoIFnL5mBAw5UEO6po2bohSF8MoVpDnID0MUzCekZSNRy/Xh2BIYke+MKNh8fE3P16cm91ZMJ12NmF/6CrGyDZOl2D5YqqYOyFcxyuIlcH/Lw4D5u4s93YS4UVVeY2PiBfOCcsjuefQOcCDFc+hycYMOAaFJCDjH7Uuy6wpry6Iem4uDQaWlF8p4wRbM=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData> �����������������cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF-orig.xml�����������������������������0000664�0000000�0000000�00000006560�15171727150�0033650�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00b9e13a70c35edcb3b66fda86b4898942" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><dsig11:PublicKey>BGoi18CKzCb0K8RTLj0pEFAj2MWDDilMemPZWlOIxS1WbAiR7UrhIstegXjYfIBEYXmnXZFEx/1Ns+yakYTm/B8=</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIBnDCCAUGgAwIBAgIIKg6abk/x5/YwDAYIKoZIzj0EAwIFADA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVAyNTZfU0hBMjU2V2l0aEVDRFNBMCAXDTExMTExOTAwMzc1NFoYDzMwMTEwMzIxMjMzNzU0WjA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVAyNTZfU0hBMjU2V2l0aEVDRFNBMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPch7nesUwGDPU2re7gYTT3SRIkLL4Mxjk1vBg8j+3RIBCdk46LeHH1Fis4UXIkVZS+S6CgRGuEXV956rvSaAbqM1MDMwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUiT+AdwgJ2oDcGx2LNhx8x/6ewCIwDAYIKoZIzj0EAwIFAANHADBEAiABrzCZtLPGYst5WsKzWWN9ESPVnBK6681RL58Ie3nS7QIgSWSEEHMLC6vtfAcO9peB9Xi2QoJNat9qND0WIxTFCL0=</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=EC-P256_SHA256WithECDSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>3030529397845256182</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=EC-P256_SHA256WithECDSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>iT+AdwgJ2oDcGx2LNhx8x/6ewCI=</dsig:X509SKI></dsig:X509Data></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>siDzcILUgIu6AKWiL9RsCNgeEWB4aluj</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAHOvHZmBGtrE/h1yKfG2HlLDfRwr8D7op+l4poX+nYRLDkjd2cedYpgoY9JI54G8i0vXHdK901RkjFIkVjl67VtqD7gB5XOHodoDhb8MvkNc36cYEmuYPigTaIXyP5Ej4B89VmbVXAf7Ap3rPGvTvKoUltJ99uFB3vtTWx9pjBnKX58l+yJQNsQeF90VFI+XyDqfXz2c4Zry1RyDoyE7ODGQ3NJLaKmVbNun+F+AgPuCvVbvGHMHz9AdKAJhukj/D0NbZUWZgrN42feXp6c3WY5Hv+xdkvi3Xa64RgADMWDBoeJfC2dB3WFxqa5hHjz/yVlJd6ia00RHf+2mLZ/kkbwp3pcBTDTpzkiKdLq082pvGcPNuwBSZ4CSZ1CIruhxtNKjaU1sh5hoM8WyH2poefbc3ocQPMBWOAK8VgRNLUc3zIusNMTak+9LTh4qc7aIKUfi43gGGb1V/lbnFhhCrAWM9ZMt9D3uxjiKPNJG/VVySUlJbZOwgzHxS7k9g0lsr+CvU1tu5WjsAN5V5GcGHMmtw/o2fDwl0ctaL7YmDaWDn6EabWjZkPqchBoAWYUXEqCypu7Ty3uXxeynZii/f/6qarzmTGIqGjXdIGdSWsxv1RoiPoZfZAFPdRjoXK7GxkwmTJk2rIgcCK6CfSSsfT++L6qORE2OSHgcgfX1W0Kv6FyXlJVlzH4o0iIbw7s2L+0ITrDLFAVcBwqmj8QFv9BcaEmP2jYni6BJgPGKqTaiMfda6C+k/sNV3OAjJgvinzhPbx7TI4MrdoDSKqSOLttojVE/c7WEg=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF.data���������������������������������0000664�0000000�0000000�00000001125�15171727150�0033013�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF.tmpl���������������������������������0000664�0000000�0000000�00000003136�15171727150�0033062�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"> <xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00123456" PartyVInfo=""> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>EC-P256</dsig:KeyName> <dsig:KeyValue/> </xenc:OriginatorKeyInfo> <xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>TestKeyName-ec-prime256v1</dsig:KeyName> </xenc:RecipientKeyInfo> </xenc:AgreementMethod> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P256__aes128-gcm__kw-aes128__ECDH-ES__ConcatKDF.xml����������������������������������0000664�0000000�0000000�00000004713�15171727150�0032710�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00b9e13a70c35edcb3b66fda86b4898942" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.2.840.10045.3.1.7"/><dsig11:PublicKey>BGoi18CKzCb0K8RTLj0pEFAj2MWDDilMemPZWlOIxS1WbAiR7UrhIstegXjYfIBEYXmnXZFEx/1Ns+yakYTm/B8=</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyName>EC-P256</dsig:KeyName></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>siDzcILUgIu6AKWiL9RsCNgeEWB4aluj</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAHOvHZmBGtrE/h1yKfG2HlLDfRwr8D7op+l4poX+nYRLDkjd2cedYpgoY9JI54G8i0vXHdK901RkjFIkVjl67VtqD7gB5XOHodoDhb8MvkNc36cYEmuYPigTaIXyP5Ej4B89VmbVXAf7Ap3rPGvTvKoUltJ99uFB3vtTWx9pjBnKX58l+yJQNsQeF90VFI+XyDqfXz2c4Zry1RyDoyE7ODGQ3NJLaKmVbNun+F+AgPuCvVbvGHMHz9AdKAJhukj/D0NbZUWZgrN42feXp6c3WY5Hv+xdkvi3Xa64RgADMWDBoeJfC2dB3WFxqa5hHjz/yVlJd6ia00RHf+2mLZ/kkbwp3pcBTDTpzkiKdLq082pvGcPNuwBSZ4CSZ1CIruhxtNKjaU1sh5hoM8WyH2poefbc3ocQPMBWOAK8VgRNLUc3zIusNMTak+9LTh4qc7aIKUfi43gGGb1V/lbnFhhCrAWM9ZMt9D3uxjiKPNJG/VVySUlJbZOwgzHxS7k9g0lsr+CvU1tu5WjsAN5V5GcGHMmtw/o2fDwl0ctaL7YmDaWDn6EabWjZkPqchBoAWYUXEqCypu7Ty3uXxeynZii/f/6qarzmTGIqGjXdIGdSWsxv1RoiPoZfZAFPdRjoXK7GxkwmTJk2rIgcCK6CfSSsfT++L6qORE2OSHgcgfX1W0Kv6FyXlJVlzH4o0iIbw7s2L+0ITrDLFAVcBwqmj8QFv9BcaEmP2jYni6BJgPGKqTaiMfda6C+k/sNV3OAjJgvinzhPbx7TI4MrdoDSKqSOLttojVE/c7WEg=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData> �����������������������������������������������������cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF-orig.xml�����������������������������0000664�0000000�0000000�00000006765�15171727150�0033663�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes192"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00cf909ce60678fe4e64b3be6b1554c416" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.34"/><dsig11:PublicKey>BAdxgiS1lMEr8lzy9ai7fG7J9448PAxb7J5fVWflhBQISdtmEveP6g2jxe9Pk5QDcuP2nmMJWakc8ESmst+++VgO4h0PZ0Y/conzp/xe7qgSzPkA/AvepC5OISffbazlLA==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIB2jCCAV6gAwIBAgIIWYeVuTW4P5owDAYIKoZIzj0EAwIFADA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVAzODRfU0hBMjU2V2l0aEVDRFNBMCAXDTExMTExOTAwMzc1NFoYDzMwMTEwMzIxMjMzNzU0WjA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVAzODRfU0hBMjU2V2l0aEVDRFNBMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEl5Y0KFEzIubIA/XVfDILxk+LOZDMTx3FEJn63U4mKIvUat++lFM4vpciO5XWsNwnsFhCrqI8VaB+Fjb4Hh3WOXa21qEn5+3Wx3ZsfFRPT6/b87uu3gHgrX2UCKBtGDJKozUwMzASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBRT7uuMAOh/i7WBvEg//K2IRI2pQTAMBggqhkjOPQQDAgUAA2gAMGUCMQC6XrEYR1RdCR7gl227ygbwNWfiHqy3AcX9Dj8OxS600Uz1bozs1VOHH9FT1HxeMkICMFruT7yLPVo38qREnfiNV7OzQCj8bP7DTCdscuUqwQ2E4KFhQH465yAFAUGyXR9iqg==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=EC-P384_SHA256WithECDSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>6451289613934280602</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=EC-P384_SHA256WithECDSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>U+7rjADof4u1gbxIP/ytiESNqUE=</dsig:X509SKI></dsig:X509Data></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>sESb9V0HhJpLQmghrjcTXOIUcX2S9zo9YqqTXcenhKA=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAIunRSEls8IilEPEVgX1ngfHYFPrDanvLROPiAsyBbq8ShN69zQd+fRB4Kv7NmTG4864XwnRThdQ3NXuoH80Nme9U8ZM61LbF4WiN8gAEXDwq37oQmAR4OG/xn0Js+pcmySdixjFLpS7/0W/YvFLevF9DRQUoMiJw1fRjYdezZhrUKAygjU9cS/1s/1xpPx4ftehLdQPNiP8TYtsiha5NmDhEcdp49J21pf08Vl4Jb5jof0HkC2ommudHAzWrnECwHlie+yEtI7Ncq6uu/cQuDHQ0tlc9PD434uKbLnw3uwH0264phNsJmnE/+4dJvf9GYld47m7KiYFiUm5KOrVUJGlU7cf3xlKd7ig2bgpJOeTbPVpWJw4zIuWstzL/HEuW7KmijIMiLATFTFBpbTQIMnVZxcawtC5E8HD2a4uHUjsSj7mFcqEoASgweD6/7kPW4GHp3gNdmvutHzu0qQ/TEpg/D0swuxoyPdlqAdES0O/rr/uDJqS5naRGvP222duQsC+gVG+Y6fmQKZqK6EwWptCbyW8VKthBlDSwVfKhSzDs/y5aeXGYvgIkx6cHeEHuT1hwtV5NrrbOY/3COyN8q5FH1KVwhZVI0YiazA+HA09ybQHMOb3IrhW8nhNjGDDALtzmY2aTCqvq219t9IwjPd19PrHeJ2pLuXDtpKcC+5x4lMbWyK0FZtAZoedcStUMU8Z3FEh8JpzpVgvbG0dmu336CZn+wA1eQZDybswe5PHjcie0MZLWVbKVrva0GhcUhvcIOW/n7cgDBCLSImIkQ44q0mSQtXdk=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>�����������cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF.data���������������������������������0000664�0000000�0000000�00000001125�15171727150�0033017�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF.tmpl���������������������������������0000664�0000000�0000000�00000003170�15171727150�0033064�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes192"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"> <xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00cf909ce60678fe4e64b3be6b1554c416" PartyVInfo=""> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>EC-P384</dsig:KeyName> <dsig:KeyValue/> </xenc:OriginatorKeyInfo> <xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>TestKeyName-ec-prime384v1</dsig:KeyName> </xenc:RecipientKeyInfo> </xenc:AgreementMethod> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P384__aes192-gcm__kw-aes192__ECDH-ES__ConcatKDF.xml����������������������������������0000664�0000000�0000000�00000004774�15171727150�0032723�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes192"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00cf909ce60678fe4e64b3be6b1554c416" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.34"/><dsig11:PublicKey>BAdxgiS1lMEr8lzy9ai7fG7J9448PAxb7J5fVWflhBQISdtmEveP6g2jxe9Pk5QDcuP2nmMJWakc8ESmst+++VgO4h0PZ0Y/conzp/xe7qgSzPkA/AvepC5OISffbazlLA==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyName>EC-P384</dsig:KeyName></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>sESb9V0HhJpLQmghrjcTXOIUcX2S9zo9YqqTXcenhKA=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAIunRSEls8IilEPEVgX1ngfHYFPrDanvLROPiAsyBbq8ShN69zQd+fRB4Kv7NmTG4864XwnRThdQ3NXuoH80Nme9U8ZM61LbF4WiN8gAEXDwq37oQmAR4OG/xn0Js+pcmySdixjFLpS7/0W/YvFLevF9DRQUoMiJw1fRjYdezZhrUKAygjU9cS/1s/1xpPx4ftehLdQPNiP8TYtsiha5NmDhEcdp49J21pf08Vl4Jb5jof0HkC2ommudHAzWrnECwHlie+yEtI7Ncq6uu/cQuDHQ0tlc9PD434uKbLnw3uwH0264phNsJmnE/+4dJvf9GYld47m7KiYFiUm5KOrVUJGlU7cf3xlKd7ig2bgpJOeTbPVpWJw4zIuWstzL/HEuW7KmijIMiLATFTFBpbTQIMnVZxcawtC5E8HD2a4uHUjsSj7mFcqEoASgweD6/7kPW4GHp3gNdmvutHzu0qQ/TEpg/D0swuxoyPdlqAdES0O/rr/uDJqS5naRGvP222duQsC+gVG+Y6fmQKZqK6EwWptCbyW8VKthBlDSwVfKhSzDs/y5aeXGYvgIkx6cHeEHuT1hwtV5NrrbOY/3COyN8q5FH1KVwhZVI0YiazA+HA09ybQHMOb3IrhW8nhNjGDDALtzmY2aTCqvq219t9IwjPd19PrHeJ2pLuXDtpKcC+5x4lMbWyK0FZtAZoedcStUMU8Z3FEh8JpzpVgvbG0dmu336CZn+wA1eQZDybswe5PHjcie0MZLWVbKVrva0GhcUhvcIOW/n7cgDBCLSImIkQ44q0mSQtXdk=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData> ����cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF-orig.xml�����������������������������0000664�0000000�0000000�00000007225�15171727150�0033646�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00bb7e58311edb299936f21e74b7980b9f" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.35"/><dsig11:PublicKey>BAF/tsSwQ0oL6uGyQtqJpjLkXfxrRGwPPw+wGXK80I2jHScaPMdMjIV46774/vx6npR5xEciD4qgjbHfdkFX8BMR6QFiAQcaOtZZSVfKEC0gBgSpv+GJXNZQEzAMYI45G4NwIp2bW5C7NbTEiz112KjT2EO8cYMm01jbUl32Qn6IVm/ecg==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIICJTCCAYSgAwIBAgIIOomZsRJ1kPQwDAYIKoZIzj0EAwIFADA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVA1MjFfU0hBMjU2V2l0aEVDRFNBMCAXDTExMTExOTAwMzc1NFoYDzMwMTEwMzIxMjMzNzU0WjA2MRIwEAYDVQQLEwl4bWxlbmNyMTExIDAeBgNVBAMMF0VDLVA1MjFfU0hBMjU2V2l0aEVDRFNBMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAGjTm3NCtivCNFtnhocXgO9lv7xlYFVSlkLijROC88/vCNhjWODzlpArxqaI+3sl2c82+9KXTxX+VDpZwD4GsF4kAswMEgXksYdSHTadSk0u4ar7vH5AfMmtaWDZ+tEaz/D99LypDW8ZKB/oStrtLeVgFPARu4Mb6Uauic5unjdANO5GjNTAzMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFA5VFtYzDCp5grC/KSPv6hqOQg1qMAwGCCqGSM49BAMCBQADgYwAMIGIAkIBlSWu8DdY2YFOI2vvyaaYJ4Y8xS4jrR0se+3/fb1oCPDCm3Mr1xcPJEJNRHTNwS4u9GCiUQoFlkTh8r+zDCUGJCwCQgG8dY3pP0rphOxxOSCouN3AShXc0SFQTaeaynK1+2R+pvc7GLOVelHZslkr2nrklyyVXLPlE0SBMS4TGZZHXl473A==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=EC-P521_SHA256WithECDSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>4218071511807135988</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=EC-P521_SHA256WithECDSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>DlUW1jMMKnmCsL8pI+/qGo5CDWo=</dsig:X509SKI></dsig:X509Data></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>Xn5PLgSEWuXaXUVsl7cy59DETFdBfNXddlxiv839GIj5MZnYG3fkyQ==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAJOcASrbW38r4u79x19RyEiXfx8aUCpth2WWzOjILVd0z9Ky947TPFhAhAqE7cbAhLAT6rMlwHHSfTMu0q0lDULMMNANKzBK0GqPMgjD7zL8dHCYcTK6RSztRywkThk4byxWKBegqOz875tn3lZC3UQHvLu5a0XNkLS14K2QTrk1YDGJgj4Y3P9QDlGK6eb0NiaTeQt0AOEsn7xkZS8iY6Hr+nOpAXosUbkgsrv0jBMahmtk7S4sJsAB5A0umMWhLGpcagXRkcKKYNVQtZpJffJpTjyQewT6D7blZ4CodOi6+naOJBvHgw3Qyspr0ULOQyZpbBg47LXRV49ppp9dbf8pZzgUZ5IDkwCMBU2YkhV/NjXs1kjtfSP4EAHGct/Yn7S2wjOtToVIl1f3l2Zsg4ttnObvFLWpLEUKrf1bt1NefjHSnTuvjfI2xH99KA6NkW53ZZEDEiwrDoZE3+VV+vSDbyULWR1uKvt95LEjMzHu/F6K+AkJWLPiUxhHTM7o4AD6z6uoDewWJgcllyYIWI2GsGSQgTCm9203CgKtVA/ruXgH9iokqtoYhqSdM29fn/VGhA8fbp8BytN/2Y7GovA4NVzwkuI9n+/U2N+AV+mkUZ8ezMcFVilPJYHJGOqm/x2NXl1O/G1RgpyVqtZYuX+hb+KP/wx1lb4730zJCOIE+OqcFg9Ml8l47vliB4Yj7SORLH+nrWErjqPK8SoRGdbSyeYn1hLPCVw7QydhW2NUeJgZRlAxr+8dC8jVqGX6Dc/bMGjs89Z25x2+fAyOEjZgE5If3ilB8=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF.data���������������������������������0000664�0000000�0000000�00000001125�15171727150�0033012�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF.tmpl���������������������������������0000664�0000000�0000000�00000003170�15171727150�0033057�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"/> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"> <xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00bb7e58311edb299936f21e74b7980b9f" PartyVInfo=""> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>EC-P521</dsig:KeyName> <dsig:KeyValue/> </xenc:OriginatorKeyInfo> <xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <dsig:KeyName>TestKeyName-ec-prime521v1</dsig:KeyName> </xenc:RecipientKeyInfo> </xenc:AgreementMethod> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__EC-P521__aes256-gcm__kw-aes256__ECDH-ES__ConcatKDF.xml����������������������������������0000664�0000000�0000000�00000005070�15171727150�0032704�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:AgreementMethod Algorithm="http://www.w3.org/2009/xmlenc11#ECDH-ES"><xenc11:KeyDerivationMethod xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="" PartyUInfo="00bb7e58311edb299936f21e74b7980b9f" PartyVInfo=""><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod><xenc:OriginatorKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyValue><dsig11:ECKeyValue xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"><dsig11:NamedCurve URI="urn:oid:1.3.132.0.35"/><dsig11:PublicKey>BAF/tsSwQ0oL6uGyQtqJpjLkXfxrRGwPPw+wGXK80I2jHScaPMdMjIV46774/vx6npR5xEciD4qgjbHfdkFX8BMR6QFiAQcaOtZZSVfKEC0gBgSpv+GJXNZQEzAMYI45G4NwIp2bW5C7NbTEiz112KjT2EO8cYMm01jbUl32Qn6IVm/ecg==</dsig11:PublicKey></dsig11:ECKeyValue></dsig:KeyValue></xenc:OriginatorKeyInfo><xenc:RecipientKeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:KeyName>EC-P521</dsig:KeyName></xenc:RecipientKeyInfo></xenc:AgreementMethod></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>Xn5PLgSEWuXaXUVsl7cy59DETFdBfNXddlxiv839GIj5MZnYG3fkyQ==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>NUX+O05xmL+lwAAJOcASrbW38r4u79x19RyEiXfx8aUCpth2WWzOjILVd0z9Ky947TPFhAhAqE7cbAhLAT6rMlwHHSfTMu0q0lDULMMNANKzBK0GqPMgjD7zL8dHCYcTK6RSztRywkThk4byxWKBegqOz875tn3lZC3UQHvLu5a0XNkLS14K2QTrk1YDGJgj4Y3P9QDlGK6eb0NiaTeQt0AOEsn7xkZS8iY6Hr+nOpAXosUbkgsrv0jBMahmtk7S4sJsAB5A0umMWhLGpcagXRkcKKYNVQtZpJffJpTjyQewT6D7blZ4CodOi6+naOJBvHgw3Qyspr0ULOQyZpbBg47LXRV49ppp9dbf8pZzgUZ5IDkwCMBU2YkhV/NjXs1kjtfSP4EAHGct/Yn7S2wjOtToVIl1f3l2Zsg4ttnObvFLWpLEUKrf1bt1NefjHSnTuvjfI2xH99KA6NkW53ZZEDEiwrDoZE3+VV+vSDbyULWR1uKvt95LEjMzHu/F6K+AkJWLPiUxhHTM7o4AD6z6uoDewWJgcllyYIWI2GsGSQgTCm9203CgKtVA/ruXgH9iokqtoYhqSdM29fn/VGhA8fbp8BytN/2Y7GovA4NVzwkuI9n+/U2N+AV+mkUZ8ezMcFVilPJYHJGOqm/x2NXl1O/G1RgpyVqtZYuX+hb+KP/wx1lb4730zJCOIE+OqcFg9Ml8l47vliB4Yj7SORLH+nrWErjqPK8SoRGdbSyeYn1hLPCVw7QydhW2NUeJgZRlAxr+8dC8jVqGX6Dc/bMGjs89Z25x2+fAyOEjZgE5If3ilB8=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/cipherText__RSA-2048__aes128-gcm__rsa-oaep-mgf1p.data�����0000664�0000000�0000000�00000001125�15171727150�0031064�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/cipherText__RSA-2048__aes128-gcm__rsa-oaep-mgf1p.tmpl�����0000664�0000000�0000000�00000001670�15171727150�0031134�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm" /> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"> <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> </xenc:EncryptionMethod> <dsig:KeyInfo> <dsig:KeyName>TestRsa2048Key</dsig:KeyName> <dsig:X509Data></dsig:X509Data> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/cipherText__RSA-2048__aes128-gcm__rsa-oaep-mgf1p.xml������0000664�0000000�0000000�00000006621�15171727150�0030761�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"><dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"/></xenc:EncryptionMethod><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIDIzCCAgugAwIBAgIINsFEFLHenAUwDQYJKoZIhvcNAQELBQAwNTESMBAGA1UECxMJeG1sZW5jcjExMR8wHQYDVQQDDBZSU0EtMjA0OF9TSEEyNTZXaXRoUlNBMCAXDTExMTExOTAwMzc1M1oYDzMwMTEwMzIxMjMzNzUzWjA1MRIwEAYDVQQLEwl4bWxlbmNyMTExHzAdBgNVBAMMFlJTQS0yMDQ4X1NIQTI1NldpdGhSU0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDX0NwrIqgzFvyeddu3IzzpNp3ugZtJTJ8FfIAzIwoksrGhbu09FglIg7YVETjLdhvy4CFWaY5oLNRnfgstXrIVVoJzBPtr6UGwLIMrd07I6uodvTNMiyaK8y7VSzab6KO2Iprjp9KZdExjlWdUKRoWe5uxPocA5m74ydPTxjJgl5GtLCu22NHJfTnCW6w7whIpDTYOe70LOPhiwOjMXRXznr9Qh88hxiW3LG8P8+awdhZsKk7dWpHuDNECLddB17FkLMDhtg8RlCRmhqcfVgDoq5N3jjNvS6mgnn0w8dEIw3NdVS7tTJNO/+3aqoavkHeE49DDZ7ALvjw269bUxAn3AgMBAAGjNTAzMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYEFDo0STlAFQQnjYbpwCZ6JSzoYCO6MA0GCSqGSIb3DQEBCwUAA4IBAQCsRLjUSMnPMyHkU5ynesTN3YJPfQWJ/Mmcfr8r/bJs3S63gpCloZ9Q4Gg5PvpTgVlUkBaBAm8M9DBCDNdn/9KHCm0oySBnGPdKYhUukNURoPlp9w+AN5Mp5QjEsNbtgAiKojW2f2U+RR7r54Ew4BXBMFlQIC6xd2vnQlzEUZniperi8HnMI+wy9yPGZ8nwnmS7zpzVd8NmPTQRHZUv+yG4shF2eB68ocLJ8dEN/UejCSkgep4qcQhjcfx2k5MNG/XE/SsVapAV8T8o4xTrA0b+4COm+Nd0zT1pEYaPt900NCuQ4ml0JXcVLDRUsQOpwUo/M87rYJ1y/reRuIvwIj+8</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=RSA-2048_SHA256WithRSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>3945509604227456005</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=RSA-2048_SHA256WithRSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>OjRJOUAVBCeNhunAJnolLOhgI7o=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>zkPlbASpiK8QO9HOQFK3HBwHgI63LE2DvklAzIgGGy/6YAMx//nRE2Wihm6icOFsApHsAlQW/iglNb9ZijCi/Vez2I6O8YtKxWxc1V2ibuBlK1SMw9pC+W6eBG9M4kNswJgBYsdf8wxaE+5uFKA5gfxAsDxghuQ+aGXaNNUki+O6ycGeiR3cg9DEmM6Iv6Cggxr/4xtJ7b6f0sakz+BnU6lW4irCP+w/uxcIysUKPpxmd3RbjmOqSHFavvCCWhME5WgaagSxeXjcqRrOaK1ufd/HLnByLpw5cTf8z3qbbJKunpXXtYo9LqM2NvlPBO2SBNUR/PzVo8iBaZqfIfI6Kg==</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>amntSk0OPlW2gAAB5U+wnuXSfGggPa+Cp4DnodY9qcmicVYhnzCRt0EDYdzDWwRniRFF/LLWr9FaEf2lNjmHJYOJY5fA/eFXNkMPjGioklAIKjoakVT8CPMCafIvXa/2sQ5oC4ee9d1UEMkhgUijQjDuI3GrDDBSL8AwMyJ8guT0bgOss2PCBxEL0PIA2KnxNumfQeahN3nfeXjdlCzASK7QtW/HrDwIi5MRmYjly/pn+5E0UW5gfrE9iF5l6xTCSZcUI1nV+6n/UJnI+pLOL61npIsrLdQu5Mqui3RqHf8EYS5STakws438fq/apl8y40GmnTrJfmI4CiFEC5jWdrnUhX5Czs5lbAbRd3uNgNd5SykOxP6e1y2d6O/QaA4w7SRAnKEoOvZ20irpfkXxqAiNe+DomQ9Cvdus4NjghSiU1HHr/Axj6NQUJt+ApdIhS37YImQ+fVGEl1kRGu0kKEaYPX08xeorefi7+5MDyEh2hoJuhyj++i3LfoGD0yv6YEJp64hD4314OcwBo8H9CpkHT10VDiYTXqASkNiJxqkiAk26Vbd+X+2QhXCGq6LnannpY9EPJfTL0jvmxc2i9zz7iZTbb3PWmIH0CdaGDfqISwuvVGY1KvmdosR9gxGZqB0buqXWOoLrZ/bMi+JZnql2EcxsST08Tx0aeilRKjrJkt9A5/7FfmZ2XPIFGOy0Q4GD95ndZf8FAN/+yzPW+2HvkcoxMee5RVvUo+PHg9TVD/zn+Lf4bs/KtEssx5KyMokV0t9H4OUtNyxDSxDHP8KO0BQwRadRDrTuTLYdTGDmKKQ=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>���������������������������������������������������������������������������������������������������������������cipherText__RSA-3072__aes192-gcm__rsa-oaep-mgf1p__Sha256.data���������������������������������������0000664�0000000�0000000�00000001125�15171727150�0032173�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-3072__aes192-gcm__rsa-oaep-mgf1p__Sha256.tmpl���������������������������������������0000664�0000000�0000000�00000001672�15171727150�0032245�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm" /> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" /> </xenc:EncryptionMethod> <dsig:KeyInfo> <dsig:KeyName>TestRsa3072Key</dsig:KeyName> <dsig:X509Data></dsig:X509Data> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ����������������������������������������������������������������������cipherText__RSA-3072__aes192-gcm__rsa-oaep-mgf1p__Sha256.xml����������������������������������������0000664�0000000�0000000�00000007622�15171727150�0032072�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes192-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"/></xenc:EncryptionMethod><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIEIzCCAougAwIBAgIIbq7SbMmGOkwwDQYJKoZIhvcNAQELBQAwNTESMBAGA1UECxMJeG1sZW5jcjExMR8wHQYDVQQDDBZSU0EtMzA3Ml9TSEEyNTZXaXRoUlNBMCAXDTExMTIxMzE5MzYzMFoYDzMwMTEwNDE1MTgzNjMwWjA1MRIwEAYDVQQLEwl4bWxlbmNyMTExHzAdBgNVBAMMFlJTQS0zMDcyX1NIQTI1NldpdGhSU0EwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0qPxdWwaPghF84aAMtb4ubNhGjqr4vhsgbvcqBFTcvI7nMV2DTj9bojdib9sJA1fhKJxfL883+ubEs7u1AyQ7xJuegZVwH6KKTV6N6RHPAQgtpA95s0lWr8euXrwCeZOF2N/Pz/ke4Ve+HHXcBsPxPF2JJX8oDET99RiYamrp9VjtbsUCmDD1P6XEDua4tId5HrKfskZtYFYsyAtog4ecA5kideirygwOk5sP9uo15MkYR2nIkn6RIxPoaPkfSnIXrJQC+Q0a+SL1mmdnEN0Ly8brewgiKZnc2swuinDe6boSCVt8CJGEJVQsjVurTV7dFsbrLdDN9j5fDjv0k8OFjB65Sb04QXts1HiUDUIDkb9K1BSlQA8Cwt2AQIitP/0f6drmlQgvLrgnf4VXTevOrhZ4Cmi1sAHXQKBAmATaUh9PNfI4Qwoh0IjriiBoBLXlvVOypEmbBRrHtlhlQrsWwtY48hceQB9ny18xPyfMEqiiSgCGSbxWjGvwJNfy3xcCAwEAAaM1MDMwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUJkY4RV69EfMztTxYScLXGEd9s6UwDQYJKoZIhvcNAQELBQADggGBAJKczn1A2Pi90DNZT8i5AEU0m6zPkxH2byNK7GBQ0s2RCR9m/P6k2ei5J74PbXOINT1Q6MDTpYqeKYMUXCrGcAxYIRmmZnywmHzbljwbbFScDi8nHmEX0DnNUa5FU8wS/LbuL4qJ9cT/tZvOAiTLN+cbJICbWdQxU1xOh4jpbfthX4TwwBz/eV9ncQfK8lR6MxpkIfuUaN426ZNFp63ZgCbPWYqTRcIeZWPlpNHkTHX8WT+nZqGnFoE1LSBular0RGpnn4nNmiAuZgGNCpguloeYFIShItZpTDfiQivoMYUI6UzLOJgizvN48oB82m942LKCGk3QBT9gLNHf3Lnw7lEb3u3Tg/8ULCbrHNafUSHdUqbnBwwT7sWKyRWX2dxEy6mGJpTn4mKNy9jYRE0y2QlSRBLYdaKlTNrbw3yvSVvM/ZH/lIVaKv64h7lQYOQ7pOcBNmg4AHXS1NzWPYiGSHqhpP59xBHxN0CIW02LRhd5MU7Jem7zdWTsRl0n5etkwA==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=RSA-3072_SHA256WithRSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>7975543354799045196</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=RSA-3072_SHA256WithRSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>JkY4RV69EfMztTxYScLXGEd9s6U=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>ELFX9zkwbEwxq2sqmL+ketAuF8kTqCk+rJw2rXI9T3Kbv0d/1cIGtgSBiimVUouICR2yfnt5MaX5aomVDp9v4IRq4BSPbeyK+4VgdrnMe3RIQ0QetZVk+dLk10QXvQnXpxuXaBq2UoN/91Jx3wZxWKeMovLqss5u+NNiJp931JnS7egIqiv8HnEKogq1nKZltx3SHdko9UzxwOOKFaIhWCiLKyFzCLoMdmwVtyZdU+GVz8+F/AqavMT17VWtI4oxrYd6eLojetLp5UwFnWEroW8CTjhssRzLMV4J8bVa1Ll8eFcPfWackromHGJFsOI1HuY6yOQ8A7e3LLk8L1dXnTZi6TVodburUceZw+jy9nSb+SbIAEE7FLhgWi3bynENRVGOj1h+Rh+u1/Hg/ENailDz9lU9x7nP0IPeP5ACdnvQoArVCVDqMzcSh7EtDVd4Nj88BbI7NJZx02k6KG2ybYA5tv3hji2ej+cDDhfgNURFtEp09brLvHG7Kc8eQdVE</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>amntSk0OPlW2gAAC7HOzZznBvo2f0Q4GVZ5Sh+gfFXeauxXHRZoCbdOEzK6zS6MihCUc8f+5IdqE9dzJqgDuecZfo8nTE8k86iLUrCTLkZmE9hDNeR+tD7RbJiBnAo1UAdILvndkj+3ekvc8NYNffqmOsUa+r86vvoNKmzLj6JoBMjesRHncLuepbeW5PknFrQATLnVuiKpLHDps6TggXNVl3m+O/8k1Zf9hXuMpiDyLChbakB+JM5UQ2+pC4iB5bfwO8XObH19MmKh2jdmE6MNqCq33VRZSpTFSeCj8A2qorx1XJnW/bIoZDDpIC6urWTT6LHLmafStdS/kxAnNe3+WM3JYFmiUpsElBvDYkBt7YUcqPhAr4jebsFuUIKhPC7qKCA/JBzEtBLULQ2EFJfmbK+fVLORgHxjFNysT6zEiRRRo0XkUsI1k4ewhI5fxB+/v4rDOwVmpKZ1KxFNG+eveJpClhKcFAWx1KNxkowhj2RHTRWfgzuUlWWc3ATcGbVim4CqPRTNSKeomE+bAyXcWjsZ1O0pEl0pnMaw2ZHw119n1+mORQRDmnmU0kNY+Aw9dhZlL3DAWk8SFSPAFnnCAeKikJffa71kEBmLHRW+uGvK2BX8PR2EY7DckyKxHs4q3PceK0EJw9idz/h6+LRnOQx3dphG7MnU+h0e9qCoEzUOJyGX9X7p1r3IpY0F6FvaoMULTpwAxqA/uOJDxA92MFCfERIEzDrdsIWg3p0yInz7/BpZrljljnO5PVwa4uXauiAJ1hUwzByZZ8itdalJNTh1I9zv37lJoChCCJBOLA74=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>��������������������������������������������������������������������������������������������������������������cipherText__RSA-3072__aes256-gcm__rsa-oaep__Sha384-MGF_Sha1.data������������������������������������0000664�0000000�0000000�00000001125�15171727150�0032451�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-3072__aes256-gcm__rsa-oaep__Sha384-MGF_Sha1.tmpl������������������������������������0000664�0000000�0000000�00000002073�15171727150�0032517�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm" /> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384" /> <xenc11:MGF xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha1" /> </xenc:EncryptionMethod> <dsig:KeyInfo> <dsig:KeyName>TestRsa3072Key</dsig:KeyName> <dsig:X509Data></dsig:X509Data> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-3072__aes256-gcm__rsa-oaep__Sha384-MGF_Sha1.xml�������������������������������������0000664�0000000�0000000�00000010003�15171727150�0032333�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#sha384" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"/><xenc11:MGF Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha1" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#"/></xenc:EncryptionMethod><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIEIzCCAougAwIBAgIIbq7SbMmGOkwwDQYJKoZIhvcNAQELBQAwNTESMBAGA1UECxMJeG1sZW5jcjExMR8wHQYDVQQDDBZSU0EtMzA3Ml9TSEEyNTZXaXRoUlNBMCAXDTExMTIxMzE5MzYzMFoYDzMwMTEwNDE1MTgzNjMwWjA1MRIwEAYDVQQLEwl4bWxlbmNyMTExHzAdBgNVBAMMFlJTQS0zMDcyX1NIQTI1NldpdGhSU0EwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC0qPxdWwaPghF84aAMtb4ubNhGjqr4vhsgbvcqBFTcvI7nMV2DTj9bojdib9sJA1fhKJxfL883+ubEs7u1AyQ7xJuegZVwH6KKTV6N6RHPAQgtpA95s0lWr8euXrwCeZOF2N/Pz/ke4Ve+HHXcBsPxPF2JJX8oDET99RiYamrp9VjtbsUCmDD1P6XEDua4tId5HrKfskZtYFYsyAtog4ecA5kideirygwOk5sP9uo15MkYR2nIkn6RIxPoaPkfSnIXrJQC+Q0a+SL1mmdnEN0Ly8brewgiKZnc2swuinDe6boSCVt8CJGEJVQsjVurTV7dFsbrLdDN9j5fDjv0k8OFjB65Sb04QXts1HiUDUIDkb9K1BSlQA8Cwt2AQIitP/0f6drmlQgvLrgnf4VXTevOrhZ4Cmi1sAHXQKBAmATaUh9PNfI4Qwoh0IjriiBoBLXlvVOypEmbBRrHtlhlQrsWwtY48hceQB9ny18xPyfMEqiiSgCGSbxWjGvwJNfy3xcCAwEAAaM1MDMwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQUJkY4RV69EfMztTxYScLXGEd9s6UwDQYJKoZIhvcNAQELBQADggGBAJKczn1A2Pi90DNZT8i5AEU0m6zPkxH2byNK7GBQ0s2RCR9m/P6k2ei5J74PbXOINT1Q6MDTpYqeKYMUXCrGcAxYIRmmZnywmHzbljwbbFScDi8nHmEX0DnNUa5FU8wS/LbuL4qJ9cT/tZvOAiTLN+cbJICbWdQxU1xOh4jpbfthX4TwwBz/eV9ncQfK8lR6MxpkIfuUaN426ZNFp63ZgCbPWYqTRcIeZWPlpNHkTHX8WT+nZqGnFoE1LSBular0RGpnn4nNmiAuZgGNCpguloeYFIShItZpTDfiQivoMYUI6UzLOJgizvN48oB82m942LKCGk3QBT9gLNHf3Lnw7lEb3u3Tg/8ULCbrHNafUSHdUqbnBwwT7sWKyRWX2dxEy6mGJpTn4mKNy9jYRE0y2QlSRBLYdaKlTNrbw3yvSVvM/ZH/lIVaKv64h7lQYOQ7pOcBNmg4AHXS1NzWPYiGSHqhpP59xBHxN0CIW02LRhd5MU7Jem7zdWTsRl0n5etkwA==</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=RSA-3072_SHA256WithRSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>7975543354799045196</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=RSA-3072_SHA256WithRSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>JkY4RV69EfMztTxYScLXGEd9s6U=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>dy5kcPyIkFfTDOTwXmk18TUjIpQePXXFirX+GMSQmx3tKRCWCUcJBDdm5mu+vsKBNJzATTVOk+NujEpngX2c84TZG6zk0ldwTpsCPW+xdQDPcTn6jbdzWsnYvXZYG1HTrzxGLJRo8poxasmCGbEEzL8U0eP0aOt//ZWrqk1vI8i4A7R+rHCBBFp1PfR7WC0wG8Flh+ldTVtS2ThD2/xi4EwEjugEKvEem0BZtkQ9TI3iRir1NX6YRMnWBb4NEpz8V7moFFFfHAkouf6UJJ5nrgyqx0BjeLjGSA9NBqRhZstR0U35AVkMVDhdR47TQxeDwXfJAWOoe580YUxcZk/xxffCj9BWxqa0Bg7Bz/lUepHbP0TN3EcGVBQLPHARYbhbmpvR23aueFMC4I19Rt6y4v9r++Zy4rzbEWILnx6qBW8sOqNbm8t5wHdx88umgYwjm6YO/FSNxMurpiDuIgj3rXrqEobyFjpLLawegiZunLPyQCVSy6cB14MWPxb4buJu</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>amntSk0OPlW2gAAD4s6pjSB1/IUZ/J6Hpr6elth5MzhxE5EdNZ4JeoL+TrJh8U5qEVi7h1jZhW0klbYUZs0eT8k5YDSyNJrSp8k75UEuLTPgZ1Sm5tYtcDANWHjmVwO7zWgU3yoCtycVoMor9mkCuIU7TEbneK6Un9r4ivbqyyg8mqv3TGRLVRmc3UN8r77E4pKGIbq9rOmCgamjlH5zVYJ+kH7lBAGtBYHDsyXnrDhD2gfcfVTZ1hw6CfmDsV0ZukjTCDYsnbNzElM/lrf61t7VLfv2Ya2VXYnnHOjTASaQx+DorZUn4ICDJBW62HeRtHRuj3lRYBblK5hh4drjJps7BItqhMgMpgEWgFA8eXAKRiO64G6IhfXBYUV66pXrUkzTihrQzf7VmV0v+3kOz5VYiDkPQjxNQtnSCLi4VoJlSTcT9P43doES/J0pzmFnED6WCWQwjc7JwdMls+B5AxBSOQXY814Wr76XJoaOx8Od7Dk54K/t9XAonCy37OWYLd6UHfcsj8IQesyu9kjMDm3bGP+qp6RUk9rQQWU3KUPyhxfvbAiLnZ0gy9aGp1rv/gqCWQP3FimdlG6hXRnuXHalgasauBohDYUl1TfchnvRlyaIve1lPq6o4m5zujaWrtPPOrmimwXhwbNM7wf3COMMk9EJmfQqyg8sOzL02//UaC/IeHUsh0LNJi55wyLxOvMYkP7Uh2VEJk0R7iBF8hd50RcY3SpPYz2D3AMCJmNRPRpt/c2z1+nrgNeD3RvFFCy6sdNttVck7lXsWYcqSG5pTSgsSyzTcg/Ymm3zQRsbtro=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-4096__aes256-gcm__rsa-oaep__Sha512-MGF_Sha1_PSource.data����������������������������0000664�0000000�0000000�00000001125�15171727150�0034111�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0"?> <PurchaseOrder xmlns="urn:example:po"> <Items> <Item Code="001-001-001" Quantity="1"> spade </Item> <Item Code="001-001-002" Quantity="1"> shovel </Item> </Items> <ShippingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </ShippingAddress> <PaymentInfo> <BillingAddress> Dig PLC, 1 First Ave, Dublin 1, Ireland </BillingAddress> <CreditCard Type="Amex"> <Name>Foo B Baz</Name> <Number>1234 567890 12345</Number> <Expires Month="1" Year="2005"/> </CreditCard> </PaymentInfo> </PurchaseOrder> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-4096__aes256-gcm__rsa-oaep__Sha512-MGF_Sha1_PSource.tmpl����������������������������0000664�0000000�0000000�00000002132�15171727150�0034153�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm" /> <dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"> <xenc:EncryptedKey> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"> <xenc:OAEPparams>ZHVtbXkxMjM=</xenc:OAEPparams> <dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512" /> <xenc11:MGF xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha1" /> </xenc:EncryptionMethod> <dsig:KeyInfo> <dsig:KeyName>TestRsa3072Key</dsig:KeyName> <dsig:X509Data/> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedKey> </dsig:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������cipherText__RSA-4096__aes256-gcm__rsa-oaep__Sha512-MGF_Sha1_PSource.xml�����������������������������0000664�0000000�0000000�00000011054�15171727150�0034002�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000�xmlsec-1.3.11/tests/xmlenc11-interop-2012������������������������������������������������������������������������������������������������������������������������������<xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes256-gcm"/><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#rsa-oaep"><xenc:OAEPparams>ZHVtbXkxMjM=</xenc:OAEPparams><dsig:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"/><xenc11:MGF Algorithm="http://www.w3.org/2009/xmlenc11#mgf1sha1" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#"/></xenc:EncryptionMethod><dsig:KeyInfo xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:X509Data><dsig:X509Certificate>MIIFIzCCAwugAwIBAgIISRmDaVDMeMQwDQYJKoZIhvcNAQELBQAwNTESMBAGA1UECxMJeG1sZW5jcjExMR8wHQYDVQQDDBZSU0EtNDA5Nl9TSEEyNTZXaXRoUlNBMCAXDTExMTIxMzE5MzY0MloYDzMwMTEwNDE1MTgzNjQyWjA1MRIwEAYDVQQLEwl4bWxlbmNyMTExHzAdBgNVBAMMFlJTQS00MDk2X1NIQTI1NldpdGhSU0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDdPuDARdPJDOcKv0pONsSipz+gKd+r2NXZyXzdFPHyja4u6NE0Elb0dvUBNqNHg4m20HAolDtoGGcPtPsu14OEmsIQkKYabKl2ILDS25f2fYr+0ycFDvSGo1vaybvLgwFh0sJTHOaOnVJdY47mvV6xJynTDD/FalYqJiT/gSclglzp/UArCwdddikrfL2owzJkYnK16igm17shzwz1VDXZEw2jAnkXb/6bv5k02Z2jKINmNUNyzemSupzBEns6ZRnVz0sjLayYq32a1NVk9bfQPRNZIQlQv1aUpCIo+gCZf8QpNvG1VSbApVjSIK0c3HAPASfBM5YxQgwNWtYtbZXOK5INLE4ygfan3RMq+xpkIvqORv0ZxM9Gm4oHMgGJAaKeenAqFe6/3+2EGiSIz9/ykkGp3b4Dssa8CWWJTIRykhRcanhZH2J8Ot4hg0NwjuSUXxoPPeB7OmvB/j6Rrnd/t/CDWj9T/RgLz8JESAThlfDj5+P8y40SvLzuABuGy7Oh+OaXSol7rU3JSvk1e1RBJNnrFvWXZnncJ/E4KIV4eq8SNu9NQkcC1tYAPJXRGGc70xsMSACMFIarfGLq0iw2g237D8brP2Yg4wqgG4w1TyVnof7RkiDNGge7D5wpzKR1riBmVl8Hcvbsk7+XDWtYH7J4iIgc5kx5oxF1vafbqwIDAQABozUwMzASBgNVHRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBTvlsjJCr66xvzlGie6jjFNNjpcCTANBgkqhkiG9w0BAQsFAAOCAgEArYIcRbgjbDKbJ23J62GkG1edRCb4G1gDyoVfK93lRDUovsCXPyQ9XzQde98/LnL5s1N5YhhzN4AwPQj4NfYFsrVh6RmNcFvlENONK3g7kjuNs5oT7ppnGvDwDTGdpnZJLBnHOS2aAkJsNGQKxjkUCopo9PvthnkUkXgjWR3r+cx++s7gtyi4f/+ZWpcjW/K6VMYHz0fdFW1BvcP0CyBOisSWQ0FOHwyZCuapaGG5QQR0HGcS+Jp3R4N9L93UwqqWBi7LEFRI6P3iNkWD+dXfdg5whHKuYBuuc6VIICMQOWwHiE+pZSaudRiQcZDqp4iOWJBw82y4KERncyk4FoaNTbN0PqvVT+ZXiYnhM/pak7+ARpkraSfYzQ3Z5WbNoifxgKBzh3Ngw58HwEpKKl5y/sVvtTMBCi99gpE4MZzOJUvNUJWYhCxjgEMa06LU+bZlqjDYUTPqbGMl1cPyt9UgIeaKEz28Huf28FbyFr5B6sOLuE5AXxTrI784PO4/ZbmMy7gq5yBSo7a1xyMm1UzM2KhxFE7TkHJ2if8v4G3nR84fpf7Akn7EmcaHoEPZMH3j8DawNKMxiHGn7WCiti8AYdxeAeRQl6dCzqbTvpFf1ITeCbGe823pBd9fYM26kw2aVHBx7W1zq1RfSenbqlVWcGwQ07BkEBz4pGyAiRQen0o=</dsig:X509Certificate><dsig:X509IssuerSerial><dsig:X509IssuerName>CN=RSA-4096_SHA256WithRSA, OU=xmlencr11</dsig:X509IssuerName><dsig:X509SerialNumber>5267385727536888004</dsig:X509SerialNumber></dsig:X509IssuerSerial><dsig:X509SubjectName>CN=RSA-4096_SHA256WithRSA, OU=xmlencr11</dsig:X509SubjectName><dsig:X509SKI>75bIyQq+usb85Ronuo4xTTY6XAk=</dsig:X509SKI></dsig:X509Data></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>qnOYp/1MOCq5eRd40aP/NNwQ/B7BmDlxrdsHtn73T2ydoVjQkmaG8REuTVJxJQ8KKKaIuwe67kdvt5S2rrjRrK9QzgNDF03+dXF7uM6OQt7qLEKTPXfhkilgR2hRvtiyzw83SVQIPe9txT91zP4hvOVqaR99gnvur4NXCVvqvePeDEz10R55TAw55KLjkMLGSb5B2LsX5Cp+FTFtztsgt4lbsFtR749d3UB7EbR4rnkSLqlU1x3MwY4kyu6vlKj53QBCXgLevQN0BwaGw2Ksh7rekdb0kZhmHo7zLGbSg888l62zvWq3Lul6NA4lXZnVaKfQFS9yd7tAfChtq5nqsMzoZZpftcanLv+pAEimGJy3fhR8mZJGh+aGy6nuSXGTKHLd4dWiOqgnT2PU2O19xHiMaOBKS4PNB7Lv5bWToDwlAZn/Cdn08EDfA3SKH8sjK3I3QBbPM/yOeeZNn/8hFDhWxelNu3JFMaa2i1vXTHF+qHJod1E7oJBIdToNogUQcCRP0vLo1F9kQVZ/mVa1VZgEE/YQkwY5nuMsLrbBKN8eO9Pw9VSddCVAFBUNHBSDo+THOb/+YH31dPslCSrE2HQIT8o3zsSmTEQxECALnnYvgPTc2RhbGCKrZNL3T4j8W7zBXMBhKMLC0OvRLDfHxcG3RZj4SD//PkEUR3hqwEw=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></dsig:KeyInfo><xenc:CipherData><xenc:CipherValue>amntSk0OPlW2gAAEU8mTFewf23Pj34Ap22gbtgjeyMJ4DfIiiaIA5NnabFNmUYDF31vObS0x7JN/wc5ICFGjAbamirOLu++Bo0zr8N2EsN04cVxbfAYDOEfnr4hqGpql0om7629E/Z5k7BniXBWCwxNAACzuoJw643QjMl+K8JO9kZiy/JJfKWghzrtX3ummLY9QHgGVKHW2FMfVTeNmOyy5Izj5cPqeDUT+P4hYJCoqMwDZouE7CyTRXgJ+WI7MOnsG9jYJBEl39YgDSr7nZ5dpV6WqtrKFcmvIaE0RVDyeQcDF2wa0kqQPnRJvdaa8QknAiAj3jT49l+uWEP0glQd7iwsH12Q4LkzEBWZA6aTmmfgQn1Q63GSMqOg8YKYc1dTRnaIATaADf6dXmtt1UYKRV2wPxFKrwmdQ6rxoeRNbT/rdCyoSAsfeT/Ej8SpCNRAcN1za03ciMVd6pWfWeUwjhAl7gIv4UeuOnOp1lqbUwjq81d6Ac/GEfKZxxExxGbQXmCen6jCHIk/k1lh1rQwetwUmyl51tP81Yn8S7l0vD33TdGaP/hIFAwKSmRdvB/amoSQb0ofOtZFbEYl0iENHz+L6fD5MKntd7Tq05FCOXQCDr2hcwAAAApgpMixhyE8AbywIJu5o1ta45TASopCQlyM1zxz9Uz9xawGCtDhuLjDo2StvFLSfvBb9nhFWWe/Mpm2NVUk7BTkdLul4k8vjvhVatGRGvuytwEW8LlhrgHWGvy3nJwE0IITteFhHVVc2C/QmLtCUMdwTmrQMonWAt1jlzIGpd+byi+fARtCgljw=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-concatkdf.bin����������������������������������������0000664�0000000�0000000�00000000040�15171727150�0023302�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������� !"#$%&'01234567������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto-orig.data�������������������0000664�0000000�0000000�00000000500�15171727150�0027151�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto.data������������������������0000664�0000000�0000000�00000000470�15171727150�0026221�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto.tmpl������������������������0000664�0000000�0000000�00000002235�15171727150�0026265�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xsi:schemaLocation=" http://www.w3.org/2000/09/xmldsig# ../W3C/xmldsig-core-schema.xsd http://www.w3.org/2001/04/xmlenc# ../W3C/xenc-schema.xsd http://www.w3.org/2009/xmlenc11# ../W3C/xenc-schema-11.xsd"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="00123456789ABCDEF0" PartyUInfo="00414C494345313233" PartyVInfo="00424F424259343536"> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>dkey</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-ConcatKDF-crypto.xml�������������������������0000664�0000000�0000000�00000003146�15171727150�0026113�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xsi:schemaLocation=" http://www.w3.org/2000/09/xmldsig# ../W3C/xmldsig-core-schema.xsd http://www.w3.org/2001/04/xmlenc# ../W3C/xenc-schema.xsd http://www.w3.org/2009/xmlenc11# ../W3C/xenc-schema-11.xsd"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="00123456789ABCDEF0" PartyUInfo="00414C494345313233" PartyVInfo="00424F424259343536"> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>Secret1</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue>Hoc86jjd8cj+IlJxpg+r83uGh8X3wv81zu0I2lqv32Ql5YqUnJKruumozLgQZPnYb6lwMBQ1yeBkdNsmeCwkYVBN5fpqctcJxHjnQvYS3MXuVl8Nx7rmBjmUKPiH4xSIJFdfAKA8703LTDl0rFnubqqukoZYj3WPxxcIZY9fjMmdiW+VKiV9yh2duC6LMr3f9PAow2jrN3iU5jhf+HGzNBJe8pm9ilWEHeWXGLoodZxWr2Qda/xWqiri7o/NO6uRMFntS37i0vqMq7lMtiRDlrDWMC00C0bIMpIqS04WxprjDUKlHk3jwqPuIFruP05wUHj9CW2xiWOQNiLbQwcEpZesDMjLn4TAS6zLlsocN439zPAOpRLR6VLCCqoDlb5WGkhdFYqhs5f5HjibLra/OKNivmsrFq9eye9SB0WvEIgg1vuJ+sjXj/OM5fQxb/bk </xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-PBKDF2-crypto-orig.data����������������������0000664�0000000�0000000�00000000500�15171727150�0026325�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-PBKDF2-crypto.data���������������������������0000664�0000000�0000000�00000000470�15171727150�0025375�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-PBKDF2-crypto.tmpl���������������������������0000664�0000000�0000000�00000002416�15171727150�0025442�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xsi:schemaLocation=" http://www.w3.org/2000/09/xmldsig# ../W3C/xmldsig-core-schema.xsd http://www.w3.org/2001/04/xmlenc# ../W3C/xenc-schema.xsd http://www.w3.org/2009/xmlenc11# ../W3C/xenc-schema-11.xsd"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#pbkdf2"> <xenc11:PBKDF2-params> <xenc11:Salt> <xenc11:Specified>U0FMVWNBTFQ=</xenc11:Specified> </xenc11:Salt> <xenc11:IterationCount>512</xenc11:IterationCount> <xenc11:KeyLength>32</xenc11:KeyLength> <xenc11:PRF Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/> </xenc11:PBKDF2-params> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>dkey-pbkdf2</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-example-PBKDF2-crypto.xml����������������������������0000664�0000000�0000000�00000003346�15171727150�0025271�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xsi:schemaLocation=" http://www.w3.org/2000/09/xmldsig# ../W3C/xmldsig-core-schema.xsd http://www.w3.org/2001/04/xmlenc# ../W3C/xenc-schema.xsd http://www.w3.org/2009/xmlenc11# ../W3C/xenc-schema-11.xsd"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#pbkdf2"> <xenc11:PBKDF2-params> <xenc11:Salt> <xenc11:Specified>U0FMVFNBTFQ=</xenc11:Specified> </xenc11:Salt> <xenc11:IterationCount>1024</xenc11:IterationCount> <xenc11:KeyLength>32</xenc11:KeyLength> <xenc11:PRF Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/> </xenc11:PBKDF2-params> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>dkey-pbkdf2</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue>Hoc86jjd8cj+IlJxpg+r8xrqhDcPZrqGSD33OmFWqF8HFcXzmQGor1Bi23wKL90xiAACK7C20TBqzL9/A3r47wmi0pr9GV9uu6gtU9UhM+MEItfeBJHykaTVTCrpQ+PbaJQ//105jnXUbzPZCJimJhEH2T6tbHZCJ7bVmzlfY2fZlo6DucrmlAbNBS6m22o+0+OFNuCznapCS1wOTVH0D6qkznDG7BEx3F9JkzELhaBpoX2tlB5IbyO78Cfi/QM7FcVkrGQ+/fGyFpb1pmx/vNo1PgcFjsSIVAcszMNDHxA9k6PpvBequlaiJEIodcu1w/V8fvGQWKq9ZneNMw8qMyOQVaCBJvBgOFEi6rB+FTkneVjbd2tSj1k3UnufcVFn0nhQlQ2NWqUoB7Ql2vpNhD6VvSmPV1+2j3pnPgLEefmIEO0CaQH7zvqk6xT+aZfW </xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey-pbkdf2.bin�������������������������������������������0000664�0000000�0000000�00000000010�15171727150�0022513�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PASSWORD������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-concatkdf.bin���������������������������������������0000664�0000000�0000000�00000000420�15171727150�0023367�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto-orig.data������������������0000664�0000000�0000000�00000000500�15171727150�0027234�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto.data�����������������������0000664�0000000�0000000�00000000470�15171727150�0026304�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto.tmpl�����������������������0000664�0000000�0000000�00000001666�15171727150�0026357�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"> <xenc11:ConcatKDFParams AlgorithmID="00123456789ABCDEF0" PartyUInfo="00414C494345313233" PartyVInfo="00424F424259343536"> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> </xenc11:ConcatKDFParams> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>dkey3</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ��������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-ConcatKDF-crypto.xml������������������������0000664�0000000�0000000�00000002361�15171727150�0026174�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/><ds:KeyInfo><xenc11:DerivedKey><xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#ConcatKDF"><xenc11:ConcatKDFParams AlgorithmID="00123456789ABCDEF0" PartyUInfo="00414C494345313233" PartyVInfo="00424F424259343536"><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/></xenc11:ConcatKDFParams></xenc11:KeyDerivationMethod></xenc11:DerivedKey></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>/+7dzLuqmYh3ZlVEMyIRAPlB0Foebm+nYA1GqATNBlicq+VWcKJOoramuqcHogkaS1cd4td0gSlPbkeJJPJH0ehDZHZaifIsdMTz7RWoBjgi4YakJRjIwlnkfVIOxf6QmSN6zSqJNU07KJPDNE/vW3xqL5+2PbIwBS5lZscjbtWxS6uUj/IcFK0P6W2vp9DCSrebv97xseqvhOj25JQcTRVGOcQnS59PQKGcrs7ukgyT3jVC0EZFEoXPBNK0gtSxiwckCEOEQBuSjMez4sCnGbr6qSJmqPkxIEK2HXKofZ5u6A8AryfIFDSZNruxLMJD4q6Ckyoqao2cqkf4WF7dHrVbKJ9DyL8q2FppoJL5bNpEtF5ld2Vs4XKNEyRUU2Y7dJEMwJwiXXMIPIL15/+lN5yDWqsL9pvoyFkdFkeUkApApJZ84W7YTfpDLoVxo0Cj</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto-orig.data���������������������0000664�0000000�0000000�00000000500�15171727150�0026410�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto.data��������������������������0000664�0000000�0000000�00000000470�15171727150�0025460�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto.tmpl��������������������������0000664�0000000�0000000�00000002054�15171727150�0025523�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/> <ds:KeyInfo> <xenc11:DerivedKey> <xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#pbkdf2"> <xenc11:PBKDF2-params> <xenc11:Salt> <xenc11:Specified>VGhpc0lzQVNTSUQ=</xenc11:Specified> </xenc11:Salt> <xenc11:IterationCount>4096</xenc11:IterationCount> <xenc11:KeyLength>32</xenc11:KeyLength> <xenc11:PRF Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/> </xenc11:PBKDF2-params> </xenc11:KeyDerivationMethod> <xenc11:MasterKeyName>dkey3-pbkdf2</xenc11:MasterKeyName> </xenc11:DerivedKey> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue/> </xenc:CipherData> </xenc:EncryptedData> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-example-PBKDF2-crypto.xml���������������������������0000664�0000000�0000000�00000002562�15171727150�0025353�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/><ds:KeyInfo><xenc11:DerivedKey><xenc11:KeyDerivationMethod Algorithm="http://www.w3.org/2009/xmlenc11#pbkdf2"><xenc11:PBKDF2-params><xenc11:Salt><xenc11:Specified>VGhpc0lzQVNTSUQ=</xenc11:Specified></xenc11:Salt><xenc11:IterationCount>4096</xenc11:IterationCount><xenc11:KeyLength>32</xenc11:KeyLength><xenc11:PRF Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/></xenc11:PBKDF2-params></xenc11:KeyDerivationMethod><xenc11:MasterKeyName>dkey3-pbkdf2</xenc11:MasterKeyName></xenc11:DerivedKey></ds:KeyInfo><xenc:CipherData><xenc:CipherValue>/+7dzLuqmYh3ZlVEMyIRAEeb/xlaYrAGdHHaujRbHvu71S2XUkyeu6AeWgzoB/Q+fYUPdwQ1T+ESC/XsYr/DXpFkIlIBTdWIUbdp/ZUf4db/KdinKuaT29dBy9xIFHlZzKwubz18xtuEY1j6tgtR8ZmXYQLwjH0+33MSgoShQub4kbADs86Qr23Qn3VjI1+bDvGPn1VLkPZJNnVraqVM9/vDyMxZnKVqHJdmmS/PdO2JKGBYj5BTGNTMwg12DHXFUtUDxjOh63HyNw6LZYlWBo3Gd7EwHWGJv8CYhC2PhoVcc/Xor/OlxUP3DR3WUth0WGjhqD4Op+36LJwwaPgyyQ6+gncfznlVFrPEThVZeE6B2QYfbHR/hitHcbqgRnpPdcmhbfZxndXTxErSywyjm9AifmjTDHIw1oNWl3q+DkQGvNOoGHUwALz36u0M8Tz0</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData>����������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/dkey3-pbkdf2.bin������������������������������������������0000664�0000000�0000000�00000000010�15171727150�0022576�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������PASSWORD������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/xenc11-example-AES128-GCM.data����������������������������0000664�0000000�0000000�00000000020�15171727150�0024550�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������12%Y ů&����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/xenc11-example-AES128-GCM.key�����������������������������0000664�0000000�0000000�00000000020�15171727150�0024427�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������钆esmjg0����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/xenc11-example-AES128-GCM.tmpl����������������������������0000664�0000000�0000000�00000001016�15171727150�0024621�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <ds:KeyInfo> <ds:KeyName>TestKeyName_GCM</ds:KeyName> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue></xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/tests/xmlenc11-interop-2012/xenc11-example-AES128-GCM.xml�����������������������������0000664�0000000�0000000�00000001117�15171727150�0024447�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<?xml version="1.0" encoding="UTF-8"?> <xenc:EncryptedData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:xenc11="http://www.w3.org/2009/xmlenc11#"> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2009/xmlenc11#aes128-gcm"/> <ds:KeyInfo> <ds:KeyName>Test Key 1 </ds:KeyName> </ds:KeyInfo> <xenc:CipherData> <xenc:CipherValue>yv66vvrO263eyviIQoMewiF3dCRLciG3hNDUnFeSbd6SpcAe6FTcmzPryFY= </xenc:CipherValue> </xenc:CipherData> </xenc:EncryptedData> �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/��������������������������������������������������������������������������������0000775�0000000�0000000�00000000000�15171727150�0014040�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/Makefile.msvc�������������������������������������������������������������������0000664�0000000�0000000�00000124447�15171727150�0016463�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Makefile for xmlsec, specific for Windows, MSVC and NMAKE. # # Take a look at the beginning and modify the variables to suit your # environment. Having done that, you can do a # # nmake [all] to build the xmlsec and the accompanying utilities. # nmake clean to remove all compiler output files and return to a # clean state. # nmake rebuild to rebuild everything from scratch. This basically does # a 'nmake clean' and then a 'nmake all'. # nmake install to install the library and its header files. # # March 2002, Igor Zlatkovic <igor@stud.fh-frankfurt.de> # Created for LibXML and LibXSLT # April 2002, Aleksey Sanin <aleksey@aleksey.com> # Modified for XMLSec Libary # AUTOCONF = .\configure.txt # If you cannot run the configuration script, which would take the burden of # editing this file from your back, then remove the following line... !include $(AUTOCONF) # ...and enable the following lines and adapt them to your environment. #BASEDIR = .. #XMLSEC_SRCDIR = $(BASEDIR)\src #APPS_SRCDIR = $(BASEDIR)\apps #BINDIR = binaries #XMLSEC_MAJOR_VERSION = 0 # set this to the right value. #XMLSEC_MINOR_VERSION = 0 # set this to the right value. #XMLSEC_MICRO_VERSION = 0 # set this to the right value. #WITH_XMLSEC_DEBUG = 1 #UNICODE = 1 #DEBUG = 0 #MEMCHECK = 0 #WITH_CRYPTO=openssl #WITH_DEFAULT_CRYPTO=openssl #WITH_OPENSSL=1 #WITH_OPENSSL_VERSION= #WITH_OPENSSL3_ENGINES=0 #WITH_NSS=0 #WITH_MSCRYPTO=0 #WITH_MSCNG=0 #WITH_LIBXSLT=1 #STATIC = 0 #PEDANTIC = 1 #PREFIX = . # set this to the right value. #BINPREFIX = $(PREFIX)\bin #INCPREFIX = $(PREFIX)\include #LIBPREFIX = $(PREFIX)\lib #SOPREFIX = $(PREFIX)\bin #INCLUDE = $(INCLUDE);$(INCPREFIX) #LIB = $(LIB);$(LIBPREFIX) # There should never be a need to modify anything below this line. # ---------------------------------------------------------------- # # Names of various input and output components. # !if "$(STATIC)" == "1" APP_NAME = xmlseca.exe UNIT_TESTS_APP_NAME = xmlsec_unit_testsa.exe !else APP_NAME = xmlsec.exe UNIT_TESTS_APP_NAME = xmlsec_unit_tests.exe !endif APP_NAME_MANIFEST = $(APP_NAME).manifest XMLSEC_NAME = xmlsec XMLSEC_BASENAME = lib$(XMLSEC_NAME) XMLSEC_SO = $(XMLSEC_BASENAME).dll XMLSEC_SO_MANIFEST = $(XMLSEC_BASENAME).dll.manifest XMLSEC_PDB = $(XMLSEC_BASENAME).pdb XMLSEC_IMP = $(XMLSEC_BASENAME).lib XMLSEC_A = $(XMLSEC_BASENAME)_a.lib XMLSEC_OPENSSL_NAME = $(XMLSEC_NAME)-openssl XMLSEC_OPENSSL_BASENAME = lib$(XMLSEC_OPENSSL_NAME) XMLSEC_OPENSSL_SO = $(XMLSEC_OPENSSL_BASENAME).dll XMLSEC_OPENSSL_SO_MANIFEST = $(XMLSEC_OPENSSL_BASENAME).dll.manifest XMLSEC_OPENSSL_PDB = $(XMLSEC_OPENSSL_BASENAME).pdb XMLSEC_OPENSSL_IMP = $(XMLSEC_OPENSSL_BASENAME).lib XMLSEC_OPENSSL_A = $(XMLSEC_OPENSSL_BASENAME)_a.lib XMLSEC_NSS_NAME = $(XMLSEC_NAME)-nss XMLSEC_NSS_BASENAME = lib$(XMLSEC_NSS_NAME) XMLSEC_NSS_SO = $(XMLSEC_NSS_BASENAME).dll XMLSEC_NSS_SO_MANIFEST = $(XMLSEC_NSS_BASENAME).dll.manifest XMLSEC_NSS_PDB = $(XMLSEC_NSS_BASENAME).pdb XMLSEC_NSS_IMP = $(XMLSEC_NSS_BASENAME).lib XMLSEC_NSS_A = $(XMLSEC_NSS_BASENAME)_a.lib XMLSEC_MSCRYPTO_NAME = $(XMLSEC_NAME)-mscrypto XMLSEC_MSCRYPTO_BASENAME= lib$(XMLSEC_MSCRYPTO_NAME) XMLSEC_MSCRYPTO_SO = $(XMLSEC_MSCRYPTO_BASENAME).dll XMLSEC_MSCRYPTO_SO_MANIFEST = $(XMLSEC_MSCRYPTO_BASENAME).dll.manifest XMLSEC_MSCRYPTO_PDB = $(XMLSEC_MSCRYPTO_BASENAME).pdb XMLSEC_MSCRYPTO_IMP = $(XMLSEC_MSCRYPTO_BASENAME).lib XMLSEC_MSCRYPTO_A = $(XMLSEC_MSCRYPTO_BASENAME)_a.lib XMLSEC_MSCNG_NAME = $(XMLSEC_NAME)-mscng XMLSEC_MSCNG_BASENAME= lib$(XMLSEC_MSCNG_NAME) XMLSEC_MSCNG_SO = $(XMLSEC_MSCNG_BASENAME).dll XMLSEC_MSCNG_SO_MANIFEST = $(XMLSEC_MSCNG_BASENAME).dll.manifest XMLSEC_MSCNG_PDB = $(XMLSEC_MSCNG_BASENAME).pdb XMLSEC_MSCNG_IMP = $(XMLSEC_MSCNG_BASENAME).lib XMLSEC_MSCNG_A = $(XMLSEC_MSCNG_BASENAME)_a.lib # # Places where intermediate files produced by the compiler go # XMLSEC_APPS_INTDIR = apps.int XMLSEC_APPS_INTDIR_A = apps_a.int XMLSEC_INTDIR = $(XMLSEC_BASENAME).int XMLSEC_INTDIR_A = $(XMLSEC_BASENAME)_a.int XMLSEC_OPENSSL_INTDIR = $(XMLSEC_BASENAME)_openssl.int XMLSEC_OPENSSL_INTDIR_A = $(XMLSEC_BASENAME)_openssl_a.int XMLSEC_NSS_INTDIR = $(XMLSEC_BASENAME)_nss.int XMLSEC_NSS_INTDIR_A = $(XMLSEC_BASENAME)_nss_a.int XMLSEC_MSCRYPTO_INTDIR = $(XMLSEC_BASENAME)_mscrypto.int XMLSEC_MSCRYPTO_INTDIR_A= $(XMLSEC_BASENAME)_mscrypto_a.int XMLSEC_MSCNG_INTDIR = $(XMLSEC_BASENAME)_mscng.int XMLSEC_MSCNG_INTDIR_A= $(XMLSEC_BASENAME)_mscng_a.int # # Source folders # XMLSEC_OPENSSL_SRCDIR = $(XMLSEC_SRCDIR)\openssl XMLSEC_NSS_SRCDIR = $(XMLSEC_SRCDIR)\nss XMLSEC_MSCRYPTO_SRCDIR = $(XMLSEC_SRCDIR)\mscrypto XMLSEC_MSCNG_SRCDIR = $(XMLSEC_SRCDIR)\mscng # # Object files for libraries and apps. # XMLSEC_APPS_OBJS = \ $(XMLSEC_APPS_INTDIR)\crypto.obj \ $(XMLSEC_APPS_INTDIR)\cmdline.obj \ $(XMLSEC_APPS_INTDIR)\xmlsec.obj XMLSEC_APPS_OBJS_A = \ $(XMLSEC_APPS_INTDIR_A)\crypto.obj \ $(XMLSEC_APPS_INTDIR_A)\cmdline.obj \ $(XMLSEC_APPS_INTDIR_A)\xmlsec.obj XMLSEC_UNIT_TESTS_OBJS = \ $(XMLSEC_APPS_INTDIR)\unit_tests\base64_unit_tests.obj \ $(XMLSEC_APPS_INTDIR)\unit_tests\transform_helpers_unit_tests.obj \ $(XMLSEC_APPS_INTDIR)\unit_tests\x509_unit_tests.obj \ $(XMLSEC_APPS_INTDIR)\unit_tests\xmltree_unit_tests.obj \ $(XMLSEC_APPS_INTDIR)\unit_tests\templates_unit_tests.obj \ $(XMLSEC_APPS_INTDIR)\unit_tests\xmlsec_unit_tests.obj XMLSEC_UNIT_TESTS_OBJS_A = \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\base64_unit_tests.obj \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\transform_helpers_unit_tests.obj \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\x509_unit_tests.obj \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\xmltree_unit_tests.obj \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\templates_unit_tests.obj \ $(XMLSEC_APPS_INTDIR_A)\unit_tests\xmlsec_unit_tests.obj XMLSEC_OBJS = \ $(XMLSEC_INTDIR)\app.obj\ $(XMLSEC_INTDIR)\base64.obj\ $(XMLSEC_INTDIR)\bn.obj\ $(XMLSEC_INTDIR)\buffer.obj \ $(XMLSEC_INTDIR)\c14n.obj \ $(XMLSEC_INTDIR)\dl.obj \ $(XMLSEC_INTDIR)\enveloped.obj \ $(XMLSEC_INTDIR)\errors.obj \ $(XMLSEC_INTDIR)\io.obj \ $(XMLSEC_INTDIR)\keyinfo.obj \ $(XMLSEC_INTDIR)\keys.obj \ $(XMLSEC_INTDIR)\keysdata.obj \ $(XMLSEC_INTDIR)\keysdata_helpers.obj \ $(XMLSEC_INTDIR)\keysmngr.obj \ $(XMLSEC_INTDIR)\kw_helpers.obj \ $(XMLSEC_INTDIR)\list.obj \ $(XMLSEC_INTDIR)\membuf.obj \ $(XMLSEC_INTDIR)\nodeset.obj \ $(XMLSEC_INTDIR)\parser.obj \ $(XMLSEC_INTDIR)\relationship.obj \ $(XMLSEC_INTDIR)\strings.obj \ $(XMLSEC_INTDIR)\templates.obj \ $(XMLSEC_INTDIR)\transform_helpers.obj \ $(XMLSEC_INTDIR)\transforms.obj \ $(XMLSEC_INTDIR)\xmldsig.obj \ $(XMLSEC_INTDIR)\xmlenc.obj \ $(XMLSEC_INTDIR)\xmlsec.obj \ $(XMLSEC_INTDIR)\xmltree.obj \ $(XMLSEC_INTDIR)\xpath.obj \ $(XMLSEC_INTDIR)\xslt.obj \ $(XMLSEC_INTDIR)\x509_helpers.obj XMLSEC_OBJS_A = \ $(XMLSEC_INTDIR_A)\app.obj\ $(XMLSEC_INTDIR_A)\base64.obj\ $(XMLSEC_INTDIR_A)\bn.obj\ $(XMLSEC_INTDIR_A)\buffer.obj \ $(XMLSEC_INTDIR_A)\c14n.obj \ $(XMLSEC_INTDIR_A)\dl.obj \ $(XMLSEC_INTDIR_A)\enveloped.obj \ $(XMLSEC_INTDIR_A)\errors.obj \ $(XMLSEC_INTDIR_A)\io.obj \ $(XMLSEC_INTDIR_A)\keyinfo.obj \ $(XMLSEC_INTDIR_A)\keys.obj \ $(XMLSEC_INTDIR_A)\keysdata.obj \ $(XMLSEC_INTDIR_A)\keysdata_helpers.obj \ $(XMLSEC_INTDIR_A)\keysmngr.obj \ $(XMLSEC_INTDIR_A)\kw_helpers.obj \ $(XMLSEC_INTDIR_A)\list.obj \ $(XMLSEC_INTDIR_A)\membuf.obj \ $(XMLSEC_INTDIR_A)\nodeset.obj \ $(XMLSEC_INTDIR_A)\parser.obj \ $(XMLSEC_INTDIR_A)\relationship.obj \ $(XMLSEC_INTDIR_A)\strings.obj \ $(XMLSEC_INTDIR_A)\templates.obj \ $(XMLSEC_INTDIR_A)\transform_helpers.obj \ $(XMLSEC_INTDIR_A)\transforms.obj \ $(XMLSEC_INTDIR_A)\xmldsig.obj \ $(XMLSEC_INTDIR_A)\xmlenc.obj \ $(XMLSEC_INTDIR_A)\xmlsec.obj \ $(XMLSEC_INTDIR_A)\xmltree.obj \ $(XMLSEC_INTDIR_A)\xpath.obj \ $(XMLSEC_INTDIR_A)\xslt.obj \ $(XMLSEC_INTDIR_A)\x509_helpers.obj XMLSEC_OPENSSL_OBJS = \ $(XMLSEC_OPENSSL_INTDIR)\app.obj\ $(XMLSEC_OPENSSL_INTDIR)\ciphers.obj \ $(XMLSEC_OPENSSL_INTDIR)\crypto.obj \ $(XMLSEC_OPENSSL_INTDIR)\der_encoded_value.obj \ $(XMLSEC_OPENSSL_INTDIR)\digests.obj \ $(XMLSEC_OPENSSL_INTDIR)\evp.obj \ $(XMLSEC_OPENSSL_INTDIR)\hmac.obj \ $(XMLSEC_OPENSSL_INTDIR)\kdf.obj \ $(XMLSEC_OPENSSL_INTDIR)\key_agrmnt.obj \ $(XMLSEC_OPENSSL_INTDIR)\keysstore.obj \ $(XMLSEC_OPENSSL_INTDIR)\kt_rsa.obj \ $(XMLSEC_OPENSSL_INTDIR)\kw_rfc_3394.obj \ $(XMLSEC_OPENSSL_INTDIR)\kw_des.obj \ $(XMLSEC_OPENSSL_INTDIR)\signatures.obj \ $(XMLSEC_OPENSSL_INTDIR)\signatures_legacy.obj \ $(XMLSEC_OPENSSL_INTDIR)\strings.obj \ $(XMLSEC_OPENSSL_INTDIR)\symkeys.obj \ $(XMLSEC_OPENSSL_INTDIR)\x509.obj \ $(XMLSEC_OPENSSL_INTDIR)\x509vfy.obj XMLSEC_OPENSSL_OBJS_A = \ $(XMLSEC_OPENSSL_INTDIR_A)\app.obj\ $(XMLSEC_OPENSSL_INTDIR_A)\ciphers.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\crypto.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\der_encoded_value.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\digests.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\evp.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\hmac.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\kdf.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\key_agrmnt.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\keysstore.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\kt_rsa.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\kw_rfc_3394.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\kw_des.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\signatures.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\signatures_legacy.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\strings.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\symkeys.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\x509.obj \ $(XMLSEC_OPENSSL_INTDIR_A)\x509vfy.obj XMLSEC_NSS_OBJS = \ $(XMLSEC_NSS_INTDIR)\app.obj \ $(XMLSEC_NSS_INTDIR)\ciphers_cbc.obj \ $(XMLSEC_NSS_INTDIR)\ciphers_aead.obj \ $(XMLSEC_NSS_INTDIR)\concatkdf.obj \ $(XMLSEC_NSS_INTDIR)\crypto.obj \ $(XMLSEC_NSS_INTDIR)\der_encoded_value.obj \ $(XMLSEC_NSS_INTDIR)\digests.obj \ $(XMLSEC_NSS_INTDIR)\hmac.obj \ $(XMLSEC_NSS_INTDIR)\keysstore.obj \ $(XMLSEC_NSS_INTDIR)\keytrans.obj \ $(XMLSEC_NSS_INTDIR)\key_agrmnt.obj \ $(XMLSEC_NSS_INTDIR)\kw_des.obj \ $(XMLSEC_NSS_INTDIR)\kw_rfc_3394.obj \ $(XMLSEC_NSS_INTDIR)\pbkdf2.obj \ $(XMLSEC_NSS_INTDIR)\pkikeys.obj \ $(XMLSEC_NSS_INTDIR)\signatures.obj \ $(XMLSEC_NSS_INTDIR)\strings.obj \ $(XMLSEC_NSS_INTDIR)\symkeys.obj \ $(XMLSEC_NSS_INTDIR)\x509.obj \ $(XMLSEC_NSS_INTDIR)\x509vfy.obj XMLSEC_NSS_OBJS_A = \ $(XMLSEC_NSS_INTDIR_A)\app.obj \ $(XMLSEC_NSS_INTDIR_A)\ciphers_cbc.obj \ $(XMLSEC_NSS_INTDIR_A)\ciphers_aead.obj \ $(XMLSEC_NSS_INTDIR_A)\concatkdf.obj \ $(XMLSEC_NSS_INTDIR_A)\crypto.obj \ $(XMLSEC_NSS_INTDIR_A)\der_encoded_value.obj \ $(XMLSEC_NSS_INTDIR_A)\digests.obj \ $(XMLSEC_NSS_INTDIR_A)\hmac.obj \ $(XMLSEC_NSS_INTDIR_A)\keysstore.obj \ $(XMLSEC_NSS_INTDIR_A)\keytrans.obj \ $(XMLSEC_NSS_INTDIR_A)\key_agrmnt.obj \ $(XMLSEC_NSS_INTDIR_A)\kw_des.obj \ $(XMLSEC_NSS_INTDIR_A)\kw_rfc_3394.obj \ $(XMLSEC_NSS_INTDIR_A)\pbkdf2.obj \ $(XMLSEC_NSS_INTDIR_A)\pkikeys.obj \ $(XMLSEC_NSS_INTDIR_A)\strings.obj \ $(XMLSEC_NSS_INTDIR_A)\signatures.obj \ $(XMLSEC_NSS_INTDIR_A)\symkeys.obj \ $(XMLSEC_NSS_INTDIR_A)\x509.obj \ $(XMLSEC_NSS_INTDIR_A)\x509vfy.obj XMLSEC_MSCRYPTO_OBJS = \ $(XMLSEC_MSCRYPTO_INTDIR)\app.obj\ $(XMLSEC_MSCRYPTO_INTDIR)\crypto.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\ciphers.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\digests.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\hmac.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\symkeys.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\kt_rsa.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\kw_rfc_3394.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\kw_des.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\strings.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\signatures.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\certkeys.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\keysstore.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\x509.obj \ $(XMLSEC_MSCRYPTO_INTDIR)\x509vfy.obj XMLSEC_MSCRYPTO_OBJS_A = \ $(XMLSEC_MSCRYPTO_INTDIR_A)\app.obj\ $(XMLSEC_MSCRYPTO_INTDIR_A)\crypto.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\ciphers.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\digests.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\hmac.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\symkeys.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\kt_rsa.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\kw_rfc_3394.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\kw_des.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\strings.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\signatures.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\certkeys.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\keysstore.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\x509.obj \ $(XMLSEC_MSCRYPTO_INTDIR_A)\x509vfy.obj XMLSEC_MSCNG_OBJS = \ $(XMLSEC_MSCNG_INTDIR)\app.obj\ $(XMLSEC_MSCNG_INTDIR)\certkeys.obj \ $(XMLSEC_MSCNG_INTDIR)\certkeys_dh.obj \ $(XMLSEC_MSCNG_INTDIR)\certkeys_xdh.obj \ $(XMLSEC_MSCNG_INTDIR)\certkeys_dsa.obj \ $(XMLSEC_MSCNG_INTDIR)\der_encoded_value.obj \ $(XMLSEC_MSCNG_INTDIR)\ciphers_cbc.obj \ $(XMLSEC_MSCNG_INTDIR)\ciphers_gcm.obj \ $(XMLSEC_MSCNG_INTDIR)\concatkdf.obj \ $(XMLSEC_MSCNG_INTDIR)\crypto.obj\ $(XMLSEC_MSCNG_INTDIR)\digests.obj\ $(XMLSEC_MSCNG_INTDIR)\hmac.obj \ $(XMLSEC_MSCNG_INTDIR)\symkeys.obj \ $(XMLSEC_MSCNG_INTDIR)\key_agrmnt.obj \ $(XMLSEC_MSCNG_INTDIR)\keysstore.obj \ $(XMLSEC_MSCNG_INTDIR)\kt_rsa.obj \ $(XMLSEC_MSCNG_INTDIR)\kw_rfc_3394.obj \ $(XMLSEC_MSCNG_INTDIR)\kw_des.obj \ $(XMLSEC_MSCNG_INTDIR)\kdf.obj \ $(XMLSEC_MSCNG_INTDIR)\strings.obj\ $(XMLSEC_MSCNG_INTDIR)\signatures.obj\ $(XMLSEC_MSCNG_INTDIR)\x509.obj\ $(XMLSEC_MSCNG_INTDIR)\x509vfy.obj XMLSEC_MSCNG_OBJS_A = \ $(XMLSEC_MSCNG_INTDIR_A)\app.obj\ $(XMLSEC_MSCNG_INTDIR_A)\certkeys.obj \ $(XMLSEC_MSCNG_INTDIR_A)\certkeys_dh.obj \ $(XMLSEC_MSCNG_INTDIR_A)\certkeys_xdh.obj \ $(XMLSEC_MSCNG_INTDIR_A)\certkeys_dsa.obj \ $(XMLSEC_MSCNG_INTDIR_A)\der_encoded_value.obj \ $(XMLSEC_MSCNG_INTDIR_A)\ciphers_cbc.obj \ $(XMLSEC_MSCNG_INTDIR_A)\ciphers_gcm.obj \ $(XMLSEC_MSCNG_INTDIR_A)\concatkdf.obj \ $(XMLSEC_MSCNG_INTDIR_A)\crypto.obj\ $(XMLSEC_MSCNG_INTDIR_A)\digests.obj\ $(XMLSEC_MSCNG_INTDIR_A)\hmac.obj \ $(XMLSEC_MSCNG_INTDIR_A)\symkeys.obj \ $(XMLSEC_MSCNG_INTDIR_A)\key_agrmnt.obj \ $(XMLSEC_MSCNG_INTDIR_A)\keysstore.obj \ $(XMLSEC_MSCNG_INTDIR_A)\kt_rsa.obj \ $(XMLSEC_MSCNG_INTDIR_A)\kw_rfc_3394.obj \ $(XMLSEC_MSCNG_INTDIR_A)\kw_des.obj \ $(XMLSEC_MSCNG_INTDIR_A)\kdf.obj \ $(XMLSEC_MSCNG_INTDIR_A)\strings.obj\ $(XMLSEC_MSCNG_INTDIR_A)\signatures.obj\ $(XMLSEC_MSCNG_INTDIR_A)\x509.obj\ $(XMLSEC_MSCNG_INTDIR_A)\x509vfy.obj # # The preprocessor and its options. # CPP = cl.exe /EP CPPFLAGS = /nologo # # The compiler and its options. # CFLAGS = $(CFLAGS) /nologo /D "WIN32" /D "_WINDOWS" CFLAGS = $(CFLAGS) /D "_MBCS" /D "_REENTRANT" CFLAGS = $(CFLAGS) /D PACKAGE=\"$(XMLSEC_NAME)\" CFLAGS = $(CFLAGS) /D "WIN32_LEAN_AND_MEAN" CFLAGS = $(CFLAGS) /I$(BASEDIR) /I$(BASEDIR)\include CFLAGS = $(CFLAGS) /I$(INCPREFIX) !if "$(WITH_GOST)" == "1" CFLAGS = $(CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_NO_GOST" /D "XMLSEC_NO_GOST2012" !endif !if "$(WITH_RSA_PKCS15)" == "1" CFLAGS = $(CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_NO_RSA_PKCS15" !endif !if "$(WITH_LEGACY_FEATURES)" == "1" CFLAGS = $(CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_NO_MD5" /D "XMLSEC_NO_RIPEMD160" !endif !if "$(WITH_FTP)" == "1" CFLAGS = $(CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_NO_FTP" !endif !if "$(WITH_HTTP)" == "1" CFLAGS = $(CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_NO_HTTP" !endif !if "$(PEDANTIC)" == "1" CFLAGS = $(CFLAGS) /W4 /WX !else CFLAGS = $(CFLAGS) /W1 !endif # C4127: conditional expression is constant # this generates a false warning inside asserts # C4130: '!=': logical operation on address of string constant: # this generates a false warning inside macros # C4152: nonstandard extension, function/data pointer conversion in expression # this generates a false warning for XMLSEC_PTR_TO_FUNC # C4232: nonstandard extension, address of dllimport is not static # this generates a false warning for functions used in structs CFLAGS = $(CFLAGS) /wd4127 /wd4130 /wd4152 /wd4232 !if "$(UNICODE)" == "1" CFLAGS = $(CFLAGS) /D "UNICODE" /D "_UNICODE" !endif # Optimisation and debug symbols. !if "$(DEBUG)" == "1" CFLAGS = $(CFLAGS) /D "_DEBUG" /Od /Zi !else CFLAGS = $(CFLAGS) /D "NDEBUG" /O2 /Zi !endif # Enable memcheck. !if "$(MEMCHECK)" == "leaks" CFLAGS = $(CFLAGS) /EHsc /D "_CRTDBG_MAP_ALLOC" /D_DEBUG !endif !if "$(MEMCHECK)" == "asan" CFLAGS = $(CFLAGS) /fsanitize=address !endif CFLAGS = $(CFLAGS) $(CRUNTIME) # configurable options !if "$(WITH_LIBXSLT)" == "1" !else CFLAGS = $(CFLAGS) /DXMLSEC_NO_XSLT=1 !endif CFLAGS = $(CFLAGS) /D "XMLSEC_DEFAULT_CRYPTO=\"$(XMLSEC_DEFAULT_CRYPTO)\"" !if "$(STATIC)" == "1" CFLAGS = $(CFLAGS) /D "XMLSEC_NO_CRYPTO_DYNAMIC_LOADING" APP_CFLAGS = $(APP_CFLAGS) $(XMLSEC_CRYPTO_CFLAGS) !else CFLAGS = $(CFLAGS) /D "XMLSEC_DL_WIN32" APP_CFLAGS = $(APP_CFLAGS) /D "XMLSEC_CRYPTO_DYNAMIC_LOADING" !endif XMLSEC_OPENSSL_CFLAGS = /D "XMLSEC_CRYPTO_OPENSSL" /D "XMLSEC_DEFAULT_CRYPTO=\"openssl\"" XMLSEC_NSS_CFLAGS = /D "XMLSEC_CRYPTO_NSS" /D "XMLSEC_DEFAULT_CRYPTO=\"nss\"" XMLSEC_MSCRYPTO_CFLAGS = /D "XMLSEC_CRYPTO_MSCRYPTO" /D "XMLSEC_DEFAULT_CRYPTO=\"mscrypto\"" XMLSEC_MSCNG_CFLAGS = /D "XMLSEC_CRYPTO_MSCNG" /D "XMLSEC_DEFAULT_CRYPTO=\"mscng\"" # Crytpo options !if "$(WITH_OPENSSL_VERSION)" == "XMLSEC_OPENSSL_300" !if "$(WITH_OPENSSL3_ENGINES)" == "1" XMLSEC_OPENSSL_CFLAGS = $(XMLSEC_OPENSSL_CFLAGS) /D "XMLSEC_OPENSSL3_ENGINES=1" !endif !endif # # The linker and its options. # LD = link.exe LDFLAGS = /nologo /debug LDFLAGS = $(LDFLAGS) /LIBPATH:$(BINDIR) /LIBPATH:$(LIBPREFIX) LIBS = bcrypt.lib ws2_32.lib # Optimisation and debug symbols. !if "$(DEBUG)" == "1" LDFLAGS = $(LDFLAGS) /DEBUG /OPT:ICF SOLIBS = libxml2d.lib $(LIBS) ALIBS = libxml2ds.lib $(LIBS) !else LDFLAGS = $(LDFLAGS) /OPT:REF,ICF SOLIBS = libxml2.lib $(LIBS) ALIBS = libxml2s.lib $(LIBS) !endif !if "$(PEDANTIC)" == "1" LDFLAGS = $(LDFLAGS) /WX !endif !if "$(WITH_ICONV)" == "1" CFLAGS = $(CFLAGS) /D "LIBXML_ICONV_ENABLED" SOLIBS = $(SOLIBS) iconv.lib ALIBS = $(ALIBS) iconv_a.lib !endif !if "$(WITH_LIBXSLT)" == "1" !if "$(DEBUG)" == "1" SOLIBS = $(SOLIBS) libxsltd.lib ALIBS = $(ALIBS) libxsltds.lib !else SOLIBS = $(SOLIBS) libxslt.lib ALIBS = $(ALIBS) libxslts.lib !endif !endif XMLSEC_OPENSSL_SOLIBS = libcrypto.lib wsock32.lib kernel32.lib user32.lib gdi32.lib crypt32.lib advapi32.lib ws2_32.lib XMLSEC_OPENSSL_ALIBS = libcrypto.lib wsock32.lib kernel32.lib user32.lib gdi32.lib crypt32.lib advapi32.lib ws2_32.lib !if "$(WITH_OPENSSL_VERSION)" == "XMLSEC_OPENSSL_300" !elseif "$(WITH_OPENSSL_VERSION)" == "XMLSEC_OPENSSL_111" !endif XMLSEC_NSS_SOLIBS = smime3.lib ssl3.lib nss3.lib libnspr4.lib libplds4.lib libplc4.lib kernel32.lib user32.lib gdi32.lib XMLSEC_NSS_ALIBS = smime3.lib ssl3.lib nss3.lib libnspr4_s.lib libplds4_s.lib libplc4_s.lib kernel32.lib user32.lib gdi32.lib XMLSEC_MSCRYPTO_SOLIBS = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib XMLSEC_MSCRYPTO_ALIBS = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib XMLSEC_MSCNG_SOLIBS = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib Bcrypt.lib Ncrypt.lib XMLSEC_MSCNG_ALIBS = kernel32.lib user32.lib gdi32.lib Crypt32.lib Advapi32.lib Bcrypt.lib Ncrypt.lib # The archiver and its options. AR = link.exe /lib ARFLAGS = /nologo !if "$(PEDANTIC)" == "1" ARFLAGS = $(ARFLAGS) /WX !endif # The resource compiler and its options. RC = rc.exe RCFLAGS = /nologo /d "RC_VERSION_MAJOR=$(XMLSEC_VERSION_MAJOR)" \ /d "RC_VERSION_MINOR=$(XMLSEC_VERSION_MINOR)" \ /d "RC_VERSION_MICRO=$(XMLSEC_VERSION_SUBMINOR)" !if "$(DEBUG)" == "1" RCFLAGS = $(RCFLAGS) /d "_DEBUG" !endif # # xmlsec-<default-crypto> options # !if "$(WITH_DEFAULT_CRYPTO)" == "openssl" XMLSEC_DEFAULT_CRYPTO = "openssl" XMLSEC_DEFAULT_CRYPTO_A = "openssla" XMLSEC_CRYPTO_CFLAGS = $(XMLSEC_OPENSSL_CFLAGS) XMLSEC_CRYPTO_SOLIBS = $(XMLSEC_OPENSSL_SOLIBS) XMLSEC_CRYPTO_ALIBS = $(XMLSEC_OPENSSL_ALIBS) XMLSEC_CRYPTO_SO = $(XMLSEC_OPENSSL_SO) XMLSEC_CRYPTO_IMP = $(XMLSEC_OPENSSL_IMP) XMLSEC_CRYPTO_A = $(XMLSEC_OPENSSL_A) !endif !if "$(WITH_DEFAULT_CRYPTO)" == "nss" XMLSEC_DEFAULT_CRYPTO = "nss" XMLSEC_DEFAULT_CRYPTO_A = "nssa" XMLSEC_CRYPTO_CFLAGS = $(XMLSEC_NSS_CFLAGS) XMLSEC_CRYPTO_SOLIBS = $(XMLSEC_NSS_SOLIBS) XMLSEC_CRYPTO_ALIBS = $(XMLSEC_NSS_ALIBS) XMLSEC_CRYPTO_SO = $(XMLSEC_NSS_SO) XMLSEC_CRYPTO_IMP = $(XMLSEC_NSS_IMP) XMLSEC_CRYPTO_A = $(XMLSEC_NSS_A) !endif !if "$(WITH_DEFAULT_CRYPTO)" == "mscrypto" XMLSEC_DEFAULT_CRYPTO = "mscrypto" XMLSEC_DEFAULT_CRYPTO_A = "mscryptoa" XMLSEC_CRYPTO_CFLAGS = $(XMLSEC_MSCRYPTO_CFLAGS) XMLSEC_CRYPTO_SOLIBS = $(XMLSEC_MSCRYPTO_SOLIBS) XMLSEC_CRYPTO_ALIBS = $(XMLSEC_MSCRYPTO_ALIBS) XMLSEC_CRYPTO_SO = $(XMLSEC_MSCRYPTO_SO) XMLSEC_CRYPTO_IMP = $(XMLSEC_MSCRYPTO_IMP) XMLSEC_CRYPTO_A = $(XMLSEC_MSCRYPTO_A) !endif !if "$(WITH_DEFAULT_CRYPTO)" == "mscng" XMLSEC_DEFAULT_CRYPTO = "mscng" XMLSEC_DEFAULT_CRYPTO_A = "mscnga" XMLSEC_CRYPTO_CFLAGS = $(XMLSEC_MSCNG_CFLAGS) XMLSEC_CRYPTO_SOLIBS = $(XMLSEC_MSCNG_SOLIBS) XMLSEC_CRYPTO_ALIBS = $(XMLSEC_MSCNG_ALIBS) XMLSEC_CRYPTO_SO = $(XMLSEC_MSCNG_SO) XMLSEC_CRYPTO_IMP = $(XMLSEC_MSCNG_IMP) XMLSEC_CRYPTO_A = $(XMLSEC_MSCNG_A) !endif !if "$(WITH_OPENSSL_VERSION)" == "XMLSEC_OPENSSL_300" XMLSEC_OPENSSL_TEST_CONFIG = openssl3.cnf !else XMLSEC_OPENSSL_TEST_CONFIG = !endif !if "$(STATIC)" == "1" APP_LIBS=$(ALIBS) $(XMLSEC_CRYPTO_ALIBS) XMLSEC_APP_TARGETS=xmlseca XMLSEC_OPENSSL_TARGETS=openssla XMLSEC_NSS_TARGETS=nssa XMLSEC_MSCNG_TARGETS=mscnga XMLSEC_MSCRYPTO_TARGETS=mscryptoa !else APP_LIBS=$(SOLIBS) $(XMLSEC_CRYPTO_SOLIBS) XMLSEC_APP_TARGETS=xmlsec XMLSEC_OPENSSL_TARGETS=openssl XMLSEC_NSS_TARGETS=nss XMLSEC_MSCNG_TARGETS=mscng XMLSEC_MSCRYPTO_TARGETS=mscrypto !endif EXTRA_CRYPTO_TARGETS = !if "$(WITH_OPENSSL)" == "1" EXTRA_CRYPTO_TARGETS = $(EXTRA_CRYPTO_TARGETS) $(XMLSEC_OPENSSL_TARGETS) !endif !if "$(WITH_NSS)" == "1" EXTRA_CRYPTO_TARGETS = $(EXTRA_CRYPTO_TARGETS) $(XMLSEC_NSS_TARGETS) !endif !if "$(WITH_MSCNG)" == "1" EXTRA_CRYPTO_TARGETS = $(EXTRA_CRYPTO_TARGETS) $(XMLSEC_MSCNG_TARGETS) !endif !if "$(WITH_MSCRYPTO)" == "1" EXTRA_CRYPTO_TARGETS = $(EXTRA_CRYPTO_TARGETS) $(XMLSEC_MSCRYPTO_TARGETS) !endif # # Build rules # all: apps $(XMLSEC_APP_TARGETS) $(EXTRA_CRYPTO_TARGETS) apps: $(BINDIR)\$(APP_NAME) $(BINDIR)\$(UNIT_TESTS_APP_NAME) xmlseca: $(BINDIR)\$(XMLSEC_A) $(XMLSEC_DEFAULT_CRYPTO_A) xmlsec: $(BINDIR)\$(XMLSEC_SO) $(XMLSEC_DEFAULT_CRYPTO) openssla: $(BINDIR)\$(XMLSEC_OPENSSL_A) openssl: $(BINDIR)\$(XMLSEC_OPENSSL_SO) nssa: $(BINDIR)\$(XMLSEC_NSS_A) nss: $(BINDIR)\$(XMLSEC_NSS_SO) $(XMLSEC_NSS_TARGETS) mscryptoa: $(BINDIR)\$(XMLSEC_MSCRYPTO_A) mscrypto: $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) mscnga: $(BINDIR)\$(XMLSEC_MSCNG_A) mscng: $(BINDIR)\$(XMLSEC_MSCNG_SO) check : check-unit-tests check-keys check-dsig check-enc check-unit-tests : $(BINDIR)\$(UNIT_TESTS_APP_NAME) set ASAN_OPTIONS=continue_on_error=0 cd .. win32\$(BINDIR)\$(UNIT_TESTS_APP_NAME) cd win32 set ASAN_OPTIONS= check-keys : $(BINDIR)\$(APP_NAME) set ASAN_OPTIONS=continue_on_error=0 cd .. if not exist %MAKEDIR%\tmp mkdir %MAKEDIR%\tmp set TMPFOLDER=%MAKEDIR%\tmp set XMLSEC_OPENSSL_TEST_CONFIG=$(XMLSEC_OPENSSL_TEST_CONFIG) sh ./tests/testrun.sh ./tests/testKeys.sh "$(WITH_DEFAULT_CRYPTO)" ./tests win32/$(BINDIR)/$(APP_NAME) der cd win32 set ASAN_OPTIONS= check-dsig : $(BINDIR)\$(APP_NAME) set ASAN_OPTIONS=continue_on_error=0 cd .. if not exist %MAKEDIR%\tmp mkdir %MAKEDIR%\tmp set TMPFOLDER=%MAKEDIR%\tmp set XMLSEC_OPENSSL_TEST_CONFIG=$(XMLSEC_OPENSSL_TEST_CONFIG) sh ./tests/testrun.sh ./tests/testDSig.sh "$(WITH_DEFAULT_CRYPTO)" ./tests win32/$(BINDIR)/$(APP_NAME) der cd win32 set ASAN_OPTIONS= check-enc : $(BINDIR)\$(APP_NAME) set ASAN_OPTIONS=continue_on_error=0 cd .. if not exist %MAKEDIR%\tmp mkdir %MAKEDIR%\tmp set TMPFOLDER=%MAKEDIR%\tmp set XMLSEC_OPENSSL_TEST_CONFIG=$(XMLSEC_OPENSSL_TEST_CONFIG) sh ./tests/testrun.sh ./tests/testEnc.sh "$(WITH_DEFAULT_CRYPTO)" ./tests win32/$(BINDIR)/$(APP_NAME) der cd win32 set ASAN_OPTIONS= clean : if exist $(XMLSEC_INTDIR) rmdir /S /Q $(XMLSEC_INTDIR) if exist $(XMLSEC_INTDIR_A) rmdir /S /Q $(XMLSEC_INTDIR_A) if exist $(XMLSEC_OPENSSL_INTDIR) rmdir /S /Q $(XMLSEC_OPENSSL_INTDIR) if exist $(XMLSEC_OPENSSL_INTDIR_A) rmdir /S /Q $(XMLSEC_OPENSSL_INTDIR_A) if exist $(XMLSEC_NSS_INTDIR) rmdir /S /Q $(XMLSEC_NSS_INTDIR) if exist $(XMLSEC_NSS_INTDIR_A) rmdir /S /Q $(XMLSEC_NSS_INTDIR_A) if exist $(XMLSEC_MSCRYPTO_INTDIR) rmdir /S /Q $(XMLSEC_MSCRYPTO_INTDIR) if exist $(XMLSEC_MSCRYPTO_INTDIR_A) rmdir /S /Q $(XMLSEC_MSCRYPTO_INTDIR_A) if exist $(XMLSEC_MSCNG_INTDIR) rmdir /S /Q $(XMLSEC_MSCNG_INTDIR) if exist $(XMLSEC_MSCNG_INTDIR_A) rmdir /S /Q $(XMLSEC_MSCNG_INTDIR_A) if exist $(XMLSEC_APPS_INTDIR) rmdir /S /Q $(XMLSEC_APPS_INTDIR) if exist $(XMLSEC_APPS_INTDIR_A) rmdir /S /Q $(XMLSEC_APPS_INTDIR_A) if exist $(BINDIR) rmdir /S /Q $(BINDIR) rebuild : clean all install : all :: directoreies if not exist $(INCPREFIX)\$(XMLSEC_NAME) mkdir $(INCPREFIX)\$(XMLSEC_NAME) if not exist $(BINPREFIX) mkdir $(BINPREFIX) if not exist $(LIBPREFIX) mkdir $(LIBPREFIX) :: include files if exist $(BASEDIR)\include\$(XMLSEC_NAME) copy $(BASEDIR)\include\$(XMLSEC_NAME)\*.h $(INCPREFIX)\$(XMLSEC_NAME) if exist $(BINDIR)\$(XMLSEC_OPENSSL_SO) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\openssl mkdir $(INCPREFIX)\$(XMLSEC_NAME)\openssl if exist $(BINDIR)\$(XMLSEC_OPENSSL_A) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\openssl mkdir $(INCPREFIX)\$(XMLSEC_NAME)\openssl if exist $(BINDIR)\$(XMLSEC_OPENSSL_SO) copy $(BASEDIR)\include\$(XMLSEC_NAME)\openssl\*.h $(INCPREFIX)\$(XMLSEC_NAME)\openssl if exist $(BINDIR)\$(XMLSEC_OPENSSL_A) copy $(BASEDIR)\include\$(XMLSEC_NAME)\openssl\*.h $(INCPREFIX)\$(XMLSEC_NAME)\openssl if exist $(BINDIR)\$(XMLSEC_NSS_SO) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\nss mkdir $(INCPREFIX)\$(XMLSEC_NAME)\nss if exist $(BINDIR)\$(XMLSEC_NSS_A) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\nss mkdir $(INCPREFIX)\$(XMLSEC_NAME)\nss if exist $(BINDIR)\$(XMLSEC_NSS_SO) copy $(BASEDIR)\include\$(XMLSEC_NAME)\nss\*.h $(INCPREFIX)\$(XMLSEC_NAME)\nss if exist $(BINDIR)\$(XMLSEC_NSS_A) copy $(BASEDIR)\include\$(XMLSEC_NAME)\nss\*.h $(INCPREFIX)\$(XMLSEC_NAME)\nss if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto mkdir $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_A) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto mkdir $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) copy $(BASEDIR)\include\$(XMLSEC_NAME)\mscrypto\*.h $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_A) copy $(BASEDIR)\include\$(XMLSEC_NAME)\mscrypto\*.h $(INCPREFIX)\$(XMLSEC_NAME)\mscrypto if exist $(BINDIR)\$(XMLSEC_MSCNG_SO) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\mscng mkdir $(INCPREFIX)\$(XMLSEC_NAME)\mscng if exist $(BINDIR)\$(XMLSEC_MSCNG_A) if not exist $(INCPREFIX)\$(XMLSEC_NAME)\mscng mkdir $(INCPREFIX)\$(XMLSEC_NAME)\mscng if exist $(BINDIR)\$(XMLSEC_MSCNG_SO) copy $(BASEDIR)\include\$(XMLSEC_NAME)\mscng\*.h $(INCPREFIX)\$(XMLSEC_NAME)\mscng if exist $(BINDIR)\$(XMLSEC_MSCNG_A) copy $(BASEDIR)\include\$(XMLSEC_NAME)\mscng\*.h $(INCPREFIX)\$(XMLSEC_NAME)\mscng :: shared and static libs if exist $(BINDIR)\$(XMLSEC_SO) copy $(BINDIR)\$(XMLSEC_SO) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_SO_MANIFEST) copy $(BINDIR)\$(XMLSEC_SO_MANIFEST) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_PDB) copy $(BINDIR)\$(XMLSEC_PDB) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_A) copy $(BINDIR)\$(XMLSEC_A) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_IMP) copy $(BINDIR)\$(XMLSEC_IMP) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_OPENSSL_SO) copy $(BINDIR)\$(XMLSEC_OPENSSL_SO) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_OPENSSL_SO_MANIFEST) copy $(BINDIR)\$(XMLSEC_OPENSSL_SO_MANIFEST) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_OPENSSL_PDB) copy $(BINDIR)\$(XMLSEC_OPENSSL_PDB) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_OPENSSL_A) copy $(BINDIR)\$(XMLSEC_OPENSSL_A) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_OPENSSL_IMP) copy $(BINDIR)\$(XMLSEC_OPENSSL_IMP) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_NSS_SO) copy $(BINDIR)\$(XMLSEC_NSS_SO) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_NSS_SO_MANIFEST) copy $(BINDIR)\$(XMLSEC_NSS_SO_MANIFEST) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_NSS_PDB) copy $(BINDIR)\$(XMLSEC_NSS_PDB) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_NSS_A) copy $(BINDIR)\$(XMLSEC_NSS_A) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_NSS_IMP) copy $(BINDIR)\$(XMLSEC_NSS_IMP) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) copy $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_SO_MANIFEST) copy $(BINDIR)\$(XMLSEC_MSCRYPTO_SO_MANIFEST) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_PDB) copy $(BINDIR)\$(XMLSEC_MSCRYPTO_PDB) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_A) copy $(BINDIR)\$(XMLSEC_MSCRYPTO_A) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCRYPTO_IMP) copy $(BINDIR)\$(XMLSEC_MSCRYPTO_IMP) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCNG_SO) copy $(BINDIR)\$(XMLSEC_MSCNG_SO) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCNG_SO_MANIFEST) copy $(BINDIR)\$(XMLSEC_MSCNG_SO_MANIFEST) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCNG_PDB) copy $(BINDIR)\$(XMLSEC_MSCNG_PDB) $(SOPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCNG_A) copy $(BINDIR)\$(XMLSEC_MSCNG_A) $(LIBPREFIX) if exist $(BINDIR)\$(XMLSEC_MSCNG_IMP) copy $(BINDIR)\$(XMLSEC_MSCNG_IMP) $(LIBPREFIX) :: apps if exist $(BINDIR)\$(APP_NAME) copy $(BINDIR)\$(APP_NAME) $(BINPREFIX) if exist $(BINDIR)\$(APP_NAME_MANIFEST) copy $(BINDIR)\$(APP_NAME_MANIFEST) $(BINPREFIX) uninstall : if exist $(INCPREFIX)\$(XMLSEC_NAME) rmdir /S /Q $(INCPREFIX)\$(XMLSEC_NAME) if exist $(SOPREFIX)\$(XMLSEC_SO) del /F /S /Q $(SOPREFIX)\$(XMLSEC_SO) if exist $(SOPREFIX)\$(XMLSEC_SO_MANIFEST) del /F /S /Q $(SOPREFIX)\$(XMLSEC_SO) if exist $(SOPREFIX)\$(XMLSEC_PDB) del /F /S /Q $(SOPREFIX)\$(XMLSEC_PDB) if exist $(LIBPREFIX)\$(XMLSEC_A) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_A) if exist $(LIBPREFIX)\$(XMLSEC_IMP) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_IMP) if exist $(SOPREFIX)\$(XMLSEC_OPENSSL_SO) del /F /S /Q $(SOPREFIX)\$(XMLSEC_OPENSSL_SO) if exist $(SOPREFIX)\$(XMLSEC_OPENSSL_SO_MANIFEST) del /F /S /Q $(SOPREFIX)\$(XMLSEC_OPENSSL_SO) if exist $(SOPREFIX)\$(XMLSEC_OPENSSL_PDB) del /F /S /Q $(SOPREFIX)\$(XMLSEC_OPENSSL_PDB) if exist $(LIBPREFIX)\$(XMLSEC_OPENSSL_A) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_OPENSSL_A) if exist $(LIBPREFIX)\$(XMLSEC_OPENSSL_IMP) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_OPENSSL_IMP) if exist $(SOPREFIX)\$(XMLSEC_NSS_SO) del /F /S /Q $(SOPREFIX)\$(XMLSEC_NSS_SO) if exist $(SOPREFIX)\$(XMLSEC_NSS_SO_MANIFEST) del /F /S /Q $(SOPREFIX)\$(XMLSEC_NSS_SO) if exist $(SOPREFIX)\$(XMLSEC_NSS_PDB) del /F /S /Q $(SOPREFIX)\$(XMLSEC_NSS_PDB) if exist $(LIBPREFIX)\$(XMLSEC_NSS_A) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_NSS_A) if exist $(LIBPREFIX)\$(XMLSEC_NSS_IMP) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_NSS_IMP) if exist $(SOPREFIX)\$(XMLSEC_MSCRYPTO_SO) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCRYPTO_SO) if exist $(SOPREFIX)\$(XMLSEC_MSCRYPTO_SO_MANIFEST) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCRYPTO_SO) if exist $(SOPREFIX)\$(XMLSEC_MSCRYPTO_PDB) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCRYPTO_PDB) if exist $(LIBPREFIX)\$(XMLSEC_MSCRYPTO_A) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_MSCRYPTO_A) if exist $(LIBPREFIX)\$(XMLSEC_MSCRYPTO_IMP) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_MSCRYPTO_IMP) if exist $(SOPREFIX)\$(XMLSEC_MSCNG_SO) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCNG_SO) if exist $(SOPREFIX)\$(XMLSEC_MSCNG_SO_MANIFEST) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCNG_SO) if exist $(SOPREFIX)\$(XMLSEC_MSCNG_PDB) del /F /S /Q $(SOPREFIX)\$(XMLSEC_MSCNG_PDB) if exist $(LIBPREFIX)\$(XMLSEC_MSCNG_A) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_MSCNG_A) if exist $(LIBPREFIX)\$(XMLSEC_MSCNG_IMP) del /F /S /Q $(LIBPREFIX)\$(XMLSEC_MSCNG_IMP) if exist $(BINPREFIX)\$(APP_NAME) del /F /S /Q $(BINPREFIX)\$(APP_NAME) if exist $(BINPREFIX)\$(APP_NAME_MANIFEST) del /F /S /Q $(BINPREFIX)\$(APP_NAME_MANIFEST) # # Makes the compiler output directory. # $(BINDIR) : if not exist $(BINDIR) mkdir $(BINDIR) # # Makes intermediate directories. # $(XMLSEC_APPS_INTDIR) : if not exist $(XMLSEC_APPS_INTDIR) mkdir $(XMLSEC_APPS_INTDIR) $(XMLSEC_APPS_INTDIR)\unit_tests : $(XMLSEC_APPS_INTDIR) if not exist $(XMLSEC_APPS_INTDIR)\unit_tests mkdir $(XMLSEC_APPS_INTDIR)\unit_tests $(XMLSEC_APPS_INTDIR_A) : if not exist $(XMLSEC_APPS_INTDIR_A) mkdir $(XMLSEC_APPS_INTDIR_A) $(XMLSEC_APPS_INTDIR_A)\unit_tests : $(XMLSEC_APPS_INTDIR_A) if not exist $(XMLSEC_APPS_INTDIR_A)\unit_tests mkdir $(XMLSEC_APPS_INTDIR_A)\unit_tests $(XMLSEC_INTDIR) : if not exist $(XMLSEC_INTDIR) mkdir $(XMLSEC_INTDIR) $(XMLSEC_INTDIR_A) : if not exist $(XMLSEC_INTDIR_A) mkdir $(XMLSEC_INTDIR_A) $(XMLSEC_OPENSSL_INTDIR) : if not exist $(XMLSEC_OPENSSL_INTDIR) mkdir $(XMLSEC_OPENSSL_INTDIR) $(XMLSEC_OPENSSL_INTDIR_A) : if not exist $(XMLSEC_OPENSSL_INTDIR_A) mkdir $(XMLSEC_OPENSSL_INTDIR_A) $(XMLSEC_NSS_INTDIR) : if not exist $(XMLSEC_NSS_INTDIR) mkdir $(XMLSEC_NSS_INTDIR) $(XMLSEC_NSS_INTDIR_A) : if not exist $(XMLSEC_NSS_INTDIR_A) mkdir $(XMLSEC_NSS_INTDIR_A) $(XMLSEC_MSCRYPTO_INTDIR) : if not exist $(XMLSEC_MSCRYPTO_INTDIR) mkdir $(XMLSEC_MSCRYPTO_INTDIR) $(XMLSEC_MSCRYPTO_INTDIR_A) : if not exist $(XMLSEC_MSCRYPTO_INTDIR_A) mkdir $(XMLSEC_MSCRYPTO_INTDIR_A) $(XMLSEC_MSCNG_INTDIR) : if not exist $(XMLSEC_MSCNG_INTDIR) mkdir $(XMLSEC_MSCNG_INTDIR) $(XMLSEC_MSCNG_INTDIR_A) : if not exist $(XMLSEC_MSCNG_INTDIR_A) mkdir $(XMLSEC_MSCNG_INTDIR_A) # # An implicit rule for xmlsec compilation. # {$(APPS_SRCDIR)}.c{$(XMLSEC_APPS_INTDIR)}.obj:: $(CC) $(CFLAGS) $(APP_CFLAGS) /Fo$(XMLSEC_APPS_INTDIR)\ /c $< {$(APPS_SRCDIR)\unit_tests}.c{$(XMLSEC_APPS_INTDIR)\unit_tests}.obj:: $(CC) $(CFLAGS) $(APP_CFLAGS) /Fo$(XMLSEC_APPS_INTDIR)\unit_tests\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_INTDIR)}.obj:: $(CC) $(CFLAGS) /Fo$(XMLSEC_INTDIR)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_OPENSSL_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_OPENSSL_CFLAGS) /Fo$(XMLSEC_OPENSSL_INTDIR)\ /c $< {$(XMLSEC_OPENSSL_SRCDIR)}.c{$(XMLSEC_OPENSSL_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_OPENSSL_CFLAGS) /Fo$(XMLSEC_OPENSSL_INTDIR)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_NSS_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_NSS_CFLAGS) /Fo$(XMLSEC_NSS_INTDIR)\ /c $< {$(XMLSEC_NSS_SRCDIR)}.c{$(XMLSEC_NSS_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_NSS_CFLAGS) /Fo$(XMLSEC_NSS_INTDIR)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_MSCRYPTO_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_MSCRYPTO_CFLAGS) /Fo$(XMLSEC_MSCRYPTO_INTDIR)\ /c $< {$(XMLSEC_MSCRYPTO_SRCDIR)}.c{$(XMLSEC_MSCRYPTO_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_MSCRYPTO_CFLAGS) /Fo$(XMLSEC_MSCRYPTO_INTDIR)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_MSCNG_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_MSCNG_CFLAGS) /Fo$(XMLSEC_MSCNG_INTDIR)\ /c $< {$(XMLSEC_MSCNG_SRCDIR)}.c{$(XMLSEC_MSCNG_INTDIR)}.obj:: $(CC) $(CFLAGS) $(XMLSEC_MSCNG_CFLAGS) /Fo$(XMLSEC_MSCNG_INTDIR)\ /c $< # # An implicit rule for static xmlsec compilation. # {$(APPS_SRCDIR)}.c{$(XMLSEC_APPS_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(APP_CFLAGS) /Fo$(XMLSEC_APPS_INTDIR_A)\ /c $< {$(APPS_SRCDIR)\unit_tests}.c{$(XMLSEC_APPS_INTDIR_A)\unit_tests}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(APP_CFLAGS) /Fo$(XMLSEC_APPS_INTDIR_A)\unit_tests\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) /Fo$(XMLSEC_INTDIR_A)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_OPENSSL_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_OPENSSL_CFLAGS) /Fo$(XMLSEC_OPENSSL_INTDIR_A)\ /c $< {$(XMLSEC_OPENSSL_SRCDIR)}.c{$(XMLSEC_OPENSSL_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_OPENSSL_CFLAGS) /Fo$(XMLSEC_OPENSSL_INTDIR_A)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_NSS_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_NSS_CFLAGS) /Fo$(XMLSEC_NSS_INTDIR_A)\ /c $< {$(XMLSEC_NSS_SRCDIR)}.c{$(XMLSEC_NSS_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_NSS_CFLAGS) /Fo$(XMLSEC_NSS_INTDIR_A)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_MSCRYPTO_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_MSCRYPTO_CFLAGS) /Fo$(XMLSEC_MSCRYPTO_INTDIR_A)\ /c $< {$(XMLSEC_MSCRYPTO_SRCDIR)}.c{$(XMLSEC_MSCRYPTO_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_MSCRYPTO_CFLAGS) /Fo$(XMLSEC_MSCRYPTO_INTDIR_A)\ /c $< {$(XMLSEC_SRCDIR)}.c{$(XMLSEC_MSCNG_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_MSCNG_CFLAGS) /Fo$(XMLSEC_MSCNG_INTDIR_A)\ /c $< {$(XMLSEC_MSCNG_SRCDIR)}.c{$(XMLSEC_MSCNG_INTDIR_A)}.obj:: $(CC) /D "LIBXML_STATIC" /D "LIBXSLT_STATIC" /D "XMLSEC_STATIC" \ $(CFLAGS) $(XMLSEC_MSCNG_CFLAGS) /Fo$(XMLSEC_MSCNG_INTDIR_A)\ /c $< # # Compiles xmlsec source. Uses the implicit rule for commands. # $(XMLSEC_OBJS) : $(XMLSEC_INTDIR) $(XMLSEC_OBJS_A) : $(XMLSEC_INTDIR_A) $(XMLSEC_OPENSSL_OBJS) : $(XMLSEC_OPENSSL_INTDIR) $(XMLSEC_OPENSSL_OBJS_A) : $(XMLSEC_OPENSSL_INTDIR_A) $(XMLSEC_NSS_OBJS) : $(XMLSEC_NSS_INTDIR) $(XMLSEC_NSS_OBJS_A) : $(XMLSEC_NSS_INTDIR_A) $(XMLSEC_MSCRYPTO_OBJS) : $(XMLSEC_MSCRYPTO_INTDIR) $(XMLSEC_MSCRYPTO_OBJS_A) : $(XMLSEC_MSCRYPTO_INTDIR_A) $(XMLSEC_MSCNG_OBJS) : $(XMLSEC_MSCNG_INTDIR) $(XMLSEC_MSCNG_OBJS_A) : $(XMLSEC_MSCNG_INTDIR_A) # # Compile version resource for each target. # XMLSEC_RES = $(BINDIR)\$(XMLSEC_BASENAME).res $(XMLSEC_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(XMLSEC_SO)\"" \ /d "RC_DESCRIPTION=\"XML Security Library\"" \ /d "RC_FILETYPE=VFT_DLL" /fo $@ version.rc XMLSEC_OPENSSL_RES = $(BINDIR)\$(XMLSEC_OPENSSL_BASENAME).res $(XMLSEC_OPENSSL_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(XMLSEC_OPENSSL_SO)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - OpenSSL crypto plugin\"" \ /d "RC_FILETYPE=VFT_DLL" /fo $@ version.rc XMLSEC_NSS_RES = $(BINDIR)\$(XMLSEC_NSS_BASENAME).res $(XMLSEC_NSS_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(XMLSEC_NSS_SO)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - NSS crypto plugin\"" \ /d "RC_FILETYPE=VFT_DLL" /fo $@ version.rc XMLSEC_MSCRYPTO_RES = $(BINDIR)\$(XMLSEC_MSCRYPTO_BASENAME).res $(XMLSEC_MSCRYPTO_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(XMLSEC_MSCRYPTO_SO)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - MSCrypto crypto plugin\"" \ /d "RC_FILETYPE=VFT_DLL" /fo $@ version.rc XMLSEC_MSCNG_RES = $(BINDIR)\$(XMLSEC_MSCNG_BASENAME).res $(XMLSEC_MSCNG_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(XMLSEC_MSCNG_SO)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - MSCng crypto plugin\"" \ /d "RC_FILETYPE=VFT_DLL" /fo $@ version.rc XMLSEC_APP_RES = $(BINDIR)\xmlsec-app.res $(XMLSEC_APP_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(APP_NAME)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - command line tool\"" \ /d "RC_FILETYPE=VFT_APP" /fo $@ version.rc XMLSEC_UNIT_TESTS_RES = $(BINDIR)\xmlsec-unit-tests.res $(XMLSEC_UNIT_TESTS_RES) : version.rc $(BINDIR) $(RC) $(RCFLAGS) /d "RC_FILENAME=\"$(UNIT_TESTS_APP_NAME)\"" \ /d "RC_DESCRIPTION=\"XML Security Library - unit tests\"" \ /d "RC_FILETYPE=VFT_APP" /fo $@ version.rc # # Creates the shared objects and archives. # $(BINDIR)\$(XMLSEC_SO) : $(BINDIR) $(XMLSEC_OBJS) $(XMLSEC_RES) $(LD) $(LDFLAGS) /DLL /VERSION:$(XMLSEC_VERSION_MAJOR).$(XMLSEC_VERSION_MINOR) \ /IMPLIB:$(BINDIR)\$(XMLSEC_IMP) /OUT:$(BINDIR)\$(XMLSEC_SO) \ $(XMLSEC_OBJS) $(XMLSEC_RES) $(SOLIBS) $(BINDIR)\$(XMLSEC_A) : $(BINDIR) $(XMLSEC_OBJS_A) $(AR) $(ARFLAGS) /OUT:$(BINDIR)\$(XMLSEC_A) $(XMLSEC_OBJS_A) $(BINDIR)\$(XMLSEC_OPENSSL_SO) : $(BINDIR) $(BINDIR)\$(XMLSEC_SO) $(XMLSEC_OPENSSL_OBJS) $(XMLSEC_OPENSSL_RES) $(LD) $(LDFLAGS) /DLL /VERSION:$(XMLSEC_VERSION_MAJOR).$(XMLSEC_VERSION_MINOR) \ /IMPLIB:$(BINDIR)\$(XMLSEC_OPENSSL_IMP) /OUT:$(BINDIR)\$(XMLSEC_OPENSSL_SO) \ $(XMLSEC_OPENSSL_OBJS) $(XMLSEC_OPENSSL_RES) $(XMLSEC_IMP) $(SOLIBS) $(XMLSEC_OPENSSL_SOLIBS) $(BINDIR)\$(XMLSEC_OPENSSL_A) : $(BINDIR) $(BINDIR)\$(XMLSEC_A) $(XMLSEC_OPENSSL_OBJS_A) $(AR) $(ARFLAGS) /OUT:$(BINDIR)\$(XMLSEC_OPENSSL_A) $(XMLSEC_OPENSSL_OBJS_A) $(BINDIR)\$(XMLSEC_NSS_SO) : $(BINDIR) $(BINDIR)\$(XMLSEC_SO) $(XMLSEC_NSS_OBJS) $(XMLSEC_NSS_RES) $(LD) $(LDFLAGS) /DLL /VERSION:$(XMLSEC_VERSION_MAJOR).$(XMLSEC_VERSION_MINOR) \ /IMPLIB:$(BINDIR)\$(XMLSEC_NSS_IMP) /OUT:$(BINDIR)\$(XMLSEC_NSS_SO) \ $(XMLSEC_NSS_OBJS) $(XMLSEC_NSS_RES) $(XMLSEC_IMP) $(SOLIBS) $(XMLSEC_NSS_SOLIBS) $(BINDIR)\$(XMLSEC_NSS_A) : $(BINDIR) $(BINDIR)\$(XMLSEC_A) $(XMLSEC_NSS_OBJS_A) $(AR) $(ARFLAGS) /OUT:$(BINDIR)\$(XMLSEC_NSS_A) $(XMLSEC_NSS_OBJS_A) $(BINDIR)\$(XMLSEC_MSCRYPTO_SO) : $(BINDIR) $(BINDIR)\$(XMLSEC_SO) $(XMLSEC_MSCRYPTO_OBJS) $(XMLSEC_MSCRYPTO_RES) $(LD) $(LDFLAGS) /DLL /VERSION:$(XMLSEC_VERSION_MAJOR).$(XMLSEC_VERSION_MINOR) \ /IMPLIB:$(BINDIR)\$(XMLSEC_MSCRYPTO_IMP) /OUT:$(BINDIR)\$(XMLSEC_MSCRYPTO_SO) \ $(XMLSEC_MSCRYPTO_OBJS) $(XMLSEC_MSCRYPTO_RES) $(XMLSEC_IMP) $(SOLIBS) $(XMLSEC_MSCRYPTO_SOLIBS) $(BINDIR)\$(XMLSEC_MSCRYPTO_A) : $(BINDIR) $(BINDIR)\$(XMLSEC_A) $(XMLSEC_MSCRYPTO_OBJS_A) $(AR) $(ARFLAGS) /OUT:$(BINDIR)\$(XMLSEC_MSCRYPTO_A) $(XMLSEC_MSCRYPTO_OBJS_A) $(BINDIR)\$(XMLSEC_MSCNG_SO) : $(BINDIR) $(BINDIR)\$(XMLSEC_SO) $(XMLSEC_MSCNG_OBJS) $(XMLSEC_MSCNG_RES) $(LD) $(LDFLAGS) /DLL /VERSION:$(XMLSEC_VERSION_MAJOR).$(XMLSEC_VERSION_MINOR) \ /IMPLIB:$(BINDIR)\$(XMLSEC_MSCNG_IMP) /OUT:$(BINDIR)\$(XMLSEC_MSCNG_SO) \ $(XMLSEC_MSCNG_OBJS) $(XMLSEC_MSCNG_RES) $(XMLSEC_IMP) $(SOLIBS) $(XMLSEC_MSCNG_SOLIBS) $(BINDIR)\$(XMLSEC_MSCNG_A) : $(BINDIR) $(BINDIR)\$(XMLSEC_A) $(XMLSEC_MSCNG_OBJS_A) $(AR) $(ARFLAGS) /OUT:$(BINDIR)\$(XMLSEC_MSCNG_A) $(XMLSEC_MSCNG_OBJS_A) # # An implicit rule for xmlsec command line tool # $(BINDIR)\xmlseca.exe: xmlseca $(XMLSEC_APPS_INTDIR_A) $(BINDIR) $(XMLSEC_APPS_OBJS_A) $(XMLSEC_APP_RES) $(LD) $(LDFLAGS) /OUT:$@ $(XMLSEC_A) $(XMLSEC_CRYPTO_A) $(APP_LIBS) $(XMLSEC_APPS_OBJS_A) $(XMLSEC_APP_RES) $(BINDIR)\xmlsec.exe: xmlsec $(XMLSEC_APPS_INTDIR) $(BINDIR) $(XMLSEC_APPS_OBJS) $(XMLSEC_APP_RES) $(LD) $(LDFLAGS) /OUT:$@ $(XMLSEC_IMP) $(XMLSEC_CRYPTO_IMP) $(APP_LIBS) $(XMLSEC_APPS_OBJS) $(XMLSEC_APP_RES) $(BINDIR)\xmlsec_unit_testsa.exe: xmlseca $(XMLSEC_APPS_INTDIR_A)\unit_tests $(BINDIR) $(XMLSEC_UNIT_TESTS_OBJS_A) $(XMLSEC_UNIT_TESTS_RES) $(LD) $(LDFLAGS) /OUT:$@ $(XMLSEC_A) $(XMLSEC_CRYPTO_A) $(APP_LIBS) $(XMLSEC_UNIT_TESTS_OBJS_A) $(XMLSEC_UNIT_TESTS_RES) $(BINDIR)\xmlsec_unit_tests.exe: xmlsec $(XMLSEC_APPS_INTDIR)\unit_tests $(BINDIR) $(XMLSEC_UNIT_TESTS_OBJS) $(XMLSEC_UNIT_TESTS_RES) $(LD) $(LDFLAGS) /OUT:$@ $(XMLSEC_IMP) $(XMLSEC_CRYPTO_IMP) $(APP_LIBS) $(XMLSEC_UNIT_TESTS_OBJS) $(XMLSEC_UNIT_TESTS_RES) �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/README.md�����������������������������������������������������������������������0000664�0000000�0000000�00000001243�15171727150�0015317�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# XMLSec Library: Windows port This directory contains the files required to build this software on the native Windows platform. ## Building the library See the XML Security library [installation tutorial](../docs/md/tutorial/install.md) for details. ## Building your appliation See the XML Security library [compiling and linking tutorial](../docs/md/tutorial/compiling-and-linking.md) for details. ## Building dependencies The [example script](../scripts/build_windows.sh) shows how to build all the required dependencies (LibXML2, LibXSLT, and OpenSSL libraries). Please check the detailed instructions provided by each library for more details. �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/configure.js��������������������������������������������������������������������0000664�0000000�0000000�00000046047�15171727150�0016372�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* Configure script for xmlsec, specific for Windows with Scripting Host. * * This script will configure the libxmlsec build process and create necessary files. * Run it with an 'help', or an invalid option and it will tell you what options * it accepts. * * March 2002, Igor Zlatkovic <igor@stud.fh-frankfurt.de> * Created for LibXML and LibXSLT * April 2002, Aleksey Sanin <aleksey@aleksey.com> * Modified for XMLSec Libary */ /* The source directory, relative to the one where this file resides. */ var baseDir = ".."; var srcDir = baseDir + "\\src"; var srcDirApps = baseDir + "\\apps"; /* The directory where we put the binaries after compilation. */ var binDir = "binaries"; /* Base name of what we are building. */ var baseName = "libxmlsec"; /* Configure file which contains the version and the output file where we can store our build configuration. */ var configFile = baseDir + "\\configure.ac"; var versionFile = ".\\configure.txt"; /* This one will generate config.h for version / package info */ var optsFile = baseDir + "\\config.h"; /* Input and output files regarding the xmlsec version. */ var versionHeaderIn = baseDir + "\\include\\xmlsec\\version.h.in"; var versionHeader = baseDir + "\\include\\xmlsec\\version.h"; /* Version strings for the binary distribution. Will be filled later in the code. */ var verMajorXmlSec; var verMinorXmlSec; var verMicroXmlSec; /* Libxmlsec features. */ var withCrypto = "mscng"; var withDefaultCrypto = "mscng"; var withOpenSSL = 0; var withOpenSSLVersion = ""; var withNss = 0; var withMSCrypto = 0; var withMSCng = 1; var withLibXSLT = 1; var withIconv = 0; /* disable iconv by default */ var withFTP = 0; /* disable ftp by default */ var withHTTP = 0; /* disable http by default */ var withGost = 0; var withRsaPkcs15 = 1; var withLegacyFeatures = 0; /* Win32 build options. */ var buildUnicode = 1; var buildDebug = 0; var buildWithMemcheck = "no"; var buildPedantic = 1; var buildCc = "cl.exe"; var buildCflags = ""; var buildStatic = 1; var buildPrefix = "."; var buildBinPrefix = "$(PREFIX)\\bin"; var buildIncPrefix = "$(PREFIX)\\include"; var buildLibPrefix = "$(PREFIX)\\lib"; var buildSoPrefix = "$(PREFIX)\\bin"; var buildInclude = "."; var buildLib = "."; var cruntime = "/MD"; /* Crypto options */ var withOpenSSL3Engines = 0; /* Local stuff */ var error = 0; /* Helper function, transforms the option variable into the 'Enabled' or 'Disabled' string. */ function boolToStr(opt) { if (opt == false) return "Disabled"; else if (opt == true) return "Enabled"; error = 1; return "Undefined"; } /* Helper function, transforms the argument string into the boolean value. */ function strToBool(opt) { if (opt == "0" || opt == "no") return false; else if (opt == "1" || opt == "yes") return true; error = 1; return false; } /* Displays the details about how to use this script. */ function usage() { var txt; txt = "Usage:\n"; txt += " cscript " + WScript.ScriptName + " <options>\n"; txt += " cscript " + WScript.ScriptName + " help\n\n"; txt += "Options can be specified in the form <option>=<value>.\n\n"; txt += "XmlSec Library options, default value given in parentheses:\n\n"; txt += " crypto: Crypto engines list, first is default: \"openssl\",\n"; txt += " \"openssl=111\", \"openssl-111\", \"openssl=300\",\n"; txt += " \"openssl-300\", \"nss\", \"mscrypto\", \"mscng\"\n"; txt += " (\"" + withCrypto + "\");\n" txt += " xslt: LibXSLT is used (" + (withLibXSLT? "yes" : "no") + ")\n"; txt += " iconv: Use the iconv library (" + (withIconv? "yes" : "no") + ")\n"; txt += " ftp: Enable FTP support (" + (withFTP ? "yes" : "no") + ")\n"; txt += " http: Enable HTTP support (" + (withHTTP ? "yes" : "no") + ")\n"; txt += " rsa-pkcs15: Enable RSA PKCS#1.5 key transport (" + (withRsaPkcs15 ? "yes" : "no") + ")\n"; txt += " gost: Enable GOST algorithms (" + (withGost ? "yes" : "no") + ")\n"; txt += " legacy-features: Enable legacy features and crypto algorithms (" + (withLegacyFeatures ? "yes" : "no") + ")\n"; txt += "\nWin32 build options, default value given in parentheses:\n\n"; txt += " unicode: Build Unicode version (" + (buildUnicode? "yes" : "no") + ")\n"; txt += " debug: Build unoptimised debug executables (" + (buildDebug? "yes" : "no") + ")\n"; txt += " memcheck: Build unoptimised debug executables with memcheck reporting (" + buildWithMemcheck + ")\n"; txt += " with possible options: 'yes' or 'leaks', 'asan', and 'no' (default)." txt += " pedantic: Build with more warnings enabled (" + (buildPedantic? "yes" : "no") + ")\n"; txt += " cc: Build with the specified compiler(" + buildCc + ")\n"; txt += " cflags: Build with the specified compiler flags('" + buildCflags + "')\n"; txt += " static: Build static xmlsec libraries (" + (buildStatic? "yes" : "no") + ")\n"; txt += " prefix: Base directory for the installation (" + buildPrefix + ")\n"; txt += " bindir: Directory where xmlsec and friends should be installed\n"; txt += " (" + buildBinPrefix + ")\n"; txt += " incdir: Directory where headers should be installed\n"; txt += " (" + buildIncPrefix + ")\n"; txt += " libdir: Directory where static and import libraries should be\n"; txt += " installed (" + buildLibPrefix + ")\n"; txt += " sodir: Directory where shared libraries should be installed\n"; txt += " (" + buildSoPrefix + ")\n"; txt += " include: Additional search path for the compiler, particularily\n"; txt += " where libxml headers can be found (" + buildInclude + ")\n"; txt += " lib: Additional search path for the linker, particularily\n"; txt += " where libxml library can be found (" + buildLib + ")\n"; txt += "\nCrypto options, default value given in parentheses:\n\n"; txt += " with-openssl3-engines: Enable ENGINE interface support for OpenSSL (" + (withOpenSSL3Engines ? "yes" : "no") + ")\n"; WScript.Echo(txt); } /* Parses AC_INIT([name],[version],[url]) and extracts version components. Returns an array [major, minor, subminor]. */ function parseAcInit(str) { var match = str.match(/AC_INIT\(\[([^\]]*)\],\[(\d+)\.(\d+)\.(\d+)\],\[([^\]]*)\]\)/); if (match == null) { return null; } return [match[2], match[3], match[4]]; } function parseConfigureAc(fso) { var cf, ln, s, ver; /* Parse version from AC_INIT */ cf = fso.OpenTextFile(configFile, 1); while (cf.AtEndOfStream != true) { ln = cf.ReadLine(); ver = parseAcInit(ln); if (ver != null) { break; } } cf.Close(); /* done */ return ver; } /* Discovers the version we are working with by reading the apropriate configuration file. Despite its name, this also writes the configuration file included by our makefile. */ function discoverVersion() { var fso, cf, vf, ln, s; fso = new ActiveXObject("Scripting.FileSystemObject"); /* get version from configure.ac AC_INIT */ ver = parseConfigureAc(fso); if (ver == null) { error = 1; return; } verMajorXmlSec = ver[0]; verMinorXmlSec = ver[1]; verMicroXmlSec = ver[2]; /* Write the configuration file for the Makefile. */ vf = fso.CreateTextFile(versionFile, true); vf.WriteLine("# " + versionFile); vf.WriteLine("# This file is generated automatically by " + WScript.ScriptName + "."); vf.WriteBlankLines(1); vf.WriteLine("XMLSEC_VERSION_MAJOR=" + verMajorXmlSec); vf.WriteLine("XMLSEC_VERSION_MINOR=" + verMinorXmlSec); vf.WriteLine("XMLSEC_VERSION_SUBMINOR=" + verMicroXmlSec); vf.WriteLine("BASEDIR=" + baseDir); vf.WriteLine("XMLSEC_SRCDIR=" + srcDir); vf.WriteLine("APPS_SRCDIR=" + srcDirApps); vf.WriteLine("BINDIR=" + binDir); vf.WriteLine("WITH_CRYPTO=" + withCrypto); vf.WriteLine("WITH_DEFAULT_CRYPTO=" + withDefaultCrypto); vf.WriteLine("WITH_OPENSSL=" + withOpenSSL); vf.WriteLine("WITH_OPENSSL_VERSION=XMLSEC_OPENSSL_" + withOpenSSLVersion); vf.WriteLine("WITH_OPENSSL3_ENGINES=" + (withOpenSSL3Engines ? "1" : "0") ); vf.WriteLine("WITH_NSS=" + withNss); vf.WriteLine("WITH_MSCRYPTO=" + withMSCrypto); vf.WriteLine("WITH_MSCNG=" + withMSCng); vf.WriteLine("WITH_LIBXSLT=" + (withLibXSLT ? "1" : "0")); vf.WriteLine("WITH_ICONV=" + (withIconv ? "1" : "0")); vf.WriteLine("WITH_FTP=" + (withFTP ? "1" : "0")); vf.WriteLine("WITH_HTTP=" + (withHTTP ? "1" : "0")); vf.WriteLine("WITH_GOST=" + (withGost ? "1" : "0")); vf.WriteLine("WITH_RSA_PKCS15=" + (withRsaPkcs15 ? "1" : "0")); vf.WriteLine("WITH_LEGACY_FEATURES=" + (withLegacyFeatures ? "1" : "0")); vf.WriteLine("UNICODE=" + (buildUnicode? "1" : "0")); vf.WriteLine("DEBUG=" + (buildDebug? "1" : "0")); vf.WriteLine("MEMCHECK=" + buildWithMemcheck); vf.WriteLine("PEDANTIC=" + (buildPedantic? "1" : "0")); vf.WriteLine("CC=" + buildCc); vf.WriteLine("CFLAGS=" + buildCflags); vf.WriteLine("STATIC=" + (buildStatic? "1" : "0")); vf.WriteLine("PREFIX=" + buildPrefix); vf.WriteLine("BINPREFIX=" + buildBinPrefix); vf.WriteLine("INCPREFIX=" + buildIncPrefix); vf.WriteLine("LIBPREFIX=" + buildLibPrefix); vf.WriteLine("SOPREFIX=" + buildSoPrefix); vf.WriteLine("INCLUDE=$(INCLUDE);" + buildInclude); vf.WriteLine("LIB=$(LIB);" + buildLib); vf.WriteLine("CRUNTIME=" + cruntime); vf.Close(); } /* Configures xmlsec. This one will generate config.h for version / package info */ function configureXmlSec() { var fso, of; var packageName = "xmlsec1"; var fullVersion = verMajorXmlSec + "." + verMinorXmlSec + "." + verMicroXmlSec; fso = new ActiveXObject("Scripting.FileSystemObject"); of = fso.CreateTextFile(optsFile, true); of.WriteLine("/* config.h. Generated by configure.js */"); of.WriteLine("#define PACKAGE_NAME \"" + packageName + "\""); of.WriteLine("#define PACKAGE_VERSION \"" + fullVersion + "\""); of.WriteLine("#define PACKAGE_STRING \"" + packageName + " " + fullVersion + "\""); of.WriteLine("#define VERSION \"" + fullVersion + "\""); of.Close(); } /* This one will generate version.h from version.h.in. */ function configureXmlSecVersion() { var fso, ofi, of, ln, s; fso = new ActiveXObject("Scripting.FileSystemObject"); if (fso.FileExists(versionHeader)) { // version.h is already generated, nothing to do. return; } ofi = fso.OpenTextFile(versionHeaderIn, 1); of = fso.CreateTextFile(versionHeader, true); while (ofi.AtEndOfStream != true) { ln = ofi.ReadLine(); s = new String(ln); if (s.search(/\@XMLSEC_VERSION_MAJOR\@/) != -1) { of.WriteLine(s.replace(/\@XMLSEC_VERSION_MAJOR\@/, verMajorXmlSec)); } else if (s.search(/\@XMLSEC_VERSION_MINOR\@/) != -1) { of.WriteLine(s.replace(/\@XMLSEC_VERSION_MINOR\@/, verMinorXmlSec)); } else if (s.search(/\@XMLSEC_VERSION_SUBMINOR\@/) != -1) { of.WriteLine(s.replace(/\@XMLSEC_VERSION_SUBMINOR\@/, verMicroXmlSec)); } else if (s.search(/\@XMLSEC_VERSION\@/) != -1) { of.WriteLine(s.replace(/\@XMLSEC_VERSION\@/, verMajorXmlSec + "." + verMinorXmlSec + "." + verMicroXmlSec)); } else if (s.search(/\@XMLSEC_VERSION_INFO\@/) != -1) { of.WriteLine(s.replace(/\@XMLSEC_VERSION_INFO\@/, (parseInt(verMajorXmlSec) + parseInt(verMinorXmlSec)) + ":" + verMicroXmlSec + ":" + verMinorXmlSec)); } else of.WriteLine(ln); } ofi.Close(); of.Close(); } function validateMemcheckOption(opt) { if (opt == "yes" || opt == "leaks") { return "leaks"; } else if (opt == "asan") { return "asan"; } else if (opt == "no") { return "no"; } else { // error, caller will handle it return ""; } } /* * main(), * Execution begins here. */ /* Parse the command-line arguments. */ var cruntimeSet = 0 for (i = 0; (i < WScript.Arguments.length) && (error == 0); i++) { var arg, opt; arg = WScript.Arguments(i); opt = arg.substring(0, arg.indexOf("=")); if (opt.length == 0) opt = arg.substring(0, arg.indexOf(":")); if (opt.length > 0) { if (opt == "crypto") withCrypto = arg.substring(opt.length + 1, arg.length); else if (opt == "xslt") withLibXSLT = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "iconv") withIconv = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "ftp") withFTP = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "http") withHTTP = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "rsa-pkcs15") withRsaPkcs15 = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "gost") withGost = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "legacy-features") withLegacyFeatures = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "legacy-crypto") withLegacyFeatures = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "unicode") buildUnicode = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "debug") buildDebug = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "memcheck") { buildWithMemcheck = validateMemcheckOption(arg.substring(opt.length + 1, arg.length)); if (buildWithMemcheck == "") { WScript.Echo("ERROR: Invalid value for 'memcheck' parameter, supported options are 'yes' or 'leaks', 'asan', and 'no'.\n"); error = 1; } else if (buildWithMemcheck != "no") { WScript.Echo("Note: memcheck option '" + buildWithMemcheck + "' will be used, enabling debug symbols.\n"); buildDebug = true; } } else if (opt == "pedantic") buildPedantic = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "cc") buildCc = arg.substring(opt.length + 1, arg.length); else if (opt == "cflags") buildCflags = arg.substring(opt.length + 1, arg.length); else if (opt == "static") buildStatic = strToBool(arg.substring(opt.length + 1, arg.length)); else if (opt == "prefix") buildPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "incdir") buildIncPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "bindir") buildBinPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "libdir") buildLibPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "sodir") buildSoPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "incdir") buildIncPrefix = arg.substring(opt.length + 1, arg.length); else if (opt == "include") buildInclude = arg.substring(opt.length + 1, arg.length); else if (opt == "lib") buildLib = arg.substring(opt.length + 1, arg.length); else if (opt == "cruntime") { cruntime = arg.substring(opt.length + 1, arg.length); cruntimeSet = 1; } else if (opt == "with-openssl3-engines") { withOpenSSL3Engines = strToBool(arg.substring(opt.length + 1, arg.length)); } else { error = 1; WScript.Echo("ERROR: Unknown option'" + opt + "'\n"); } } else if (i == 0 && arg == "help") { usage(); WScript.Quit(0); } else { error = 1; } } if (cruntimeSet == 0 && buildDebug != 0) { cruntime = cruntime + "d"; } // If we have an error here, it is because the user supplied bad parameters. if (error != 0) { usage(); WScript.Quit(error); } // Discover crypto support var crlist, j, curcrypto; crlist = withCrypto.split(","); withCrypto = ""; withDefaultCrypto = ""; for (j = 0; j < crlist.length; j++) { if (crlist[j] == "openssl") { curcrypto="openssl"; withOpenSSL = 1; withOpenSSLVersion = "300"; /* default */ } else if (crlist[j] == "openssl=300" || crlist[j] == "openssl-300") { curcrypto = "openssl"; withOpenSSL = 1; withOpenSSLVersion = "300"; } else if (crlist[j] == "openssl=111" || crlist[j] == "openssl-111") { curcrypto="openssl"; withOpenSSL = 1; withOpenSSLVersion = "111"; } else if (crlist[j] == "nss") { curcrypto="nss"; withNss = 1; } else if (crlist[j] == "mscrypto") { curcrypto="mscrypto"; withMSCrypto = 1; } else if (crlist[j] == "mscng") { curcrypto="mscng"; withMSCng = 1; } else { WScript.Echo("Unknown crypto engine \"" + crlist[j] + "\" is found. Aborting."); WScript.Quit(error); } if (j == 0) { withDefaultCrypto = curcrypto; withCrypto = curcrypto; } else { withCrypto = withCrypto + " " + curcrypto; } } // Discover the version. discoverVersion(); if (error != 0) { WScript.Echo("Version discovery failed, aborting."); WScript.Quit(error); } WScript.Echo(baseName + " version: " + verMajorXmlSec + "." + verMinorXmlSec + "." + verMicroXmlSec); // Configure libxmlsec. configureXmlSec(); // Generate version.h. configureXmlSecVersion(); if (error != 0) { WScript.Echo("Configuration failed, aborting."); WScript.Quit(error); } // Create the Makefile. var fso = new ActiveXObject("Scripting.FileSystemObject"); fso.CopyFile(".\\Makefile.msvc", ".\\Makefile", true); WScript.Echo("Created Makefile."); // Display the final configuration. var txtOut = "\nXMLSEC configuration\n"; txtOut += "----------------------------\n"; txtOut += " Use Crypto: " + withCrypto + "\n"; txtOut += " Use Default Crypto: " + withDefaultCrypto + "\n"; txtOut += " Use MSCng: " + boolToStr(withMSCng) + "\n"; txtOut += " Use OpenSSL: " + boolToStr(withOpenSSL) + "\n"; txtOut += " Use OpenSSL Version: " + withOpenSSLVersion + "\n"; txtOut += " Use NSS: " + boolToStr(withNss) + "\n"; txtOut += " Use MSCrypto: " + boolToStr(withMSCrypto) + "\n"; txtOut += " Use LibXSLT: " + boolToStr(withLibXSLT) + "\n"; txtOut += " Use iconv: " + boolToStr(withIconv) + "\n"; txtOut += " Enable RSA PKCS#1.5: " + boolToStr(withRsaPkcs15) + "\n"; txtOut += " Enable GOST: " + boolToStr(withGost) + "\n"; txtOut += "Enable legacy crypto: " + boolToStr(withLegacyFeatures) + "\n"; txtOut += " Support FTP: " + boolToStr(withFTP) + "\n"; txtOut += " Support HTTP: " + boolToStr(withHTTP) + "\n"; txtOut += "\n"; txtOut += "Win32 build configuration\n"; txtOut += "-------------------------\n"; txtOut += " Pedantic: " + boolToStr(buildPedantic) + "\n"; txtOut += " C compiler: " + buildCc + "\n"; txtOut += " C compiler flags: " + buildCflags + "\n"; txtOut += " C-Runtime option: " + cruntime + "\n"; txtOut += " Unicode: " + boolToStr(buildUnicode) + "\n"; txtOut += " Debug symbols: " + boolToStr(buildDebug) + "\n"; txtOut += " Memcheck: " + buildWithMemcheck + "\n"; txtOut += " Static xmlsec libs: " + boolToStr(buildStatic) + "\n"; txtOut += " Install prefix: " + buildPrefix + "\n"; txtOut += " Put tools in: " + buildBinPrefix + "\n"; txtOut += " Put headers in: " + buildIncPrefix + "\n"; txtOut += " Put static libs in: " + buildLibPrefix + "\n"; txtOut += " Put shared libs in: " + buildSoPrefix + "\n"; txtOut += " Include path: " + buildInclude + "\n"; txtOut += " Lib path: " + buildLib + "\n"; txtOut += "\n"; txtOut += "Crypto configuration\n"; txtOut += "-------------------------\n"; txtOut += " Use OpenSSL3 Engine: " + boolToStr(withOpenSSL3Engines) + "\n"; txtOut += "\n"; txtOut += "\n"; txtOut += "DEPREACTED: the configure.js script is no longer supported and will be removed in a future release.\n" txtOut += "Please use PowerShell version (configure.ps1) to configure the build instead.\n"; txtOut += "\n"; WScript.Echo(txtOut); // Done. �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/configure.ps1�������������������������������������������������������������������0000775�0000000�0000000�00000050646�15171727150�0016464�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������<# .SYNOPSIS Configure script for xmlsec, specific for Windows with PowerShell. powershell -ExecutionPolicy Bypass -File configure.ps1 <options> .DESCRIPTION This script will configure the libxmlsec build process and create necessary files. Run it with 'help' or an invalid option and it will tell you what options it accepts. .NOTES March 2002, Igor Zlatkovic <igor@stud.fh-frankfurt.de> Created for LibXML and LibXSLT April 2002, Aleksey Sanin <aleksey@aleksey.com> Modified for XMLSec Library April 2026, Aleksey Sanin <aleksey@aleksey.com> Converted to PowerShell #> # The source directory, relative to the one where this file resides. $baseDir = ".." $srcDir = "$baseDir\src" $srcDirApps = "$baseDir\apps" # The directory where we put the binaries after compilation. $binDir = "binaries" # Base name of what we are building. $baseName = "libxmlsec" # Configure file which contains the version and the output file where # we can store our build configuration. $configFile = "$baseDir\configure.ac" $versionFile = ".\configure.txt" # This one will generate config.h for version / package info $optsFile = "$baseDir\config.h" # Input and output files regarding the xmlsec version. $versionHeaderIn = "$baseDir\include\xmlsec\version.h.in" $versionHeader = "$baseDir\include\xmlsec\version.h" # Version strings for the binary distribution. Will be filled later in the code. $script:verMajorXmlSec = "" $script:verMinorXmlSec = "" $script:verMicroXmlSec = "" # Libxmlsec features. $script:withCrypto = "mscng" $script:withDefaultCrypto = "mscng" $script:withOpenSSL = 0 $script:withOpenSSLVersion = "" $script:withNss = 0 $script:withMSCrypto = 0 $script:withMSCng = 1 $script:withLibXSLT = 1 $script:withIconv = 0 $script:withFTP = 0 $script:withHTTP = 0 $script:withGost = 0 $script:withRsaPkcs15 = 1 $script:withLegacyFeatures = 0 # Win32 build options. $script:buildUnicode = 1 $script:buildDebug = 0 $script:buildWithMemcheck = "no" $script:buildPedantic = 1 $script:buildCc = "cl.exe" $script:buildCflags = "" $script:buildStatic = 1 $script:buildPrefix = "install.dir" $script:buildBinPrefix = '$(PREFIX)\bin' $script:buildIncPrefix = '$(PREFIX)\include' $script:buildLibPrefix = '$(PREFIX)\lib' $script:buildSoPrefix = '$(PREFIX)\bin' $script:buildInclude = "." $script:buildLib = "." $script:cruntime = "/MD" # Crypto options $script:withOpenSSL3Engines = 0 # Local stuff $script:errorFlag = 0 # Helper function, transforms the option variable into the 'Enabled' # or 'Disabled' string. function BoolToStr($opt) { if ($opt -eq 0 -or $opt -eq $false) { return "Disabled" } if ($opt -eq 1 -or $opt -eq $true) { return "Enabled" } $script:errorFlag = 1 return "Undefined" } # Helper function, transforms the argument string into the boolean value. function StrToBool($opt) { if ($opt -eq "0" -or $opt -eq "no") { return 0 } if ($opt -eq "1" -or $opt -eq "yes") { return 1 } $script:errorFlag = 1 return 0 } # Displays the details about how to use this script. function Show-Usage { $scriptName = Split-Path -Leaf $PSCommandPath Write-Host "Usage:" Write-Host " powershell -ExecutionPolicy Bypass -File $scriptName <options>" Write-Host " powershell -ExecutionPolicy Bypass -File $scriptName help" Write-Host "" Write-Host "Options can be specified in the form <option>=<value>." Write-Host "" Write-Host "Win32 build options:" Write-Host " unicode: Build Unicode version (default: '$(if ($script:buildUnicode) { 'yes' } else { 'no' })')" Write-Host " debug: Build unoptimised debug executables (default: '$(if ($script:buildDebug) { 'yes' } else { 'no' })')" Write-Host " memcheck: Build unoptimised debug executables with memcheck reporting (default: '$($script:buildWithMemcheck)')" Write-Host " with possible options: 'yes' or 'leaks', 'asan', and 'no'." Write-Host " pedantic: Build with more warnings enabled (default: '$(if ($script:buildPedantic) { 'yes' } else { 'no' })')" Write-Host " cc: Build with the specified compiler (default: '$($script:buildCc)')" Write-Host " cflags: Build with the specified compiler flags (default: '$($script:buildCflags)')" Write-Host " static: Build static xmlsec libraries (default: '$(if ($script:buildStatic) { 'yes' } else { 'no' })')" Write-Host " prefix: Base directory for the installation (default: '$($script:buildPrefix)')" Write-Host " bindir: Directory where xmlsec and friends should be installed (default: '$($script:buildBinPrefix)')" Write-Host " incdir: Directory where headers should be installed (default: '$($script:buildIncPrefix)')" Write-Host " libdir: Directory where static and import libraries should be installed (default: '$($script:buildLibPrefix)')" Write-Host " sodir: Directory where shared libraries should be installed (default: '$($script:buildSoPrefix)')" Write-Host " include: Additional search path for the compiler, particularily where LibXML2 and other" Write-Host " dependencies headers can be found (default: '$($script:buildInclude)')" Write-Host " lib: Additional search path for the linker, particularily where LibXML2 and other" Write-Host " dependencies libraroes can be found (default: '$($script:buildLib)')" Write-Host "" Write-Host "XML Security Library options:" Write-Host " crypto: Crypto engines list, first is default crypto engine (default: '$($script:withCrypto)')" Write-Host " with possible options: 'mscng', 'openssl', 'nss', and 'mscrypto' (deprecated)" Write-Host " xslt: LibXSLT is used (default: '$(if ($script:withLibXSLT) { 'yes' } else { 'no' })')" Write-Host " iconv: Use the iconv library (default: '$(if ($script:withIconv) { 'yes' } else { 'no' })')" Write-Host " ftp: Enable FTP support (default: '$(if ($script:withFTP) { 'yes' } else { 'no' })')" Write-Host " http: Enable HTTP support (default: '$(if ($script:withHTTP) { 'yes' } else { 'no' })')" Write-Host " rsa-pkcs15: Enable RSA PKCS#1.5 key transport (default: '$(if ($script:withRsaPkcs15) { 'yes' } else { 'no' })')" Write-Host " gost: Enable GOST algorithms (default: '$(if ($script:withGost) { 'yes' } else { 'no' })')" Write-Host " legacy-features: Enable legacy features and crypto algorithms (default: '$(if ($script:withLegacyFeatures) { 'yes' } else { 'no' })')" Write-Host "" Write-Host "Crypto options:" Write-Host " with-openssl3-engines: Enable ENGINE interface support for OpenSSL (default: '$(if ($script:withOpenSSL3Engines) { 'yes' } else { 'no' })')" Write-Host "" } # Parses AC_INIT([name],[version],[url]) and extracts version components. # Returns an array @(major, minor, subminor) or $null. function ParseAcInit($str) { if ($str -match 'AC_INIT\(\[([^\]]*)\],\[(\d+)\.(\d+)\.(\d+)\],\[([^\]]*)\]\)') { return @($Matches[2], $Matches[3], $Matches[4]) } return $null } function ParseConfigureAc { $ver = $null foreach ($ln in Get-Content $configFile) { $ver = ParseAcInit $ln if ($null -ne $ver) { break } } return $ver } # Discovers the version we are working with by reading the appropriate # configuration file. Despite its name, this also writes the configuration # file included by our makefile. function DiscoverVersion { # Get version from configure.ac AC_INIT $ver = ParseConfigureAc if ($null -eq $ver) { $script:errorFlag = 1 return } $script:verMajorXmlSec = $ver[0] $script:verMinorXmlSec = $ver[1] $script:verMicroXmlSec = $ver[2] # Write the configuration file for the Makefile. $lines = @() $lines += "# $versionFile" $lines += "# This file is generated automatically by $(Split-Path -Leaf $PSCommandPath)." $lines += "" $lines += "XMLSEC_VERSION_MAJOR=$($script:verMajorXmlSec)" $lines += "XMLSEC_VERSION_MINOR=$($script:verMinorXmlSec)" $lines += "XMLSEC_VERSION_SUBMINOR=$($script:verMicroXmlSec)" $lines += "BASEDIR=$baseDir" $lines += "XMLSEC_SRCDIR=$srcDir" $lines += "APPS_SRCDIR=$srcDirApps" $lines += "BINDIR=$binDir" $lines += "WITH_CRYPTO=$($script:withCrypto)" $lines += "WITH_DEFAULT_CRYPTO=$($script:withDefaultCrypto)" $lines += "WITH_OPENSSL=$($script:withOpenSSL)" $lines += "WITH_OPENSSL_VERSION=XMLSEC_OPENSSL_$($script:withOpenSSLVersion)" $lines += "WITH_OPENSSL3_ENGINES=$(if ($script:withOpenSSL3Engines) { '1' } else { '0' })" $lines += "WITH_NSS=$($script:withNss)" $lines += "WITH_MSCRYPTO=$($script:withMSCrypto)" $lines += "WITH_MSCNG=$($script:withMSCng)" $lines += "WITH_LIBXSLT=$(if ($script:withLibXSLT) { '1' } else { '0' })" $lines += "WITH_ICONV=$(if ($script:withIconv) { '1' } else { '0' })" $lines += "WITH_FTP=$(if ($script:withFTP) { '1' } else { '0' })" $lines += "WITH_HTTP=$(if ($script:withHTTP) { '1' } else { '0' })" $lines += "WITH_GOST=$(if ($script:withGost) { '1' } else { '0' })" $lines += "WITH_RSA_PKCS15=$(if ($script:withRsaPkcs15) { '1' } else { '0' })" $lines += "WITH_LEGACY_FEATURES=$(if ($script:withLegacyFeatures) { '1' } else { '0' })" $lines += "UNICODE=$(if ($script:buildUnicode) { '1' } else { '0' })" $lines += "DEBUG=$(if ($script:buildDebug) { '1' } else { '0' })" $lines += "MEMCHECK=$($script:buildWithMemcheck)" $lines += "PEDANTIC=$(if ($script:buildPedantic) { '1' } else { '0' })" $lines += "CC=$($script:buildCc)" $lines += "CFLAGS=$($script:buildCflags)" $lines += "STATIC=$(if ($script:buildStatic) { '1' } else { '0' })" $lines += "PREFIX=$($script:buildPrefix)" $lines += "BINPREFIX=$($script:buildBinPrefix)" $lines += "INCPREFIX=$($script:buildIncPrefix)" $lines += "LIBPREFIX=$($script:buildLibPrefix)" $lines += "SOPREFIX=$($script:buildSoPrefix)" $lines += 'INCLUDE=$(INCLUDE);' + $script:buildInclude $lines += 'LIB=$(LIB);' + $script:buildLib $lines += "CRUNTIME=$($script:cruntime)" $lines | Set-Content $versionFile -Encoding UTF8 } # Configures xmlsec. This one will generate config.h for version / package info. function ConfigureXmlSec { $packageName = "xmlsec1" $fullVersion = "$($script:verMajorXmlSec).$($script:verMinorXmlSec).$($script:verMicroXmlSec)" $lines = @() $lines += "/* config.h. Generated by $(Split-Path -Leaf $PSCommandPath) */" $lines += "#define PACKAGE_NAME `"$packageName`"" $lines += "#define PACKAGE_VERSION `"$fullVersion`"" $lines += "#define PACKAGE_STRING `"$packageName $fullVersion`"" $lines += "#define VERSION `"$fullVersion`"" $lines | Set-Content $optsFile -Encoding UTF8 } # This one will generate version.h from version.h.in. function ConfigureXmlSecVersion { if (Test-Path $versionHeader) { # version.h is already generated, nothing to do. return } $content = Get-Content $versionHeaderIn $output = @() $fullVersion = "$($script:verMajorXmlSec).$($script:verMinorXmlSec).$($script:verMicroXmlSec)" $versionInfo = "$([int]$script:verMajorXmlSec + [int]$script:verMinorXmlSec):$($script:verMicroXmlSec):$($script:verMinorXmlSec)" foreach ($ln in $content) { if ($ln -match '@XMLSEC_VERSION_MAJOR@') { $output += $ln -replace '@XMLSEC_VERSION_MAJOR@', $script:verMajorXmlSec } elseif ($ln -match '@XMLSEC_VERSION_MINOR@') { $output += $ln -replace '@XMLSEC_VERSION_MINOR@', $script:verMinorXmlSec } elseif ($ln -match '@XMLSEC_VERSION_SUBMINOR@') { $output += $ln -replace '@XMLSEC_VERSION_SUBMINOR@', $script:verMicroXmlSec } elseif ($ln -match '@XMLSEC_VERSION@') { $output += $ln -replace '@XMLSEC_VERSION@', $fullVersion } elseif ($ln -match '@XMLSEC_VERSION_INFO@') { $output += $ln -replace '@XMLSEC_VERSION_INFO@', $versionInfo } else { $output += $ln } } $output | Set-Content $versionHeader -Encoding UTF8 } function ValidateMemcheckOption($opt) { if ($opt -eq "yes" -or $opt -eq "leaks") { return "leaks" } if ($opt -eq "asan") { return "asan" } if ($opt -eq "no") { return "no" } return "" } # # main(), # Execution begins here. # # Parse the command-line arguments. $cruntimeSet = 0 for ($i = 0; ($i -lt $args.Count) -and ($script:errorFlag -eq 0); $i++) { $arg = $args[$i] $eqIdx = $arg.IndexOf("=") $colIdx = $arg.IndexOf(":") $opt = "" $sepIdx = -1 if ($eqIdx -ge 0) { $opt = $arg.Substring(0, $eqIdx) $sepIdx = $eqIdx } elseif ($colIdx -ge 0) { $opt = $arg.Substring(0, $colIdx) $sepIdx = $colIdx } if ($opt.Length -gt 0) { $val = $arg.Substring($sepIdx + 1) switch ($opt) { "crypto" { $script:withCrypto = $val } "xslt" { $script:withLibXSLT = StrToBool $val } "iconv" { $script:withIconv = StrToBool $val } "ftp" { $script:withFTP = StrToBool $val } "http" { $script:withHTTP = StrToBool $val } "rsa-pkcs15" { $script:withRsaPkcs15 = StrToBool $val } "gost" { $script:withGost = StrToBool $val } "legacy-features" { $script:withLegacyFeatures = StrToBool $val } "legacy-crypto" { $script:withLegacyFeatures = StrToBool $val } "unicode" { $script:buildUnicode = StrToBool $val } "debug" { $script:buildDebug = StrToBool $val } "memcheck" { $script:buildWithMemcheck = ValidateMemcheckOption $val if ($script:buildWithMemcheck -eq "") { Write-Host "ERROR: Invalid value for 'memcheck' parameter, supported options are 'yes' or 'leaks', 'asan', and 'no'." $script:errorFlag = 1 } elseif ($script:buildWithMemcheck -ne "no") { Write-Host "Note: Memcheck option '$($script:buildWithMemcheck)' is selected, enabling debug symbols." $script:buildDebug = 1 } } "pedantic" { $script:buildPedantic = StrToBool $val } "cc" { $script:buildCc = $val } "cflags" { $script:buildCflags = $val } "static" { $script:buildStatic = StrToBool $val } "prefix" { $script:buildPrefix = $val } "incdir" { $script:buildIncPrefix = $val } "bindir" { $script:buildBinPrefix = $val } "libdir" { $script:buildLibPrefix = $val } "sodir" { $script:buildSoPrefix = $val } "include" { $script:buildInclude = $val } "lib" { $script:buildLib = $val } "cruntime" { $script:cruntime = $val $cruntimeSet = 1 } "with-openssl3-engines" { $script:withOpenSSL3Engines = StrToBool $val } default { $script:errorFlag = 1 Write-Host "ERROR: Unknown option '$opt'" } } } elseif ($i -eq 0 -and $arg -eq "help") { Show-Usage exit 0 } else { $script:errorFlag = 1 } } if ($cruntimeSet -eq 0 -and $script:buildDebug -ne 0) { $script:cruntime = $script:cruntime + "d" } # If we have an error here, it is because the user supplied bad parameters. if ($script:errorFlag -ne 0) { Show-Usage exit $script:errorFlag } # Discover crypto support $crlist = $script:withCrypto.Split(",") $script:withCrypto = "" $script:withDefaultCrypto = "" for ($j = 0; $j -lt $crlist.Count; $j++) { $curcrypto = "" switch ($crlist[$j]) { "openssl" { $curcrypto = "openssl" $script:withOpenSSL = 1 $script:withOpenSSLVersion = "300" # default } { $_ -eq "openssl=300" -or $_ -eq "openssl-300" } { $curcrypto = "openssl" $script:withOpenSSL = 1 $script:withOpenSSLVersion = "300" } { $_ -eq "openssl=111" -or $_ -eq "openssl-111" } { $curcrypto = "openssl" $script:withOpenSSL = 1 $script:withOpenSSLVersion = "111" } "nss" { $curcrypto = "nss" $script:withNss = 1 } "mscrypto" { $curcrypto = "mscrypto" $script:withMSCrypto = 1 } "mscng" { $curcrypto = "mscng" $script:withMSCng = 1 } default { Write-Host "Unknown crypto engine `"$($crlist[$j])`" is found. Aborting." exit $script:errorFlag } } if ($j -eq 0) { $script:withDefaultCrypto = $curcrypto $script:withCrypto = $curcrypto } else { $script:withCrypto = $script:withCrypto + " " + $curcrypto } } # Discover the version. DiscoverVersion if ($script:errorFlag -ne 0) { Write-Host "Version discovery failed, aborting." exit $script:errorFlag } Write-Host "$baseName version: $($script:verMajorXmlSec).$($script:verMinorXmlSec).$($script:verMicroXmlSec)" # Configure libxmlsec. ConfigureXmlSec # Generate version.h. ConfigureXmlSecVersion if ($script:errorFlag -ne 0) { Write-Host "Configuration failed, aborting." exit $script:errorFlag } # Create the Makefile. Copy-Item ".\Makefile.msvc" ".\Makefile" -Force Write-Host "Created Makefile." # Display the final configuration. Write-Host "" Write-Host "XMLSEC configuration" Write-Host "----------------------------" Write-Host " Use Crypto: $($script:withCrypto)" Write-Host " Use Default Crypto: $($script:withDefaultCrypto)" Write-Host " Use MSCng: $(BoolToStr $script:withMSCng)" Write-Host " Use OpenSSL: $(BoolToStr $script:withOpenSSL)" Write-Host " Use OpenSSL Version: $($script:withOpenSSLVersion)" Write-Host " Use NSS: $(BoolToStr $script:withNss)" Write-Host " Use MSCrypto: $(BoolToStr $script:withMSCrypto)" Write-Host " Use LibXSLT: $(BoolToStr $script:withLibXSLT)" Write-Host " Use iconv: $(BoolToStr $script:withIconv)" Write-Host " Enable RSA PKCS#1.5: $(BoolToStr $script:withRsaPkcs15)" Write-Host " Enable GOST: $(BoolToStr $script:withGost)" Write-Host "Enable legacy crypto: $(BoolToStr $script:withLegacyFeatures)" Write-Host " Support FTP: $(BoolToStr $script:withFTP)" Write-Host " Support HTTP: $(BoolToStr $script:withHTTP)" Write-Host "" Write-Host "Win32 build configuration" Write-Host "-------------------------" Write-Host " Pedantic: $(BoolToStr $script:buildPedantic)" Write-Host " C compiler: $($script:buildCc)" Write-Host " C compiler flags: $($script:buildCflags)" Write-Host " C-Runtime option: $($script:cruntime)" Write-Host " Unicode: $(BoolToStr $script:buildUnicode)" Write-Host " Debug symbols: $(BoolToStr $script:buildDebug)" Write-Host " Memcheck: $($script:buildWithMemcheck)" Write-Host " Static xmlsec libs: $(BoolToStr $script:buildStatic)" Write-Host " Install prefix: $($script:buildPrefix)" Write-Host " Put tools in: $($script:buildBinPrefix)" Write-Host " Put headers in: $($script:buildIncPrefix)" Write-Host " Put static libs in: $($script:buildLibPrefix)" Write-Host " Put shared libs in: $($script:buildSoPrefix)" Write-Host " Include path: $($script:buildInclude)" Write-Host " Lib path: $($script:buildLib)" Write-Host "" Write-Host "Crypto configuration" Write-Host "-------------------------" Write-Host " Use OpenSSL3 Engine: $(BoolToStr $script:withOpenSSL3Engines)" Write-Host "" # Done. ������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/libxmlsec.def.src���������������������������������������������������������������0000664�0000000�0000000�00000001422�15171727150�0017267�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/* win32/libxmlsec.def.src Pseudo-source used to create a .DEF file for proper dynamic linkage. Assuming you use Microsoft's C compiler, you run a cl /EP libxmlsec.def.src > libxmlsec.def in order to get the right .DEF file. Basically, all you do is preprocess this file using a C/C++ preprocessor and the right .DEF file should come out. Should you need a function which does not seem to be exported from the libxmlsec.dll, its name is most certainly missing here. Add the name of the offending function to this file and rebuild. 21.03.2002, Igor Zlatkovic (igor@stud.fh-frankfurt.de) Created for LibXML and LibXSLT April 2002, Aleksey Sanin <aleksey@aleksey.com> Modified for XMLSec Libary */ LIBRARY libxmlsec EXPORTS ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/mycfg.bat�����������������������������������������������������������������������0000775�0000000�0000000�00000004335�15171727150�0015645�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������@echo on REM REM This is my personal configuration file. REM I am lazy to type all this crap again and again REM You are welcome to customize this file for your REM needs but do not check it into the GitHub, please. REM REM Aleksey Sanin <aleksey@aleksey.com> REM SET XMLSEC_CRYPTO=mscng SET XMLSEC_DEBUG=yes IF "%XMLSEC_DEBUG%" == "yes" ( SET PREFIX=%USERHOME%\distro.debug SET XMLSEC_OPTIONS=debug=yes memcheck=yes cruntime=/MDd ) ELSE ( SET PREFIX=%USERHOME%\distro.release SET XMLSEC_OPTIONS=debug=no memcheck=no cruntime=/MD ) SET LIBXML2_PREFIX=%PREFIX%\libxml2 SET LIBXSLT_PREFIX=%PREFIX%\libxslt SET OPENSSL_PREFIX=%PREFIX%\openssl SET XMLSEC_PREFIX=%PREFIX%\xmlsec SET XMLSEC_INCLUDE=%LIBXML2_PREFIX%\include;%LIBXML2_PREFIX%\include\libxml2;%LIBXSLT_PREFIX%\include;%OPENSSL_PREFIX%\include;%MSSDK_INCLUDE% SET XMLSEC_LIB=%LIBXML2_PREFIX%\lib;%LIBXSLT_PREFIX%\lib;%OPENSSL_PREFIX%\lib;%MSSDK_LIB% SET XMLSEC_OPTIONS=crypto=%XMLSEC_CRYPTO% legacy-features=yes static=no pedantic=yes %XMLSEC_OPTIONS% nmake clean del /F Makefile configure.txt REM cscript configure.js prefix=%XMLSEC_PREFIX% %XMLSEC_OPTIONS% include=%XMLSEC_INCLUDE% lib=%XMLSEC_LIB% powershell -ExecutionPolicy Bypass -File configure.ps1 prefix=%XMLSEC_PREFIX% %XMLSEC_OPTIONS% include=%XMLSEC_INCLUDE% lib=%XMLSEC_LIB% @ECHO OFF mkdir binaries IF EXIST %LIBXML2_PREFIX%\bin\*.dll copy %LIBXML2_PREFIX%\bin\*.dll binaries IF EXIST %LIBXML2_PREFIX%\bin\*.pdb copy %LIBXML2_PREFIX%\bin\*.pdb binaries IF EXIST %LIBXML2_PREFIX%\lib\*.dll copy %LIBXML2_PREFIX%\lib\*.dll binaries IF EXIST %LIBXML2_PREFIX%\lib\*.pdb copy %LIBXML2_PREFIX%\lib\*.pdb binaries IF EXIST %LIBXSLT_PREFIX%\bin\*.dll copy %LIBXSLT_PREFIX%\bin\*.dll binaries IF EXIST %LIBXSLT_PREFIX%\bin\*.pdb copy %LIBXSLT_PREFIX%\bin\*.pdb binaries IF EXIST %LIBXSLT_PREFIX%\lib\*.dll copy %LIBXSLT_PREFIX%\lib\*.dll binaries IF EXIST %LIBXSLT_PREFIX%\lib\*.pdb copy %LIBXSLT_PREFIX%\lib\*.pdb binaries IF EXIST %OPENSSL_PREFIX%\bin\*.dll copy %OPENSSL_PREFIX%\bin\*.dll binaries IF EXIST %OPENSSL_PREFIX%\bin\*.pdb copy %OPENSSL_PREFIX%\bin\*.pdb binaries IF EXIST %OPENSSL_PREFIX%\lib\*.dll copy %OPENSSL_PREFIX%\lib\*.dll binaries IF EXIST %OPENSSL_PREFIX%\lib\*.pdb copy %OPENSSL_PREFIX%\lib\*.pdb binaries ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/win32/version.rc����������������������������������������������������������������������0000775�0000000�0000000�00000004061�15171727150�0016057�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������/** * version.rc: * * Windows resource file for xmlsec binaries. Compiled with /D defines * to set per-target values: * * RC_VERSION_MAJOR, RC_VERSION_MINOR, RC_VERSION_MICRO - version numbers * RC_FILENAME - original file name (e.g. "libxmlsec.dll") * RC_DESCRIPTION - file description string * RC_FILETYPE - VFT_DLL or VFT_APP */ #include <winver.h> #ifndef RC_VERSION_MAJOR #define RC_VERSION_MAJOR 0 #endif #ifndef RC_VERSION_MINOR #define RC_VERSION_MINOR 0 #endif #ifndef RC_VERSION_MICRO #define RC_VERSION_MICRO 0 #endif #ifndef RC_FILENAME #define RC_FILENAME "xmlsec" #endif #ifndef RC_DESCRIPTION #define RC_DESCRIPTION "XML Security Library" #endif #ifndef RC_FILETYPE #define RC_FILETYPE VFT_DLL #endif #define RC_STRINGIFY2(x) #x #define RC_STRINGIFY(x) RC_STRINGIFY2(x) #define RC_VERSION_STR RC_STRINGIFY(RC_VERSION_MAJOR) "." RC_STRINGIFY(RC_VERSION_MINOR) "." RC_STRINGIFY(RC_VERSION_MICRO) VS_VERSION_INFO VERSIONINFO FILEVERSION RC_VERSION_MAJOR,RC_VERSION_MINOR,RC_VERSION_MICRO,0 PRODUCTVERSION RC_VERSION_MAJOR,RC_VERSION_MINOR,RC_VERSION_MICRO,0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG #else FILEFLAGS 0x0L #endif FILEOS VOS_NT_WINDOWS32 FILETYPE RC_FILETYPE FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "CompanyName", "XMLSec Library\0" VALUE "FileDescription", RC_DESCRIPTION "\0" VALUE "FileVersion", RC_VERSION_STR "\0" VALUE "InternalName", RC_FILENAME "\0" VALUE "LegalCopyright", "Copyright (C) 2002-2026 Aleksey Sanin. All Rights Reserved.\0" VALUE "OriginalFilename", RC_FILENAME "\0" VALUE "ProductName", "XML Security Library (xmlsec)\0" VALUE "ProductVersion", RC_VERSION_STR "\0" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec-config.in����������������������������������������������������������������������0000664�0000000�0000000�00000012672�15171727150�0016174�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������#! /bin/sh prefix="@prefix@" package="@PACKAGE@" exec_prefix="@exec_prefix@" exec_prefix_set=no libdir="@libdir@" usage() { cat <<EOF Usage: $package-config [OPTION]... Known values for OPTION are: --cflags print pre-processor and compiler flags --libs print library linking information --prefix print the default XMLSEC prefix folder --exec-prefix print the default XMLSEC executable prefix folder --libdir print the default XMLSEC libraries folder --crypto print the default crypto library name --prefix=DIR change XMLSEC prefix folder --exec-prefix=DIR change XMLSEC executable prefix folder --libdir=DIR change XMLSEC libraries folder --crypto=LIB configure with XMLSEC crypto library (one of the following: none default openssl nss gnutls gcrypt) --help display this help and exit --version output version information EOF exit $1 } # # first parse command line aruments # if [ $# -eq 0 ] then usage 1 1>&2 fi cflags=false libs=false if [ "z@XMLSEC_NO_CRYPTO_DYNAMIC_LOADING@" = "z1" ] ; then crypto="default" else crypto="none" fi while [ $# -gt 0 ] do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case "$1" in --crypto=*) crypto=$optarg ;; --prefix=*) prefix=$optarg if [ $exec_prefix_set = no ] ; then exec_prefix=$optarg fi ;; --prefix) echo $prefix ;; --exec-prefix=*) exec_prefix=$optarg exec_prefix_set=yes ;; --exec-prefix) echo $exec_prefix ;; --libdir=*) libdir=$optarg ;; --libdir) echo $libdir ;; --version) echo @VERSION@ exit 0 ;; --crypto) echo @XMLSEC_DEFAULT_CRYPTO@ exit 0 ;; --help) usage 0 ;; --cflags) cflags=true ;; --libs) libs=true ;; *) usage 1 ;; esac shift done # # Get LibXML2 settings # the_xml_flags="`@LIBXML_CONFIG@ --cflags`" the_xml_libs="`@LIBXML_CONFIG@ --libs`" # # Get LibXSLT settings # the_xslt_flags="" the_xslt_libs="" if test "@XMLSEC_NO_LIBXSLT@" = "0" ; then the_xslt_flags="`@LIBXSLT_CONFIG@ --cflags`" the_xslt_libs="`@LIBXSLT_CONFIG@ --libs`" fi # # Get crypto library settings # the_crypto_flags="" the_crypto_libs="" the_xmlsec_crypto_lib="" case "$crypto" in none) # no crypto, just the core xmlsec engine (useful when more # than one crypto engine i sused by application) if [ "z@XMLSEC_NO_CRYPTO_DYNAMIC_LOADING@" != "z1" ] ; then the_crypto_flags="-DXMLSEC_CRYPTO_DYNAMIC_LOADING=1" fi ;; default) the_crypto_flags="@XMLSEC_CRYPTO_CFLAGS@" the_crypto_libs="@XMLSEC_CRYPTO_LIBS@" the_xmlsec_crypto_lib="-l@XMLSEC_CRYPTO_LIB@" ;; openssl) if test "@XMLSEC_NO_OPENSSL@" = "0" ; then the_crypto_flags="@OPENSSL_CFLAGS@" the_crypto_libs="@OPENSSL_LIBS@" the_xmlsec_crypto_lib="-l@OPENSSL_CRYPTO_LIB@" else echo "Error: the \"$crypto\" cryptographic library is not supported" usage 1 fi ;; gnutls) if test "@XMLSEC_NO_GNUTLS@" = "0" ; then the_crypto_flags="@GNUTLS_CFLAGS@" the_crypto_libs="@GNUTLS_LIBS@" the_xmlsec_crypto_lib="-l@GNUTLS_CRYPTO_LIB@" else echo "Error: the \"$crypto\" cryptographic library is not supported" usage 1 fi ;; gcrypt) if test "@XMLSEC_NO_GCRYPT@" = "0" ; then the_crypto_flags="@GCRYPT_CFLAGS@L" the_crypto_libs="@GCRYPT_LIBS@" the_xmlsec_crypto_lib="-l@GCRYPT_CRYPTO_LIB@" else echo "Error: the \"$crypto\" cryptographic library is not supported" usage 1 fi ;; nss) if test "@XMLSEC_NO_NSS@" = "0"; then the_crypto_flags="@NSS_CFLAGS@" the_crypto_libs="@NSS_LIBS@" the_xmlsec_crypto_lib="-l@NSS_CRYPTO_LIB@" else echo "Error: the \"$crypto\" cryptographic library is not supported" usage 1 fi ;; *) echo "Error: the \"$crypto\" cryptographic library is not supported" usage 1 ;; esac # # Assemble all the settings together # the_flags="$the_flags @XMLSEC_CORE_CFLAGS@ $the_xml_flags $the_xslt_flags $the_crypto_flags" the_libs="$the_libs -L${libdir} @XMLSEC_CORE_LIBS@ $the_xmlsec_crypto_lib -lxmlsec1 $the_xml_libs $the_xslt_libs $the_crypto_libs" if $cflags ; then all_flags="$the_flags" fi if $libs ; then all_flags="$all_flags $services $the_libs" fi if test -z "$all_flags" || test "x$all_flags" = "x " ; then exit 1 fi # Straight out any possible duplicates, but be careful to # get `-lfoo -lbar -lbaz' for `-lfoo -lbaz -lbar -lbaz' other_flags= rev_libs= for i in $all_flags; do case "$i" in # a library, save it for later, in reverse order -l*) rev_libs="$i $rev_libs" ;; *) case " $other_flags " in *\ $i\ *) # already there ;; *) # add it to output other_flags="$other_flags $i" ;; esac ;; esac done ord_libs= for i in $rev_libs; do case " $ord_libs " in *\ $i\ *) # already there ;; *) # add it to output in reverse order ord_libs="$i $ord_libs" ;; esac done echo $other_flags $ord_libs exit 0 ����������������������������������������������������������������������xmlsec-1.3.11/xmlsec-gcrypt.pc.in�������������������������������������������������������������������0000664�0000000�0000000�00000000574�15171727150�0016636�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: xmlsec1-gcrypt Version: @VERSION@ Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libgcrypt, libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@ Cflags: @XMLSEC_GCRYPT_CFLAGS@ Cflags.private: -DXMLSEC_STATIC Libs: @XMLSEC_GCRYPT_LIBS@ ������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec-gnutls.pc.in�������������������������������������������������������������������0000664�0000000�0000000�00000000571�15171727150�0016637�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: xmlsec1-gnutls Version: @VERSION@ Description: XML Security Library implements XML Signature and XML Encryption standards Requires: gnutls, libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@ Cflags: @XMLSEC_GNUTLS_CFLAGS@ Cflags.private: -DXMLSEC_STATIC Libs: @XMLSEC_GNUTLS_LIBS@ ���������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec-nss.pc.in����������������������������������������������������������������������0000664�0000000�0000000�00000000645�15171727150�0016130�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: xmlsec1-nss Version: @VERSION@ Description: XML Security Library implements XML Signature and XML Encryption standards Requires: nss, nspr, libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@ Cflags: -DXMLSEC_CRYPTO_NSS=1 @XMLSEC_CORE_CFLAGS@ Cflags.private: -DXMLSEC_STATIC Libs: -L${libdir} -lxmlsec1-nss @XMLSEC_CORE_LIBS@ �������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec-openssl.pc.in������������������������������������������������������������������0000664�0000000�0000000�00000000575�15171727150�0017012�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: xmlsec1-openssl Version: @VERSION@ Description: XML Security Library implements XML Signature and XML Encryption standards Requires: openssl, libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@ Cflags: @XMLSEC_OPENSSL_CFLAGS@ Cflags.private: -DXMLSEC_STATIC Libs: @XMLSEC_OPENSSL_LIBS@ �����������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec.pc.in��������������������������������������������������������������������������0000664�0000000�0000000�00000000564�15171727150�0015327�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: xmlsec1 Version: @VERSION@ Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= @LIBXML_MIN_VERSION@ @LIBXSLT_PC_FILE_COND@ Cflags: -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 @XMLSEC_CORE_CFLAGS@ Libs: -L${libdir} @XMLSEC_CORE_LIBS@ ��������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec.spec.in������������������������������������������������������������������������0000664�0000000�0000000�00000012656�15171727150�0015664�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������Summary: Library providing support for "XML Signature" and "XML Encryption" standards Name: @PACKAGE@ Version: @VERSION@ Release: 1 License: MIT Group: Development/Libraries Vendor: Aleksey Sanin <aleksey@aleksey.com> Distribution: Aleksey Sanin <aleksey@aleksey.com> Packager: Aleksey Sanin <aleksey@aleksey.com> Source: ftp://ftp.aleksey.com/pub/xmlsec/releases/@PACKAGE@-%{version}.tar.gz BuildRoot: %{_tmppath}/@PACKAGE@-%{version}-root URL: http://www.aleksey.com/xmlsec Requires: libxml2 >= @LIBXML_MIN_VERSION@ Requires: libxslt >= @LIBXSLT_MIN_VERSION@ Requires: libtool-ltdl BuildRequires: libxml2-devel >= @LIBXML_MIN_VERSION@ BuildRequires: libxslt-devel >= @LIBXSLT_MIN_VERSION@ Prefix: %{_prefix} Docdir: %{_docdir} %define _unpackaged_files_terminate_build 0 %define _missing_doc_files_terminate_build 0 %description XML Security Library is a C library based on LibXML2 and OpenSSL. The library was created with a goal to support major XML security standards "XML Digital Signature" and "XML Encryption". %package devel Summary: Libraries, includes, etc. to develop applications with XML Digital Signatures and XML Encryption support. Group: Development/Libraries Requires: xmlsec1 = %{version} Requires: libxml2-devel >= @LIBXML_MIN_VERSION@ Requires: libxslt-devel >= @LIBXSLT_MIN_VERSION@ Requires: openssl-devel >= @OPENSSL_MIN_VERSION@ Requires: zlib-devel Requires: libtool-ltdl-devel %description devel Libraries, includes, etc. you can use to develop applications with XML Digital Signatures and XML Encryption support. %package openssl Summary: OpenSSL crypto plugin for XML Security Library Group: Development/Libraries Requires: xmlsec1 = %{version} Requires: libxml2 >= @LIBXML_MIN_VERSION@ Requires: libxslt >= @LIBXSLT_MIN_VERSION@ Requires: openssl >= @OPENSSL_MIN_VERSION@ BuildRequires: openssl-devel >= @OPENSSL_MIN_VERSION@ %description openssl OpenSSL plugin for XML Security Library provides OpenSSL based crypto services for the xmlsec library %package openssl-devel Summary: OpenSSL crypto plugin for XML Security Library Group: Development/Libraries Requires: xmlsec1 = %{version} Requires: xmlsec1-devel = %{version} Requires: xmlsec1-openssl = %{version} Requires: libxml2-devel >= @LIBXML_MIN_VERSION@ Requires: libxslt-devel >= @LIBXSLT_MIN_VERSION@ Requires: openssl >= @OPENSSL_MIN_VERSION@ Requires: openssl-devel >= @OPENSSL_MIN_VERSION@ %description openssl-devel Libraries, includes, etc. for developing XML Security applications with OpenSSL %package nss Summary: NSS crypto plugin for XML Security Library Group: Development/Libraries Requires: xmlsec1 = %{version} Requires: libxml2 >= @LIBXML_MIN_VERSION@ Requires: libxslt >= @LIBXSLT_MIN_VERSION@ Requires: mozilla-nss >= @MOZILLA_MIN_VERSION@ BuildRequires: mozilla-nss-devel >= @MOZILLA_MIN_VERSION@ %description nss NSS plugin for XML Security Library provides NSS based crypto services for the xmlsec library %package nss-devel Summary: NSS crypto plugin for XML Security Library Group: Development/Libraries Requires: xmlsec1 = %{version} Requires: xmlsec1-devel = %{version} Requires: xmlsec1-nss = %{version} Requires: libxml2-devel >= @LIBXML_MIN_VERSION@ Requires: libxslt-devel >= @LIBXSLT_MIN_VERSION@ Requires: mozilla-nss-devel >= @MOZILLA_MIN_VERSION@ %description nss-devel Libraries, includes, etc. for developing XML Security applications with NSS %prep %setup -q %build # Needed for snapshot releases. if [ ! -f configure ]; then %ifarch alpha CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} %else CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} %endif else %ifarch alpha CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} %else CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc" --mandir=%{_mandir} %endif fi if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/include/@PACKAGE@ mkdir -p $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/usr/man/man1 make prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS.md ChangeLog NEWS README Copyright %doc %{_mandir}/man1/xmlsec1.1* %{prefix}/lib/libxmlsec1.so.* %{prefix}/lib/libxmlsec1.so %{prefix}/bin/xmlsec1 %files devel %defattr(-, root, root) %{prefix}/bin/xmlsec1-config %{prefix}/include/xmlsec1/xmlsec/*.h %{prefix}/include/xmlsec1/xmlsec/private/*.h %{prefix}/lib/libxmlsec1.*a %{prefix}/lib/pkgconfig/xmlsec1.pc %{prefix}/lib/xmlsec1Conf.sh %{prefix}/share/doc/xmlsec1/* %{prefix}/share/aclocal/xmlsec1.m4 %doc AUTHORS.md HACKING ChangeLog NEWS README Copyright %doc %{_mandir}/man1/xmlsec1-config.1* %files openssl %defattr(-, root, root) %{prefix}/lib/libxmlsec1-openssl.so.* %{prefix}/lib/libxmlsec1-openssl.so %files openssl-devel %defattr(-, root, root) %{prefix}/include/xmlsec1/xmlsec/openssl/*.h %{prefix}/lib/libxmlsec1-openssl.*a %{prefix}/lib/pkgconfig/xmlsec1-openssl.pc %files nss %defattr(-, root, root) %{prefix}/lib/libxmlsec1-nss.so.* %{prefix}/lib/libxmlsec1-nss.so %files nss-devel %defattr(-, root, root) %{prefix}/include/xmlsec1/xmlsec/nss/*.h %{prefix}/lib/libxmlsec1-nss.*a %{prefix}/lib/pkgconfig/xmlsec1-nss.pc %changelog ����������������������������������������������������������������������������������xmlsec-1.3.11/xmlsec1.m4����������������������������������������������������������������������������0000664�0000000�0000000�00000015517�15171727150�0014725�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Configure paths for xmlsec1 # H. Ronsdorf 2006-02-03 # Adapted from: # dnl AM_PATH_XMLSEC1([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for libxmlsec1, and define XMLSEC1_CFLAGS and XMLSEC1_LIBS dnl AC_DEFUN([AM_PATH_XMLSEC1],[ AC_ARG_WITH(xmlsec1-prefix, AC_HELP_STRING( [--with-xmlsec1-prefix=PFX], [Prefix where libxmlsec1 is installed (optional)] ), xmlsec1_config_prefix="$withval", xmlsec1_config_prefix="" ) AC_ARG_WITH(xmlsec1-exec-prefix, AC_HELP_STRING( [--with-xmlsec1-exec-prefix=PFX], [Exec prefix where libxmlsec1 is installed (optional)] ), xmlsec1_config_exec_prefix="$withval", xmlsec1_config_exec_prefix="" ) AC_ARG_ENABLE(xmlsec1test, AC_HELP_STRING( [--disable-xmlsec1test], [Do not try to compile and run a test cSOAP program] ),, enable_xmlsec1test=yes ) if test x$xmlsec1_config_exec_prefix != x ; then xmlsec1_config_args="$xmlsec1_config_args --exec-prefix=$xmlsec1_config_exec_prefix" if test x${XMLSEC1_CONFIG+set} != xset ; then XMLSEC1_CONFIG=$xmlsec1_config_exec_prefix/bin/xmlsec1-config fi fi if test x$xmlsec1_config_prefix != x ; then xmlsec1_config_args="$xmlsec1_config_args --prefix=$xmlsec1_config_prefix" if test x${XMLSEC1_CONFIG+set} != xset ; then XMLSEC1_CONFIG=$xmlsec1_config_prefix/bin/xmlsec1-config fi fi AC_PATH_PROG(XMLSEC1_CONFIG, xmlsec1-config, no) min_xmlsec1_version=ifelse([$1], ,1.0.0,[$1]) AC_MSG_CHECKING(for libxmlsec1 - version >= $min_xmlsec1_version) no_xmlsec1="" if test "$XMLSEC1_CONFIG" = "no" ; then no_xmlsec1=yes else XMLSEC1_CFLAGS=`$XMLSEC1_CONFIG $xmlsec1_config_args --cflags` XMLSEC1_LIBS=`$XMLSEC1_CONFIG $xmlsec1_config_args --libs` xmlsec1_config_major_version=`$XMLSEC1_CONFIG $xmlsec1_config_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` xmlsec1_config_minor_version=`$XMLSEC1_CONFIG $xmlsec1_config_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` xmlsec1_config_micro_version=`$XMLSEC1_CONFIG $xmlsec1_config_args --version | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` if test "x$enable_xmlsec1test" = "xyes" ; then ac_save_CFLAGS="$CFLAGS" ac_save_LIBS="$LIBS" CFLAGS="$CFLAGS $XMLSEC1_CFLAGS" LIBS="$XMLSEC1_LIBS $LIBS" dnl dnl Now check if the installed libxmlsec1 is sufficiently new. dnl (Also sanity checks the results of xmlsec1-config to some extent) dnl rm -f conf.xmlsec1test AC_TRY_RUN([ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <libxml/tree.h> #include <xmlsec/xmlsec.h> int main(int argc, char **argv) { int major, minor, micro; char *tmp_version; system("touch conf.xmlsec1test"); /* Capture xmlsec1-config output via autoconf/configure variables */ /* HP/UX 9 (%@#!) writes to sscanf strings */ tmp_version = (char *)strdup("$min_xmlsec1_version"); if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) { printf("%s, bad version string from xmlsec1-config\n", "$min_xmlsec1_version"); exit(1); } free(tmp_version); /* Test that the library is greater than our minimum version */ if (($xmlsec1_config_major_version < major) || (($xmlsec1_config_major_version == major) && ($xmlsec1_config_minor_version < minor)) || (($xmlsec1_config_major_version == major) && ($xmlsec1_config_minor_version == minor) && ($xmlsec1_config_micro_version < micro))) { printf("\n*** An old version of libxmlsec1 (%d.%d.%d) was found.\n", $xmlsec1_config_major_version, $xmlsec1_config_minor_version, $xmlsec1_config_micro_version); printf("*** You need a version of libxmlsec1 newer than %d.%d.%d. The latest version of\n", major, minor, micro); printf("*** libxmlsec1 is always available from http://xmlsec1.sf.net.\n\n"); printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** probably means that the wrong copy of the xmlsec1-config shell script is\n"); printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** of libxmlsec1, but you can also set the XMLSEC1_CONFIG environment to point to the\n"); printf("*** correct copy of xmlsec1-config. (In this case, you will have to\n"); printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); printf("*** so that the correct libraries are found at run-time))\n"); return 1; } else { return 0; } } ],, no_xmlsec1=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_xmlsec1" = x ; then AC_MSG_RESULT(yes (version $xmlsec1_config_major_version.$xmlsec1_config_minor_version.$xmlsec1_config_micro_version)) ifelse([$2], , :, [$2]) else AC_MSG_RESULT(no) if test "$XMLSEC1_CONFIG" = "no" ; then echo "*** The xmlsec1-config script installed by LIBXMLSEC1 could not be found" echo "*** If libxmlsec1 was installed in PREFIX, make sure PREFIX/bin is in" echo "*** your path, or set the XMLSEC1_CONFIG environment variable to the" echo "*** full path to xmlsec1-config." else if test -f conf.xmlsec1test ; then : else echo "*** Could not run libxmlsec1 test program, checking why..." CFLAGS="$CFLAGS $XMLSEC1_CFLAGS" LIBS="$LIBS $XMLSEC1_LIBS" AC_TRY_LINK([ #include <libxmlsec1/version.h> #include <stdio.h> ], [ soap_client_destroy(); return 0;], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding LIBXMLSEC1 or finding the wrong" echo "*** version of LIBXMLSEC1. If it is not finding LIBXMLSEC1, you'll need to set your" echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" echo "*** to the installed location Also, make sure you have run ldconfig if that" echo "*** is required on your system" echo "***" echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], [ echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means LIBXMLSEC1 was incorrectly installed" echo "*** or that you have moved LIBXMLSEC1 since it was installed. In the latter case, you" echo "*** may want to edit the xmlsec1-config script: $XMLSEC1_CONFIG" ]) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi XMLSEC1_CFLAGS="" XMLSEC1_LIBS="" ifelse([$3], , :, [$3]) fi AC_SUBST(XMLSEC1_CFLAGS) AC_SUBST(XMLSEC1_LIBS) rm -f conf.xmlsec1test ]) ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������xmlsec-1.3.11/xmlsecConf.sh.in����������������������������������������������������������������������0000664�0000000�0000000�00000000477�15171727150�0016150�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Configuration file for using the XML library in GNOME applications # prefix="@prefix@" exec_prefix="@exec_prefix@" libdir="@libdir@" includedir="@includedir@" XMLSEC_LIBDIR="@XMLSEC_LIBDIR@" XMLSEC_INCLUDEDIR="@XMLSEC_CFLAGS@" XMLSEC_LIBS="@XMLSEC_LIBS@" MODULE_VERSION="xmlsec-@VERSION@-@XMLSEC_DEFAULT_CRYPTO@" �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������