summaryrefslogtreecommitdiff
path: root/tests/aleksey-xmlenc-01
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-13 12:30:55 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-13 12:30:55 -0800
commitf251dedaa31b48f7c05a4b53c112b40ebca890ef (patch)
treed6c78a1b273417506edb030c96772c8459f5831e /tests/aleksey-xmlenc-01
downloadxmlsec1-f251dedaa31b48f7c05a4b53c112b40ebca890ef.tar.gz
xmlsec1-f251dedaa31b48f7c05a4b53c112b40ebca890ef.tar.bz2
xmlsec1-f251dedaa31b48f7c05a4b53c112b40ebca890ef.zip
Imported Upstream version 1.2.18upstream/1.2.18
Diffstat (limited to 'tests/aleksey-xmlenc-01')
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.tmpl11
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.xml12
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.xml21
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.tmpl11
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.xml12
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.tmpl10
-rw-r--r--tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.xml12
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.tmpl16
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.xml18
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.data7
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.tmpl11
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.xml15
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.data7
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.tmpl11
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.xml15
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.data9
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.tmpl11
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.xml17
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname.tmpl8
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname.xml8
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.data1
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.tmpl10
-rw-r--r--tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.xml12
29 files changed, 271 insertions, 0 deletions
diff --git a/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.data b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.data
new file mode 100644
index 00000000..594c477e
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.data
@@ -0,0 +1 @@
+AES 128 test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.tmpl b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.tmpl
new file mode 100644
index 00000000..ac1a0dee
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.tmpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes128</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.xml b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.xml
new file mode 100644
index 00000000..76098001
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes128cbc-keyname.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes128</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ 432rJLM0EzSdHa3cWLfs3U83HBztt3Ic39z8CNByrpo=
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.data b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.data
new file mode 100644
index 00000000..b033a78f
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.data
@@ -0,0 +1 @@
+AES 192 test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.xml b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.xml
new file mode 100644
index 00000000..38318246
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname-ref.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST CipherValue Id ID #IMPLIED>
+]>
+<Test>
+ <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes192-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes192</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherReference URI="#object1">
+ <Transforms>
+ <Transform xmlns="http://www.w3.org/2000/09/xmldsig#"
+ Algorithm="http://www.w3.org/2000/09/xmldsig#base64" />
+ </Transforms>
+ </CipherReference>
+ </CipherData>
+ </EncryptedData>
+ <CipherValue Id="object1">AJLsXcJ1gw8iioTiVGnmQRpzOO+FWsQscv3Lh6H6lXo=</CipherValue>
+</Test>
diff --git a/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.data b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.data
new file mode 100644
index 00000000..b033a78f
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.data
@@ -0,0 +1 @@
+AES 192 test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.tmpl b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.tmpl
new file mode 100644
index 00000000..5a472d0f
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.tmpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes192-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes192</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.xml b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.xml
new file mode 100644
index 00000000..deb92cdc
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes192cbc-keyname.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes192-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes192</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ AJLsXcJ1gw8iioTiVGnmQRpzOO+FWsQscv3Lh6H6lXo=
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.data b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.data
new file mode 100644
index 00000000..0050ab2b
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.data
@@ -0,0 +1 @@
+AES 256 test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.tmpl b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.tmpl
new file mode 100644
index 00000000..f3821f4c
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.tmpl
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes256</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue/>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.xml b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.xml
new file mode 100644
index 00000000..c1ffb715
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-aes256cbc-keyname.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes256</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ yBkkKOjMipVQ8TFH2hztqEdz+GY24hwA/NTbhAZmBnM=
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.data b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.data
new file mode 100644
index 00000000..2c05c79b
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.data
@@ -0,0 +1 @@
+DES3 with AES 192 EncryptedKey test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.tmpl
new file mode 100644
index 00000000..539d63ea
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.tmpl
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" >
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes192-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes192</KeyName>
+ </KeyInfo>
+ <CipherData><CipherValue /></CipherData>
+ </EncryptedKey>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue />
+ </CipherData>
+</EncryptedData> \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.xml
new file mode 100644
index 00000000..039b8ce0
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-aes192-keyname.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes192-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-aes192</KeyName>
+ </KeyInfo>
+ <CipherData><CipherValue>W2NlGNjoDf4uJDaVvgwmts4OrhHvJB5Fp70uE3WQzp2yIg9CPSi7cI17AC/C1heM</CipherValue></CipherData>
+ </EncryptedKey>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ 1PP85RS57jDTni0Yq61fo7P7mUUIZSYPu5yyIMUtAscecST0B3SguUyCvTAoBw46
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.data b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.data
new file mode 100644
index 00000000..0532dec5
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.data
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<Test Id="Test">
+test
+</Test>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.tmpl
new file mode 100644
index 00000000..c3e5ba8d
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.tmpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Content">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData><CipherValue/></CipherData>
+</EncryptedData> \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.xml
new file mode 100644
index 00000000..d7f96276
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-content.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<Test Id="Test"><EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Content">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ V0CekKjZodbqjW4Yq3lMkA==
+ </CipherValue>
+ </CipherData>
+</EncryptedData></Test>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.data b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.data
new file mode 100644
index 00000000..0532dec5
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.data
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<Test Id="Test">
+test
+</Test>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.tmpl
new file mode 100644
index 00000000..02a8a878
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.tmpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Element">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData><CipherValue/></CipherData>
+</EncryptedData> \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.xml
new file mode 100644
index 00000000..1ed96274
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element-root.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Element">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ HDvKKAd3/jXGSiDF1166ltlr9VMWOjeqGF3A+wVteY0+efDB3kgYMg==
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.data b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.data
new file mode 100644
index 00000000..ac486415
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.data
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<Envelope>
+ <Test Id="Test">
+ test
+ </Test>
+</Envelope>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.tmpl
new file mode 100644
index 00000000..02a8a878
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.tmpl
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Element">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData><CipherValue/></CipherData>
+</EncryptedData> \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.xml
new file mode 100644
index 00000000..fab88415
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname-element.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE test [
+<!ATTLIST Test Id ID #IMPLIED>
+]>
+<Envelope>
+ <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain" Type="http://www.w3.org/2001/04/xmlenc#Element">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData>
+ <CipherValue>
+ R7/6DcpvRzHeYQ09rSjgm6COYB3srMqwpxeBWRmzT2P+lwa/bZGgZEOSQyayMEIt
+ </CipherValue>
+ </CipherData>
+</EncryptedData>
+</Envelope>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.data b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.data
new file mode 100644
index 00000000..30d74d25
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.data
@@ -0,0 +1 @@
+test \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.tmpl
new file mode 100644
index 00000000..8ccb664d
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.tmpl
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName />
+ </KeyInfo>
+ <CipherData><CipherValue /></CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.xml
new file mode 100644
index 00000000..fdcccee9
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData> <CipherValue>iWFa3B64eDmVedgWVjyDag== </CipherValue></CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.data b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.data
new file mode 100644
index 00000000..541425af
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.data
@@ -0,0 +1 @@
+big secret \ No newline at end of file
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.tmpl b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.tmpl
new file mode 100644
index 00000000..7a8d4cc1
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.tmpl
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc" />
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName />
+ </KeyInfo>
+ <CipherData>
+<CipherValue />
+</CipherData>
+</EncryptedData>
diff --git a/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.xml b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.xml
new file mode 100644
index 00000000..ba927245
--- /dev/null
+++ b/tests/aleksey-xmlenc-01/enc-des3cbc-keyname2.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" MimeType="text/plain">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
+ <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+ <KeyName>test-des</KeyName>
+ </KeyInfo>
+ <CipherData>
+<CipherValue>
+EBCx80yc0F+4nrNYevpf5dkHioi9j0QT
+</CipherValue>
+</CipherData>
+</EncryptedData>