1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<!-- |
3 |
XML Security Library example: Simple signature template file for sign1 example. |
4 |
--> |
5 |
<Envelope xmlns="urn:envelope"> |
6 |
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> |
7 |
<SignedInfo> |
8 |
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> |
9 |
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> |
10 |
<Reference URI="#option0"> |
11 |
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
12 |
<DigestValue></DigestValue> |
13 |
</Reference> |
14 |
<Reference URI="#option1"> |
15 |
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> |
16 |
<DigestValue></DigestValue> |
17 |
</Reference> |
18 |
</SignedInfo> |
19 |
<SignatureValue/> |
20 |
<KeyInfo> |
21 |
<X509Data/> |
22 |
</KeyInfo> |
23 |
<dsig:Object xmlns="" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="option0"> |
24 |
<Option> |
25 |
<VSerialNum>987654321</VSerialNum> |
26 |
<DeviceId> |
27 |
<Manufacturer>Jungo Software Technologies</Manufacturer> |
28 |
<OUI>12AB78</OUI> |
29 |
<ProductClass>Router</ProductClass> |
30 |
<SerialNumber>222</SerialNumber> |
31 |
</DeviceId> |
32 |
<OptionIdent>qos</OptionIdent> |
33 |
<OptionDesc>Quality of Service</OptionDesc> |
34 |
<StartDate>2006-02-12T08:06:34</StartDate> |
35 |
<Duration>300</Duration> |
36 |
<DurationUnits>Days</DurationUnits> |
37 |
<Mode>EnableWithExpiration</Mode> |
38 |
</Option> |
39 |
</dsig:Object> |
40 |
<dsig:Object xmlns="" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Id="option1"> |
41 |
<Option> |
42 |
<VSerialNum>987654322</VSerialNum> |
43 |
<DeviceId> |
44 |
<Manufacturer>Jungo Software Technologies</Manufacturer> |
45 |
<OUI>12AB78</OUI> |
46 |
<ProductClass>Router</ProductClass> |
47 |
<SerialNumber>222</SerialNumber> |
48 |
</DeviceId> |
49 |
<OptionIdent>dmz</OptionIdent> |
50 |
<OptionDesc>DMZ Host</OptionDesc> |
51 |
<StartDate>2006-02-12T08:06:34</StartDate> |
52 |
<Duration>280</Duration> |
53 |
<DurationUnits>Days</DurationUnits> |
54 |
<Mode>EnableWithExpiration</Mode> |
55 |
</Option> |
56 |
</dsig:Object> |
57 |
</Signature> |
58 |
</Envelope> |
59 |
|