1*cdf0e10cSrcweir<?xml version="1.0"?> 2*cdf0e10cSrcweir<!-- 3*cdf0e10cSrcweirXML Security Library example: Simple encryption template file for encrypt1 example. 4*cdf0e10cSrcweir--> 5*cdf0e10cSrcweir<Envelope xmlns="urn:envelope"> 6*cdf0e10cSrcweir The encrypted data is <Data>Hello, World!</Data> 7*cdf0e10cSrcweir <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element"> 8*cdf0e10cSrcweir <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod> 9*cdf0e10cSrcweir <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 10*cdf0e10cSrcweir <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#"> 11*cdf0e10cSrcweir <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/> 12*cdf0e10cSrcweir <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> 13*cdf0e10cSrcweir <X509Data> 14*cdf0e10cSrcweir <X509IssuerSerial> 15*cdf0e10cSrcweir <X509IssuerName>CN=Test Issuer</X509IssuerName> 16*cdf0e10cSrcweir <X509SerialNumber>123450001</X509SerialNumber> 17*cdf0e10cSrcweir </X509IssuerSerial> 18*cdf0e10cSrcweir </X509Data> 19*cdf0e10cSrcweir </KeyInfo> 20*cdf0e10cSrcweir <CipherData> 21*cdf0e10cSrcweir <CipherValue/> 22*cdf0e10cSrcweir </CipherData> 23*cdf0e10cSrcweir </EncryptedKey> 24*cdf0e10cSrcweir </KeyInfo> 25*cdf0e10cSrcweir <CipherData> 26*cdf0e10cSrcweir <CipherValue></CipherValue> 27*cdf0e10cSrcweir </CipherData> 28*cdf0e10cSrcweir </EncryptedData> 29*cdf0e10cSrcweir <Data> Hello, World! </Data> 30*cdf0e10cSrcweir</Envelope> 31*cdf0e10cSrcweir 32