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