| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<Document> |
| 3 |
<ToBeSigned> |
| 4 |
Some very secret data |
| 5 |
</ToBeSigned> |
| 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=""> |
| 11 |
<Transforms> |
| 12 |
<Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"> |
| 13 |
<XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"> //ToBeSigned </XPath> |
| 14 |
</Transform> |
| 15 |
</Transforms> |
| 16 |
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> |
| 17 |
<DigestValue>3om1gINPzaogcdLuDdjIQlls4NE=</DigestValue> |
| 18 |
</Reference> |
| 19 |
</SignedInfo> |
| 20 |
<SignatureValue>W/X7k6Q6T9RFW56VkRV9HGW5wkyUxvvlUcEyUkggVE04gsOK0Rx0rqq2woUxzkk1 |
| 21 |
jvXfCtm2xknb2/cOmqfO/g==</SignatureValue> |
| 22 |
<KeyInfo> |
| 23 |
<X509Data> |
| 24 |
|
| 25 |
<X509IssuerSerial> |
| 26 |
<X509IssuerName>[email protected],CN=Aleksey Sanin,OU=Root CA,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName> |
| 27 |
<X509SerialNumber>12655831530416757420</X509SerialNumber> |
| 28 |
</X509IssuerSerial> |
| 29 |
<X509IssuerSerial> |
| 30 |
<X509IssuerName>[email protected],CN=Aleksey Sanin,OU=Root CA,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName> |
| 31 |
<X509SerialNumber>12655831530416757421</X509SerialNumber> |
| 32 |
</X509IssuerSerial> |
| 33 |
<X509IssuerSerial> |
| 34 |
<X509IssuerName>[email protected],CN=Aleksey Sanin,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName> |
| 35 |
<X509SerialNumber>12655831530416757423</X509SerialNumber> |
| 36 |
</X509IssuerSerial> |
| 37 |
</X509Data> |
| 38 |
</KeyInfo> |
| 39 |
</Signature> |
| 40 |
</Document> |