xmldsign 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.idea/.name +1 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +25 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/ext/xmldsign/extconf.rb +3 -0
- data/ext/xmldsign/gost89.c +409 -0
- data/ext/xmldsign/gost89.h +96 -0
- data/ext/xmldsign/gosthash.c +254 -0
- data/ext/xmldsign/gosthash.h +48 -0
- data/ext/xmldsign/xmldsign_ext.bundle +0 -0
- data/ext/xmldsign/xmldsign_ext.c +66 -0
- data/ext/xmldsign/xmldsign_ext.h +18 -0
- data/lib/xmldsign/algorithms.rb +84 -0
- data/lib/xmldsign/digests/gost.rb +30 -0
- data/lib/xmldsign/document.rb +19 -0
- data/lib/xmldsign/error.rb +2 -0
- data/lib/xmldsign/signature.rb +64 -0
- data/lib/xmldsign/signed_info.rb +7 -0
- data/lib/xmldsign/transforms.rb +17 -0
- data/lib/xmldsign/version.rb +3 -0
- data/lib/xmldsign.rb +21 -0
- data/spec/assets/act-birth-for-sign.xml +118 -0
- data/spec/assets/act-birth-with-comment-for-sign.xml +105 -0
- data/spec/assets/act-death-for-sign.xml +75 -0
- data/spec/assets/act-death-with-empty-tags-for-sign.xml +75 -0
- data/spec/assets/csr.pem +11 -0
- data/spec/assets/private.key.pem +15 -0
- data/spec/assets/private.passw.key.pem +18 -0
- data/spec/assets/public.key.pem +6 -0
- data/spec/assets/signed-act-birth-with-comment.xml +134 -0
- data/spec/assets/signed-act-birth.xml +116 -0
- data/spec/assets/signed-act-changed-ns-order.xml +137 -0
- data/spec/assets/signed-act-changed-prefixes.xml +136 -0
- data/spec/assets/signed-act-changed-xml-comments.xml +146 -0
- data/spec/assets/signed-act-death-with-empty-tags.xml +117 -0
- data/spec/assets/signed-act-death.xml +117 -0
- data/spec/assets/signed-act-wrong-canon-alg.xml +34 -0
- data/spec/assets/signed-act-wrong-data.xml +133 -0
- data/spec/assets/signed-act-wrong-sign-alg.xml +34 -0
- data/spec/assets/signed-act-wrong-signature-value.xml +133 -0
- data/spec/assets/signed-act-wrong-trans-alg.xml +34 -0
- data/spec/assets/signed-act-wrong-trans-algs-order.xml +34 -0
- data/spec/assets/signed-act-wrong-trans-count.xml +31 -0
- data/spec/assets/signed-act-wrong-trans0-alg.xml +34 -0
- data/spec/assets/signed-act-wrong-transxslt-alg.xml +34 -0
- data/spec/assets/signed-info-for-act-birth.xml +15 -0
- data/spec/assets/signed.test.xml +103 -0
- data/spec/assets/unsigned.test.xml +14 -0
- data/spec/assets/x509.crt +13 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/xmldsign/sign_spec.rb +24 -0
- data/xmldsign.gemspec +29 -0
- metadata +254 -0
@@ -0,0 +1,116 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<doc:signedActRecordBirth xmlns:doc="http://ezags.rt.ru/type/document/" xmlns:act="http://ezags.rt.ru/type/actor/" xmlns:com="http://ezags.rt.ru/type/common/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ext="http://ezags.rt.ru/type/externaldocuments/">
|
3
|
+
<doc:actRecord>
|
4
|
+
<com:registrarId>260001</com:registrarId>
|
5
|
+
<com:actRecordNumber>16</com:actRecordNumber>
|
6
|
+
<com:actRecordDate>
|
7
|
+
<com:day>15</com:day>
|
8
|
+
<com:month>10</com:month>
|
9
|
+
<com:year>2012</com:year>
|
10
|
+
</com:actRecordDate>
|
11
|
+
<doc:content>
|
12
|
+
<com:birthStatus>liveborn</com:birthStatus>
|
13
|
+
<com:isDiedInWeek>false</com:isDiedInWeek>
|
14
|
+
<com:numberOfBirths>1</com:numberOfBirths>
|
15
|
+
</doc:content>
|
16
|
+
<doc:participants>
|
17
|
+
<doc:child>
|
18
|
+
<com:surname>Сазоненко</com:surname>
|
19
|
+
<com:firstName>Петр</com:firstName>
|
20
|
+
<com:patronymic>Николаевич</com:patronymic>
|
21
|
+
<com:gender>female</com:gender>
|
22
|
+
<com:birthDate>
|
23
|
+
<com:preciseDate>2012-10-10</com:preciseDate>
|
24
|
+
</com:birthDate>
|
25
|
+
<com:birthPlace>
|
26
|
+
<com:rawAddressString>676840, Амурская область, Белогорск город, Низинное село, Восточный переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
27
|
+
</com:birthPlace>
|
28
|
+
</doc:child>
|
29
|
+
<doc:father>
|
30
|
+
<com:isApplicant>true</com:isApplicant>
|
31
|
+
<com:surname>Сазоненко</com:surname>
|
32
|
+
<com:firstName>Имя</com:firstName>
|
33
|
+
<com:patronymic>Михайлович</com:patronymic>
|
34
|
+
<com:birthDate>
|
35
|
+
<com:preciseDate>1980-10-14</com:preciseDate>
|
36
|
+
</com:birthDate>
|
37
|
+
<com:birthPlace>
|
38
|
+
<com:rawAddressString>385019, Адыгея республика, Майкоп город, 1-й переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
39
|
+
</com:birthPlace>
|
40
|
+
<com:citizenship>1</com:citizenship>
|
41
|
+
<com:nationality>1</com:nationality>
|
42
|
+
<com:residencePlace>
|
43
|
+
<com:rawAddressString>385632, Адыгея республика, Гиагинский район, Владимировское село, Веселая улица, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
44
|
+
</com:residencePlace>
|
45
|
+
</doc:father>
|
46
|
+
<doc:mother>
|
47
|
+
<com:isApplicant>true</com:isApplicant>
|
48
|
+
<com:surname>Сазоненко</com:surname>
|
49
|
+
<com:firstName>Имя</com:firstName>
|
50
|
+
<com:patronymic>Владимировна</com:patronymic>
|
51
|
+
<com:birthDate>
|
52
|
+
<com:preciseDate>1980-10-14</com:preciseDate>
|
53
|
+
</com:birthDate>
|
54
|
+
<com:birthPlace>
|
55
|
+
<com:rawAddressString>385019, Адыгея республика, Майкоп город, 2-й переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
56
|
+
</com:birthPlace>
|
57
|
+
<com:citizenship>1</com:citizenship>
|
58
|
+
<com:nationality>1</com:nationality>
|
59
|
+
<com:residencePlace>
|
60
|
+
<com:rawAddressString>649785, Алтай республика, Кош-Агачский район, Актал село, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
61
|
+
</com:residencePlace>
|
62
|
+
</doc:mother>
|
63
|
+
</doc:participants>
|
64
|
+
<doc:documentConfirmingBirth>
|
65
|
+
<ext:medicalCertificateOfBirthByOrganization>
|
66
|
+
<com:documentNumber>123456789012</com:documentNumber>
|
67
|
+
<com:documentSeries>123456789012</com:documentSeries>
|
68
|
+
<com:documentDate>2012-10-14</com:documentDate>
|
69
|
+
<com:organizationName>роддом №7</com:organizationName>
|
70
|
+
<com:organizationAddress>
|
71
|
+
<com:rawAddressString>658130, Алтайский край, Алейск город, им С.Есенина микрорайон, Вторая улица, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
72
|
+
</com:organizationAddress>
|
73
|
+
<com:okpo>1846992</com:okpo>
|
74
|
+
<com:duplicate>true</com:duplicate>
|
75
|
+
</ext:medicalCertificateOfBirthByOrganization>
|
76
|
+
</doc:documentConfirmingBirth>
|
77
|
+
<doc:documentConfirmingFiliation>
|
78
|
+
<doc:actRecAndCertMarriageRequisites>
|
79
|
+
<doc:actRecordMarriageReqs>
|
80
|
+
<com:organizationName>Кунцевский отдел ЗАГС Управления ЗАГС г. Новосибирск</com:organizationName>
|
81
|
+
<com:actRecordNumber>1</com:actRecordNumber>
|
82
|
+
<com:actRecordDate>
|
83
|
+
<com:day>15</com:day>
|
84
|
+
<com:month>10</com:month>
|
85
|
+
<com:year>2011</com:year>
|
86
|
+
</com:actRecordDate>
|
87
|
+
</doc:actRecordMarriageReqs>
|
88
|
+
</doc:actRecAndCertMarriageRequisites>
|
89
|
+
</doc:documentConfirmingFiliation>
|
90
|
+
</doc:actRecord>
|
91
|
+
<doc:actRecordSignature>
|
92
|
+
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
93
|
+
<ds:SignedInfo>
|
94
|
+
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
95
|
+
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
|
96
|
+
<ds:Reference URI="">
|
97
|
+
<ds:Transforms>
|
98
|
+
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
99
|
+
<ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
|
100
|
+
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" version="1.0"><xslt:output method="xml" omit-xml-declaration="yes"/><xslt:strip-space elements="*"/><xslt:template match="@*|node()"><xslt:copy><xslt:apply-templates select="@*|node()"/></xslt:copy></xslt:template></xslt:stylesheet>
|
101
|
+
</ds:Transform>
|
102
|
+
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
103
|
+
</ds:Transforms>
|
104
|
+
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
|
105
|
+
<ds:DigestValue>ZtonhLsw3V9Sr14iQUvwMJoTo0RbnXMFca2z29xIPxw=</ds:DigestValue>
|
106
|
+
</ds:Reference>
|
107
|
+
</ds:SignedInfo>
|
108
|
+
<ds:SignatureValue/>
|
109
|
+
<ds:KeyInfo>
|
110
|
+
<ds:X509Data>
|
111
|
+
<ds:X509Certificate/>
|
112
|
+
</ds:X509Data>
|
113
|
+
</ds:KeyInfo>
|
114
|
+
</ds:Signature>
|
115
|
+
</doc:actRecordSignature>
|
116
|
+
</doc:signedActRecordBirth>
|
@@ -0,0 +1,137 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<doc:signedActRecordBirth xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
3
|
+
xmlns:ext="http://ezags.rt.ru/type/externaldocuments/"
|
4
|
+
xmlns:com="http://ezags.rt.ru/type/common/"
|
5
|
+
xmlns:doc="http://ezags.rt.ru/type/document/">
|
6
|
+
<doc:actRecord>
|
7
|
+
<com:registrarId>260001</com:registrarId>
|
8
|
+
<com:actRecordNumber>16</com:actRecordNumber>
|
9
|
+
<com:actRecordDate>
|
10
|
+
<com:day>15</com:day>
|
11
|
+
<com:month>10</com:month>
|
12
|
+
<com:year>2012</com:year>
|
13
|
+
</com:actRecordDate>
|
14
|
+
<doc:content>
|
15
|
+
<com:birthStatus>liveborn</com:birthStatus>
|
16
|
+
<com:isDiedInWeek>false</com:isDiedInWeek>
|
17
|
+
<com:numberOfBirths>1</com:numberOfBirths>
|
18
|
+
</doc:content>
|
19
|
+
<doc:participants>
|
20
|
+
<doc:child>
|
21
|
+
<com:surname>Сазоненко</com:surname>
|
22
|
+
<com:firstName>Петр</com:firstName>
|
23
|
+
<com:patronymic>Николаевич</com:patronymic>
|
24
|
+
<com:gender>female</com:gender>
|
25
|
+
<com:birthDate>
|
26
|
+
<com:preciseDate>2012-10-10</com:preciseDate>
|
27
|
+
</com:birthDate>
|
28
|
+
<com:birthPlace>
|
29
|
+
<com:rawAddressString>676840, Амурская область, Белогорск город, Низинное село, Восточный переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
30
|
+
</com:birthPlace>
|
31
|
+
</doc:child>
|
32
|
+
<doc:father>
|
33
|
+
<com:isApplicant>true</com:isApplicant>
|
34
|
+
<com:surname>Сазоненко</com:surname>
|
35
|
+
<com:firstName>Имя</com:firstName>
|
36
|
+
<com:patronymic>Михайлович</com:patronymic>
|
37
|
+
<com:birthDate>
|
38
|
+
<com:preciseDate>1980-10-14</com:preciseDate>
|
39
|
+
</com:birthDate>
|
40
|
+
<com:birthPlace>
|
41
|
+
<com:rawAddressString>385019, Адыгея республика, Майкоп город, 1-й переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
42
|
+
</com:birthPlace>
|
43
|
+
<com:citizenship>1</com:citizenship>
|
44
|
+
<com:nationality>1</com:nationality>
|
45
|
+
<com:residencePlace>
|
46
|
+
<com:rawAddressString>385632, Адыгея республика, Гиагинский район, Владимировское село, Веселая улица, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
47
|
+
</com:residencePlace>
|
48
|
+
</doc:father>
|
49
|
+
<doc:mother>
|
50
|
+
<com:isApplicant>true</com:isApplicant>
|
51
|
+
<com:surname>Сазоненко</com:surname>
|
52
|
+
<com:firstName>Имя</com:firstName>
|
53
|
+
<com:patronymic>Владимировна</com:patronymic>
|
54
|
+
<com:birthDate>
|
55
|
+
<com:preciseDate>1980-10-14</com:preciseDate>
|
56
|
+
</com:birthDate>
|
57
|
+
<com:birthPlace>
|
58
|
+
<com:rawAddressString>385019, Адыгея республика, Майкоп город, 2-й переулок, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
59
|
+
</com:birthPlace>
|
60
|
+
<com:citizenship>1</com:citizenship>
|
61
|
+
<com:nationality>1</com:nationality>
|
62
|
+
<com:residencePlace>
|
63
|
+
<com:rawAddressString>649785, Алтай республика, Кош-Агачский район, Актал село, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
64
|
+
</com:residencePlace>
|
65
|
+
</doc:mother>
|
66
|
+
</doc:participants>
|
67
|
+
<doc:documentConfirmingBirth>
|
68
|
+
<ext:medicalCertificateOfBirthByOrganization>
|
69
|
+
<com:documentNumber>123456789012</com:documentNumber>
|
70
|
+
<com:documentSeries>123456789012</com:documentSeries>
|
71
|
+
<com:documentDate>2012-10-14</com:documentDate>
|
72
|
+
<com:organizationName>роддом №7</com:organizationName>
|
73
|
+
<com:organizationAddress>
|
74
|
+
<com:rawAddressString>658130, Алтайский край, Алейск город, им С.Есенина микрорайон, Вторая улица, д. 1, корп. 2, стр. 3, кв. 4</com:rawAddressString>
|
75
|
+
</com:organizationAddress>
|
76
|
+
<com:okpo>1846992</com:okpo>
|
77
|
+
<com:duplicate>true</com:duplicate>
|
78
|
+
</ext:medicalCertificateOfBirthByOrganization>
|
79
|
+
</doc:documentConfirmingBirth>
|
80
|
+
<doc:documentConfirmingFiliation>
|
81
|
+
<doc:actRecAndCertMarriageRequisites>
|
82
|
+
<doc:actRecordMarriageReqs>
|
83
|
+
<com:organizationName>Кунцевский отдел ЗАГС Управления ЗАГС г. Новосибирск</com:organizationName>
|
84
|
+
<com:actRecordNumber>1</com:actRecordNumber>
|
85
|
+
<com:actRecordDate>
|
86
|
+
<com:day>15</com:day>
|
87
|
+
<com:month>10</com:month>
|
88
|
+
<com:year>2011</com:year>
|
89
|
+
</com:actRecordDate>
|
90
|
+
</doc:actRecordMarriageReqs>
|
91
|
+
</doc:actRecAndCertMarriageRequisites>
|
92
|
+
</doc:documentConfirmingFiliation>
|
93
|
+
</doc:actRecord>
|
94
|
+
<doc:actRecordSignature>
|
95
|
+
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
96
|
+
<ds:SignedInfo>
|
97
|
+
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
98
|
+
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
|
99
|
+
<ds:Reference URI="">
|
100
|
+
<ds:Transforms>
|
101
|
+
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
102
|
+
<ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
|
103
|
+
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
104
|
+
<xslt:output method="xml" omit-xml-declaration="yes"/>
|
105
|
+
<xslt:strip-space elements="*"/>
|
106
|
+
<xslt:template match="@*|node()">
|
107
|
+
<xslt:copy>
|
108
|
+
<xslt:apply-templates select="@*|node()"/>
|
109
|
+
</xslt:copy>
|
110
|
+
</xslt:template>
|
111
|
+
</xslt:stylesheet>
|
112
|
+
</ds:Transform>
|
113
|
+
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
114
|
+
</ds:Transforms>
|
115
|
+
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
|
116
|
+
<ds:DigestValue>ZtonhLsw3V9Sr14iQUvwMJoTo0RbnXMFca2z29xIPxw=</ds:DigestValue>
|
117
|
+
</ds:Reference>
|
118
|
+
</ds:SignedInfo>
|
119
|
+
<ds:SignatureValue>
|
120
|
+
yYoEGWP3qpD1FN4a4n4QrQ+Ql1Ar1nnI+gmpLf2TXnO9+RCMEIoxomI2irY/2Xfj0aKLeTbtIqcr
|
121
|
+
nmu8Ucw+Wg==
|
122
|
+
</ds:SignatureValue>
|
123
|
+
<ds:KeyInfo>
|
124
|
+
<ds:X509Data>
|
125
|
+
<ds:X509Certificate>
|
126
|
+
MIIBSTCB+aADAgECAgQP85iLMAgGBiqFAwICAzAPMQ0wCwYDVQQDEwRjZXJ0MB4XDTEyMTAzMDA3
|
127
|
+
MjgzOVoXDTEzMTAzMDA3MjgzOVowDzENMAsGA1UEAxMEY2VydDBjMBwGBiqFAwICEzASBgcqhQMC
|
128
|
+
AiQABgcqhQMCAh4BA0MABEAnYzFFhVgJKL4+MDMNEXMLNy/GiJs+d59yRh0GaqLhTfShT2zwNmPO
|
129
|
+
CeSFo52REEkuODMeelXR6ulS0Ti/bWKCozswOTAOBgNVHQ8BAf8EBAMCA+gwEwYDVR0lBAwwCgYI
|
130
|
+
KwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBBTAIBgYqhQMCAgMDQQAp1pB9GpRvWpTFvPj4G3sQ
|
131
|
+
VpT/0pAcCegsZHrxE2yQQPvrLWdLO3O0M1KFYZISJl/kSKU2oiikGux+0OWhLPNC
|
132
|
+
</ds:X509Certificate>
|
133
|
+
</ds:X509Data>
|
134
|
+
</ds:KeyInfo>
|
135
|
+
</ds:Signature>
|
136
|
+
</doc:actRecordSignature>
|
137
|
+
</doc:signedActRecordBirth>
|
@@ -0,0 +1,136 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<d:signedActRecordBirth xmlns:d="http://ezags.rt.ru/type/document/"
|
3
|
+
xmlns:cm="http://ezags.rt.ru/type/common/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
4
|
+
xmlns:e="http://ezags.rt.ru/type/externaldocuments/">
|
5
|
+
<d:actRecord>
|
6
|
+
<cm:registrarId>260001</cm:registrarId>
|
7
|
+
<cm:actRecordNumber>16</cm:actRecordNumber>
|
8
|
+
<cm:actRecordDate>
|
9
|
+
<cm:day>15</cm:day>
|
10
|
+
<cm:month>10</cm:month>
|
11
|
+
<cm:year>2012</cm:year>
|
12
|
+
</cm:actRecordDate>
|
13
|
+
<d:content>
|
14
|
+
<cm:birthStatus>liveborn</cm:birthStatus>
|
15
|
+
<cm:isDiedInWeek>false</cm:isDiedInWeek>
|
16
|
+
<cm:numberOfBirths>1</cm:numberOfBirths>
|
17
|
+
</d:content>
|
18
|
+
<d:participants>
|
19
|
+
<d:child>
|
20
|
+
<cm:surname>Сазоненко</cm:surname>
|
21
|
+
<cm:firstName>Петр</cm:firstName>
|
22
|
+
<cm:patronymic>Николаевич</cm:patronymic>
|
23
|
+
<cm:gender>female</cm:gender>
|
24
|
+
<cm:birthDate>
|
25
|
+
<cm:preciseDate>2012-10-10</cm:preciseDate>
|
26
|
+
</cm:birthDate>
|
27
|
+
<cm:birthPlace>
|
28
|
+
<cm:rawAddressString>676840, Амурская область, Белогорск город, Низинное село, Восточный переулок, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
29
|
+
</cm:birthPlace>
|
30
|
+
</d:child>
|
31
|
+
<d:father>
|
32
|
+
<cm:isApplicant>true</cm:isApplicant>
|
33
|
+
<cm:surname>Сазоненко</cm:surname>
|
34
|
+
<cm:firstName>Имя</cm:firstName>
|
35
|
+
<cm:patronymic>Михайлович</cm:patronymic>
|
36
|
+
<cm:birthDate>
|
37
|
+
<cm:preciseDate>1980-10-14</cm:preciseDate>
|
38
|
+
</cm:birthDate>
|
39
|
+
<cm:birthPlace>
|
40
|
+
<cm:rawAddressString>385019, Адыгея республика, Майкоп город, 1-й переулок, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
41
|
+
</cm:birthPlace>
|
42
|
+
<cm:citizenship>1</cm:citizenship>
|
43
|
+
<cm:nationality>1</cm:nationality>
|
44
|
+
<cm:residencePlace>
|
45
|
+
<cm:rawAddressString>385632, Адыгея республика, Гиагинский район, Владимировское село, Веселая улица, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
46
|
+
</cm:residencePlace>
|
47
|
+
</d:father>
|
48
|
+
<d:mother>
|
49
|
+
<cm:isApplicant>true</cm:isApplicant>
|
50
|
+
<cm:surname>Сазоненко</cm:surname>
|
51
|
+
<cm:firstName>Имя</cm:firstName>
|
52
|
+
<cm:patronymic>Владимировна</cm:patronymic>
|
53
|
+
<cm:birthDate>
|
54
|
+
<cm:preciseDate>1980-10-14</cm:preciseDate>
|
55
|
+
</cm:birthDate>
|
56
|
+
<cm:birthPlace>
|
57
|
+
<cm:rawAddressString>385019, Адыгея республика, Майкоп город, 2-й переулок, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
58
|
+
</cm:birthPlace>
|
59
|
+
<cm:citizenship>1</cm:citizenship>
|
60
|
+
<cm:nationality>1</cm:nationality>
|
61
|
+
<cm:residencePlace>
|
62
|
+
<cm:rawAddressString>649785, Алтай республика, Кош-Агачский район, Актал село, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
63
|
+
</cm:residencePlace>
|
64
|
+
</d:mother>
|
65
|
+
</d:participants>
|
66
|
+
<d:documentConfirmingBirth>
|
67
|
+
<e:medicalCertificateOfBirthByOrganization>
|
68
|
+
<cm:documentNumber>123456789012</cm:documentNumber>
|
69
|
+
<cm:documentSeries>123456789012</cm:documentSeries>
|
70
|
+
<cm:documentDate>2012-10-14</cm:documentDate>
|
71
|
+
<cm:organizationName>роддом №7</cm:organizationName>
|
72
|
+
<cm:organizationAddress>
|
73
|
+
<cm:rawAddressString>658130, Алтайский край, Алейск город, им С.Есенина микрорайон, Вторая улица, д. 1, корп. 2, стр. 3, кв. 4</cm:rawAddressString>
|
74
|
+
</cm:organizationAddress>
|
75
|
+
<cm:okpo>1846992</cm:okpo>
|
76
|
+
<cm:duplicate>true</cm:duplicate>
|
77
|
+
</e:medicalCertificateOfBirthByOrganization>
|
78
|
+
</d:documentConfirmingBirth>
|
79
|
+
<d:documentConfirmingFiliation>
|
80
|
+
<d:actRecAndCertMarriageRequisites>
|
81
|
+
<d:actRecordMarriageReqs>
|
82
|
+
<cm:organizationName>Кунцевский отдел ЗАГС Управления ЗАГС г. Новосибирск</cm:organizationName>
|
83
|
+
<cm:actRecordNumber>1</cm:actRecordNumber>
|
84
|
+
<cm:actRecordDate>
|
85
|
+
<cm:day>15</cm:day>
|
86
|
+
<cm:month>10</cm:month>
|
87
|
+
<cm:year>2011</cm:year>
|
88
|
+
</cm:actRecordDate>
|
89
|
+
</d:actRecordMarriageReqs>
|
90
|
+
</d:actRecAndCertMarriageRequisites>
|
91
|
+
</d:documentConfirmingFiliation>
|
92
|
+
</d:actRecord>
|
93
|
+
<d:actRecordSignature>
|
94
|
+
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
95
|
+
<ds:SignedInfo>
|
96
|
+
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
97
|
+
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
|
98
|
+
<ds:Reference URI="">
|
99
|
+
<ds:Transforms>
|
100
|
+
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
101
|
+
<ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
|
102
|
+
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
103
|
+
<xslt:output method="xml" omit-xml-declaration="yes"/>
|
104
|
+
<xslt:strip-space elements="*"/>
|
105
|
+
<xslt:template match="@*|node()">
|
106
|
+
<xslt:copy>
|
107
|
+
<xslt:apply-templates select="@*|node()"/>
|
108
|
+
</xslt:copy>
|
109
|
+
</xslt:template>
|
110
|
+
</xslt:stylesheet>
|
111
|
+
</ds:Transform>
|
112
|
+
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
113
|
+
</ds:Transforms>
|
114
|
+
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
|
115
|
+
<ds:DigestValue>ZtonhLsw3V9Sr14iQUvwMJoTo0RbnXMFca2z29xIPxw=</ds:DigestValue>
|
116
|
+
</ds:Reference>
|
117
|
+
</ds:SignedInfo>
|
118
|
+
<ds:SignatureValue>
|
119
|
+
yYoEGWP3qpD1FN4a4n4QrQ+Ql1Ar1nnI+gmpLf2TXnO9+RCMEIoxomI2irY/2Xfj0aKLeTbtIqcr
|
120
|
+
nmu8Ucw+Wg==
|
121
|
+
</ds:SignatureValue>
|
122
|
+
<ds:KeyInfo>
|
123
|
+
<ds:X509Data>
|
124
|
+
<ds:X509Certificate>
|
125
|
+
MIIBSTCB+aADAgECAgQP85iLMAgGBiqFAwICAzAPMQ0wCwYDVQQDEwRjZXJ0MB4XDTEyMTAzMDA3
|
126
|
+
MjgzOVoXDTEzMTAzMDA3MjgzOVowDzENMAsGA1UEAxMEY2VydDBjMBwGBiqFAwICEzASBgcqhQMC
|
127
|
+
AiQABgcqhQMCAh4BA0MABEAnYzFFhVgJKL4+MDMNEXMLNy/GiJs+d59yRh0GaqLhTfShT2zwNmPO
|
128
|
+
CeSFo52REEkuODMeelXR6ulS0Ti/bWKCozswOTAOBgNVHQ8BAf8EBAMCA+gwEwYDVR0lBAwwCgYI
|
129
|
+
KwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBBTAIBgYqhQMCAgMDQQAp1pB9GpRvWpTFvPj4G3sQ
|
130
|
+
VpT/0pAcCegsZHrxE2yQQPvrLWdLO3O0M1KFYZISJl/kSKU2oiikGux+0OWhLPNC
|
131
|
+
</ds:X509Certificate>
|
132
|
+
</ds:X509Data>
|
133
|
+
</ds:KeyInfo>
|
134
|
+
</ds:Signature>
|
135
|
+
</d:actRecordSignature>
|
136
|
+
</d:signedActRecordBirth>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<d:signedActRecordBirth xmlns:d="http://ezags.rt.ru/type/document/"
|
3
|
+
xmlns:m="http://ezags.rt.ru/type/common/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
4
|
+
xmlns:t="http://ezags.rt.ru/type/externaldocuments/">
|
5
|
+
<d:actRecord>
|
6
|
+
<m:registrarId>260001</m:registrarId>
|
7
|
+
<m:actRecordNumber>16</m:actRecordNumber>
|
8
|
+
<m:actRecordDate>
|
9
|
+
<m:day>15</m:day>
|
10
|
+
<m:month>10</m:month>
|
11
|
+
<m:year>2012</m:year>
|
12
|
+
</m:actRecordDate>
|
13
|
+
<d:content>
|
14
|
+
<m:birthStatus>liveborn</m:birthStatus>
|
15
|
+
<m:isDiedInWeek>false</m:isDiedInWeek>
|
16
|
+
<m:numberOfBirths>1</m:numberOfBirths>
|
17
|
+
</d:content>
|
18
|
+
<d:participants>
|
19
|
+
<d:child>
|
20
|
+
<m:surname>Сазоненко</m:surname>
|
21
|
+
<m:firstName>Петр</m:firstName>
|
22
|
+
<m:patronymic>Николаевич</m:patronymic>
|
23
|
+
<m:gender>female</m:gender>
|
24
|
+
<m:birthDate>
|
25
|
+
<m:preciseDate>2012-10-10</m:preciseDate>
|
26
|
+
</m:birthDate>
|
27
|
+
<m:birthPlace>
|
28
|
+
<m:rawAddressString>676840, Амурская область, Белогорск город, Низинное село, Восточный переулок, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
29
|
+
</m:birthPlace>
|
30
|
+
</d:child>
|
31
|
+
<d:father>
|
32
|
+
<m:isApplicant>true</m:isApplicant>
|
33
|
+
<m:surname>Сазоненко</m:surname>
|
34
|
+
<m:firstName>Имя</m:firstName>
|
35
|
+
<m:patronymic>Михайлович</m:patronymic>
|
36
|
+
<m:birthDate>
|
37
|
+
<m:preciseDate>1980-10-14</m:preciseDate>
|
38
|
+
</m:birthDate>
|
39
|
+
<m:birthPlace>
|
40
|
+
<m:rawAddressString>385019, Адыгея республика, Майкоп город, 1-й переулок, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
41
|
+
</m:birthPlace>
|
42
|
+
<m:citizenship>1</m:citizenship>
|
43
|
+
<m:nationality>1</m:nationality>
|
44
|
+
<m:residencePlace>
|
45
|
+
<m:rawAddressString>385632, Адыгея республика, Гиагинский район, Владимировское село, Веселая улица, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
46
|
+
</m:residencePlace>
|
47
|
+
</d:father>
|
48
|
+
<d:mother>
|
49
|
+
<m:isApplicant>true</m:isApplicant>
|
50
|
+
<m:surname>Сазоненко</m:surname>
|
51
|
+
<m:firstName>Имя</m:firstName>
|
52
|
+
<m:patronymic>Владимировна</m:patronymic>
|
53
|
+
<m:birthDate>
|
54
|
+
<m:preciseDate>1980-10-14</m:preciseDate>
|
55
|
+
</m:birthDate>
|
56
|
+
<m:birthPlace>
|
57
|
+
<m:rawAddressString>385019, Адыгея республика, Майкоп город, 2-й переулок, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
58
|
+
</m:birthPlace>
|
59
|
+
<m:citizenship>1</m:citizenship>
|
60
|
+
<m:nationality>1</m:nationality>
|
61
|
+
<m:residencePlace>
|
62
|
+
<m:rawAddressString>649785, Алтай республика, Кош-Агачский район, Актал село, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
63
|
+
</m:residencePlace>
|
64
|
+
</d:mother>
|
65
|
+
</d:participants>
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
<!-- Измененный комментарий -->
|
73
|
+
|
74
|
+
<d:documentConfirmingBirth>
|
75
|
+
<t:medicalCertificateOfBirthByOrganization>
|
76
|
+
<m:documentNumber>123456789012</m:documentNumber>
|
77
|
+
<m:documentSeries>123456789012</m:documentSeries>
|
78
|
+
<m:documentDate>2012-10-14</m:documentDate>
|
79
|
+
<m:organizationName>роддом №7</m:organizationName>
|
80
|
+
<m:organizationAddress>
|
81
|
+
<!-- Измененный комментарий 2 -->
|
82
|
+
<m:rawAddressString>658130, Алтайский край, Алейск город, им С.Есенина микрорайон, Вторая улица, д. 1, корп. 2, стр. 3, кв. 4</m:rawAddressString>
|
83
|
+
</m:organizationAddress>
|
84
|
+
<m:okpo>1846992</m:okpo>
|
85
|
+
<m:duplicate>true</m:duplicate>
|
86
|
+
</t:medicalCertificateOfBirthByOrganization>
|
87
|
+
</d:documentConfirmingBirth>
|
88
|
+
<d:documentConfirmingFiliation>
|
89
|
+
<d:actRecAndCertMarriageRequisites>
|
90
|
+
<d:actRecordMarriageReqs>
|
91
|
+
<m:organizationName>Кунцевский отдел ЗАГС Управления ЗАГС г. Новосибирск</m:organizationName>
|
92
|
+
<m:actRecordNumber>1</m:actRecordNumber>
|
93
|
+
<m:actRecordDate>
|
94
|
+
<m:day>15</m:day>
|
95
|
+
|
96
|
+
<m:month>10</m:month>
|
97
|
+
<m:year>2011</m:year>
|
98
|
+
</m:actRecordDate>
|
99
|
+
</d:actRecordMarriageReqs>
|
100
|
+
</d:actRecAndCertMarriageRequisites>
|
101
|
+
</d:documentConfirmingFiliation>
|
102
|
+
</d:actRecord>
|
103
|
+
<d:actRecordSignature>
|
104
|
+
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
105
|
+
<ds:SignedInfo>
|
106
|
+
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
107
|
+
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
|
108
|
+
<ds:Reference URI="">
|
109
|
+
<ds:Transforms>
|
110
|
+
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
111
|
+
<ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116">
|
112
|
+
<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
113
|
+
<xslt:output method="xml" omit-xml-declaration="yes"/>
|
114
|
+
<xslt:strip-space elements="*"/>
|
115
|
+
<xslt:template match="@*|node()">
|
116
|
+
<xslt:copy>
|
117
|
+
<xslt:apply-templates select="@*|node()"/>
|
118
|
+
</xslt:copy>
|
119
|
+
</xslt:template>
|
120
|
+
</xslt:stylesheet>
|
121
|
+
</ds:Transform>
|
122
|
+
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
123
|
+
</ds:Transforms>
|
124
|
+
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
|
125
|
+
<ds:DigestValue>ZtonhLsw3V9Sr14iQUvwMJoTo0RbnXMFca2z29xIPxw=</ds:DigestValue>
|
126
|
+
</ds:Reference>
|
127
|
+
</ds:SignedInfo>
|
128
|
+
<ds:SignatureValue>
|
129
|
+
yYoEGWP3qpD1FN4a4n4QrQ+Ql1Ar1nnI+gmpLf2TXnO9+RCMEIoxomI2irY/2Xfj0aKLeTbtIqcr
|
130
|
+
nmu8Ucw+Wg==
|
131
|
+
</ds:SignatureValue>
|
132
|
+
<ds:KeyInfo>
|
133
|
+
<ds:X509Data>
|
134
|
+
<ds:X509Certificate>
|
135
|
+
MIIBSTCB+aADAgECAgQP85iLMAgGBiqFAwICAzAPMQ0wCwYDVQQDEwRjZXJ0MB4XDTEyMTAzMDA3
|
136
|
+
MjgzOVoXDTEzMTAzMDA3MjgzOVowDzENMAsGA1UEAxMEY2VydDBjMBwGBiqFAwICEzASBgcqhQMC
|
137
|
+
AiQABgcqhQMCAh4BA0MABEAnYzFFhVgJKL4+MDMNEXMLNy/GiJs+d59yRh0GaqLhTfShT2zwNmPO
|
138
|
+
CeSFo52REEkuODMeelXR6ulS0Ti/bWKCozswOTAOBgNVHQ8BAf8EBAMCA+gwEwYDVR0lBAwwCgYI
|
139
|
+
KwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBBTAIBgYqhQMCAgMDQQAp1pB9GpRvWpTFvPj4G3sQ
|
140
|
+
VpT/0pAcCegsZHrxE2yQQPvrLWdLO3O0M1KFYZISJl/kSKU2oiikGux+0OWhLPNC
|
141
|
+
</ds:X509Certificate>
|
142
|
+
</ds:X509Data>
|
143
|
+
</ds:KeyInfo>
|
144
|
+
</ds:Signature>
|
145
|
+
</d:actRecordSignature>
|
146
|
+
</d:signedActRecordBirth>
|