3 XML Security Library example: Simple encryption template file for encrypt1 example.
5 <Envelope xmlns="urn:envelope">
6 The encrypted data is <Data>Hello, World!</Data>
7 <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
8 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod>
9 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
10 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
11 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
12 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
15 <X509IssuerName>CN=Test Issuer</X509IssuerName>
16 <X509SerialNumber>123450001</X509SerialNumber>
31 <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
32 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod>
33 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
34 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
35 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
36 <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
39 <X509IssuerName>CN=Test Issuer</X509IssuerName>
40 <X509SerialNumber>123450001</X509SerialNumber>
50 <CipherValue></CipherValue>
54 This is an embeded encryption!