summaryrefslogtreecommitdiff
path: root/tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl')
-rw-r--r--tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl b/tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl
new file mode 100644
index 00000000..dc60d67b
--- /dev/null
+++ b/tests/01-phaos-xmlenc-3/enc-element-aes128-kw-aes128.tmpl
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<EncryptedData Id="ED" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
+ <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+ <EncryptedKey Id="EK" xmlns="http://www.w3.org/2001/04/xmlenc#">
+ <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/>
+ <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+ <ds:KeyName>my-aes128-key</ds:KeyName>
+ </ds:KeyInfo>
+ <CipherData>
+ <CipherValue></CipherValue>
+ </CipherData>
+ <ReferenceList>
+ <DataReference URI="#ED"/>
+ </ReferenceList>
+ </EncryptedKey>
+ </ds:KeyInfo>
+ <CipherData>
+ <CipherValue>
+ </CipherValue>
+ </CipherData>
+ </EncryptedData> \ No newline at end of file