summaryrefslogtreecommitdiff
path: root/xmlsecurity/tools/examples
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/tools/examples')
-rw-r--r--xmlsecurity/tools/examples/enc-1.xml17
-rw-r--r--xmlsecurity/tools/examples/enc-2.xml17
-rw-r--r--xmlsecurity/tools/examples/evaluate_win.bat18
-rw-r--r--xmlsecurity/tools/examples/readme.txt2
-rw-r--r--xmlsecurity/tools/examples/s-in-e-1.xml17
-rw-r--r--xmlsecurity/tools/examples/s-in-e-2.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-0.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-1.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-2.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-3.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-4.xml17
-rw-r--r--xmlsecurity/tools/examples/sign-5.xml17
-rw-r--r--xmlsecurity/tools/examples/uno_win.bat18
-rw-r--r--xmlsecurity/tools/examples/warmup.xml17
14 files changed, 224 insertions, 1 deletions
diff --git a/xmlsecurity/tools/examples/enc-1.xml b/xmlsecurity/tools/examples/enc-1.xml
index bfd2f11195e8..1fe796f37732 100644
--- a/xmlsecurity/tools/examples/enc-1.xml
+++ b/xmlsecurity/tools/examples/enc-1.xml
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+<!--
XML Security Library example: Simple encryption template file for encrypt1 example.
-->
<Envelope xmlns="urn:envelope">
diff --git a/xmlsecurity/tools/examples/enc-2.xml b/xmlsecurity/tools/examples/enc-2.xml
index 98fc553c0c08..e0c920c9f419 100644
--- a/xmlsecurity/tools/examples/enc-2.xml
+++ b/xmlsecurity/tools/examples/enc-2.xml
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+<!--
XML Security Library example: Simple encryption template file for encrypt1 example.
-->
<Envelope xmlns="urn:envelope">
diff --git a/xmlsecurity/tools/examples/evaluate_win.bat b/xmlsecurity/tools/examples/evaluate_win.bat
index 4a71a135fccd..5d69f725e706 100644
--- a/xmlsecurity/tools/examples/evaluate_win.bat
+++ b/xmlsecurity/tools/examples/evaluate_win.bat
@@ -1,3 +1,21 @@
+rem
+rem This file is part of the LibreOffice project.
+rem
+rem This Source Code Form is subject to the terms of the Mozilla Public
+rem License, v. 2.0. If a copy of the MPL was not distributed with this
+rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
+rem
+rem This file incorporates work covered by the following license notice:
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed
+rem with this work for additional information regarding copyright
+rem ownership. The ASF licenses this file to you under the Apache
+rem License, Version 2.0 (the "License"); you may not use this file
+rem except in compliance with the License. You may obtain a copy of
+rem the License at http://www.apache.org/licenses/LICENSE-2.0 .
+rem
+
call env_win.bat
@echo off
diff --git a/xmlsecurity/tools/examples/readme.txt b/xmlsecurity/tools/examples/readme.txt
index 1a0c16882824..d1b1b69229db 100644
--- a/xmlsecurity/tools/examples/readme.txt
+++ b/xmlsecurity/tools/examples/readme.txt
@@ -2,6 +2,6 @@
How to use the uno tools
-The /xmlsecurity/tools/examples/uno_win.bat provide the portrait of this procedure under 4NT in windows platform.
+The /xmlsecurity/tools/examples/uno_win.bat provide the portrait of this procedure under 4NT in windows platform.
If you want to use it, you need to configure all marcos to your local setting.
diff --git a/xmlsecurity/tools/examples/s-in-e-1.xml b/xmlsecurity/tools/examples/s-in-e-1.xml
index d4c0c0eba80c..268b46ea5b0a 100644
--- a/xmlsecurity/tools/examples/s-in-e-1.xml
+++ b/xmlsecurity/tools/examples/s-in-e-1.xml
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+<!--
XML Security Library example: Simple encryption template file for encrypt1 example.
-->
<Envelope xmlns="urn:envelope">
diff --git a/xmlsecurity/tools/examples/s-in-e-2.xml b/xmlsecurity/tools/examples/s-in-e-2.xml
index fd3ba0cb5f9c..db4d7f47af1c 100644
--- a/xmlsecurity/tools/examples/s-in-e-2.xml
+++ b/xmlsecurity/tools/examples/s-in-e-2.xml
@@ -1,5 +1,22 @@
<?xml version="1.0"?>
<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+<!--
XML Security Library example: Simple encryption template file for encrypt1 example.
-->
<Envelope xmlns="urn:envelope">
diff --git a/xmlsecurity/tools/examples/sign-0.xml b/xmlsecurity/tools/examples/sign-0.xml
index 7fc834f8fd40..24aae748e2c6 100644
--- a/xmlsecurity/tools/examples/sign-0.xml
+++ b/xmlsecurity/tools/examples/sign-0.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/sign-1.xml b/xmlsecurity/tools/examples/sign-1.xml
index c6e1a40dc987..7f4e306bba93 100644
--- a/xmlsecurity/tools/examples/sign-1.xml
+++ b/xmlsecurity/tools/examples/sign-1.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/sign-2.xml b/xmlsecurity/tools/examples/sign-2.xml
index e3da49f22d3f..2a4eaa66eca2 100644
--- a/xmlsecurity/tools/examples/sign-2.xml
+++ b/xmlsecurity/tools/examples/sign-2.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/sign-3.xml b/xmlsecurity/tools/examples/sign-3.xml
index 61a9f3cf378f..19963f430fec 100644
--- a/xmlsecurity/tools/examples/sign-3.xml
+++ b/xmlsecurity/tools/examples/sign-3.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/sign-4.xml b/xmlsecurity/tools/examples/sign-4.xml
index b8450045006c..669d893aee05 100644
--- a/xmlsecurity/tools/examples/sign-4.xml
+++ b/xmlsecurity/tools/examples/sign-4.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/sign-5.xml b/xmlsecurity/tools/examples/sign-5.xml
index 46cb6d609fe5..94c926b6cf5c 100644
--- a/xmlsecurity/tools/examples/sign-5.xml
+++ b/xmlsecurity/tools/examples/sign-5.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
diff --git a/xmlsecurity/tools/examples/uno_win.bat b/xmlsecurity/tools/examples/uno_win.bat
index 119ba7e19511..db08e9f7ca68 100644
--- a/xmlsecurity/tools/examples/uno_win.bat
+++ b/xmlsecurity/tools/examples/uno_win.bat
@@ -1,3 +1,21 @@
+rem
+rem This file is part of the LibreOffice project.
+rem
+rem This Source Code Form is subject to the terms of the Mozilla Public
+rem License, v. 2.0. If a copy of the MPL was not distributed with this
+rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
+rem
+rem This file incorporates work covered by the following license notice:
+rem
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed
+rem with this work for additional information regarding copyright
+rem ownership. The ASF licenses this file to you under the Apache
+rem License, Version 2.0 (the "License"); you may not use this file
+rem except in compliance with the License. You may obtain a copy of
+rem the License at http://www.apache.org/licenses/LICENSE-2.0 .
+rem
+
call env_win.bat
@echo off
diff --git a/xmlsecurity/tools/examples/warmup.xml b/xmlsecurity/tools/examples/warmup.xml
index 70abf5cd4d34..6e17a969a08c 100644
--- a/xmlsecurity/tools/examples/warmup.xml
+++ b/xmlsecurity/tools/examples/warmup.xml
@@ -1,4 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
<signtest>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>