1cdf0e10cSrcweir<?xml version="1.0"?>
2*10544477SAndre Fischer<!--***********************************************************
3*10544477SAndre Fischer *
4*10544477SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
5*10544477SAndre Fischer * or more contributor license agreements.  See the NOTICE file
6*10544477SAndre Fischer * distributed with this work for additional information
7*10544477SAndre Fischer * regarding copyright ownership.  The ASF licenses this file
8*10544477SAndre Fischer * to you under the Apache License, Version 2.0 (the
9*10544477SAndre Fischer * "License"); you may not use this file except in compliance
10*10544477SAndre Fischer * with the License.  You may obtain a copy of the License at
11*10544477SAndre Fischer *
12*10544477SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
13*10544477SAndre Fischer *
14*10544477SAndre Fischer * Unless required by applicable law or agreed to in writing,
15*10544477SAndre Fischer * software distributed under the License is distributed on an
16*10544477SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*10544477SAndre Fischer * KIND, either express or implied.  See the License for the
18*10544477SAndre Fischer * specific language governing permissions and limitations
19*10544477SAndre Fischer * under the License.
20*10544477SAndre Fischer *
21*10544477SAndre Fischer ***********************************************************-->
22cdf0e10cSrcweir<!--
23cdf0e10cSrcweirXML Security Library example: Simple encryption template file for encrypt1 example.
24cdf0e10cSrcweir-->
25cdf0e10cSrcweir<Envelope xmlns="urn:envelope">
26cdf0e10cSrcweir  The encrypted data is <Data>Hello, World!</Data>
27cdf0e10cSrcweir  <EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Element">
28cdf0e10cSrcweir	<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod>
29cdf0e10cSrcweir	<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
30cdf0e10cSrcweir		<EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
31cdf0e10cSrcweir    	  <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
32cdf0e10cSrcweir    	  <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
33cdf0e10cSrcweir      	  <X509Data>
34cdf0e10cSrcweir        	<X509IssuerSerial>
35cdf0e10cSrcweir          	  <X509IssuerName>CN=Test Issuer</X509IssuerName>
36cdf0e10cSrcweir          	  <X509SerialNumber>123450001</X509SerialNumber>
37cdf0e10cSrcweir        	</X509IssuerSerial>
38cdf0e10cSrcweir      	  </X509Data>
39cdf0e10cSrcweir    	  </KeyInfo>
40cdf0e10cSrcweir    	  <CipherData>
41cdf0e10cSrcweir			<CipherValue/>
42cdf0e10cSrcweir    	  </CipherData>
43cdf0e10cSrcweir		</EncryptedKey>
44cdf0e10cSrcweir	</KeyInfo>
45cdf0e10cSrcweir	<CipherData>
46cdf0e10cSrcweir	  <CipherValue></CipherValue>
47cdf0e10cSrcweir    </CipherData>
48cdf0e10cSrcweir  </EncryptedData>
49cdf0e10cSrcweir  <Data> Hello, World! </Data>
50cdf0e10cSrcweir</Envelope>
51cdf0e10cSrcweir
52