summaryrefslogtreecommitdiff
path: root/tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml')
-rw-r--r--tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml b/tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml
new file mode 100644
index 00000000..7958d57d
--- /dev/null
+++ b/tests/01-phaos-xmlenc-3/enc-content-aes128-kw-3des.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PaymentInfo xmlns="http://example.org/paymentv2">
+ <Name>John Smith</Name>
+ <CreditCard Currency="USD" Limit="5,000">
+ <EncryptedData Id="ED" Type="http://www.w3.org/2001/04/xmlenc#Content" 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-tripledes"/>
+ <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
+ <ds:KeyName>my-3des-key</ds:KeyName>
+ </ds:KeyInfo>
+ <CipherData>
+ <CipherValue>/PZvvn42E9dmMUZ8KCY6B5XtLaaIaG4X5YNDwgV5Vlo=</CipherValue>
+ </CipherData>
+ <ReferenceList>
+ <DataReference URI="#ED"/>
+ </ReferenceList>
+ </EncryptedKey>
+ </ds:KeyInfo>
+ <CipherData>
+ <CipherValue>
+ rINpr0HonGcKnnf/vYx8N3gnd+1rb+zwH1vnfjyt+bOoSU72w/QqniT71/GxtFFx
+ gwE0/arABVa1r8/PMRerWqyParMnpwIRq6dzQHKb5SqiqFEYPRZhytTGZFXN39oG
+ YZkSINOli5paMwTWrq6hDSPRozKvfEqhuI0VgZU4OLM=
+ </CipherValue>
+ </CipherData>
+ </EncryptedData>
+ </CreditCard>
+</PaymentInfo>