summaryrefslogtreecommitdiff
path: root/tests/aleksey-xmldsig-01/x509data-sn-test.xml
blob: 2136faa4c7e8372cba58a28b3f729d1a3b2f1055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<Document>
  <ToBeSigned>
    Some very secret data
  </ToBeSigned>
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
            <XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"> //ToBeSigned </XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
        <DigestValue>3om1gINPzaogcdLuDdjIQlls4NE=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>W/X7k6Q6T9RFW56VkRV9HGW5wkyUxvvlUcEyUkggVE04gsOK0Rx0rqq2woUxzkk1
jvXfCtm2xknb2/cOmqfO/g==</SignatureValue>
    <KeyInfo>
      <X509Data>
        
      <X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,OU=Test Root Certificate,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>15460497845462904056</X509SerialNumber>
</X509IssuerSerial>
<X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,OU=Test Root Certificate,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>15460497845462904055</X509SerialNumber>
</X509IssuerSerial>
<X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,OU=Test Second Level RSA Certificate,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>15460497845462904058</X509SerialNumber>
</X509IssuerSerial>
</X509Data>
    </KeyInfo>
  </Signature>
</Document>