sepafm 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -0
- data/.travis.yml +1 -1
- data/lib/sepa/application_request.rb +30 -31
- data/lib/sepa/attribute_checks.rb +44 -15
- data/lib/sepa/banks/danske/danske_response.rb +21 -0
- data/lib/sepa/banks/danske/soap_danske.rb +7 -18
- data/lib/sepa/banks/nordea/nordea_response.rb +13 -0
- data/lib/sepa/banks/nordea/soap_nordea.rb +3 -63
- data/lib/sepa/banks/op/op_response.rb +76 -0
- data/lib/sepa/banks/op/soap_op.rb +14 -0
- data/lib/sepa/certificates/op_root_certificate.cer +30 -0
- data/lib/sepa/client.rb +20 -26
- data/lib/sepa/response.rb +28 -7
- data/lib/sepa/soap_builder.rb +65 -8
- data/lib/sepa/utilities.rb +8 -21
- data/lib/sepa/version.rb +1 -1
- data/lib/sepa/wsdl/wsdl_op_cert_production.xml +156 -0
- data/lib/sepa/wsdl/wsdl_op_cert_test.xml +157 -0
- data/lib/sepa/wsdl/wsdl_op_production.xml +234 -0
- data/lib/sepa/wsdl/wsdl_op_test.xml +234 -0
- data/lib/sepa/xml_schemas/op/ApplicationRequest_20080918.xsd +135 -0
- data/lib/sepa/xml_schemas/op/ApplicationResponse_20080918.xsd +311 -0
- data/lib/sepa/xml_schemas/op/CertApplicationRequest_200812.xsd +105 -0
- data/lib/sepa/xml_schemas/op/CertApplicationResponse_200812.xsd +88 -0
- data/lib/sepa/xml_templates/application_request/{create_certificate.xml → danske/create_certificate.xml} +8 -8
- data/lib/sepa/xml_templates/application_request/{danske_get_bank_certificate.xml → danske/get_bank_certificate.xml} +3 -3
- data/lib/sepa/xml_templates/application_request/download_file.xml +10 -11
- data/lib/sepa/xml_templates/application_request/download_file_list.xml +9 -10
- data/lib/sepa/xml_templates/application_request/nordea/get_certificate.xml +11 -0
- data/lib/sepa/xml_templates/application_request/op/get_certificate.xml +12 -0
- data/lib/sepa/xml_templates/application_request/op/get_service_certificates.xml +10 -0
- data/lib/sepa/xml_templates/soap/{create_certificate.xml → danske/create_certificate.xml} +6 -6
- data/lib/sepa/xml_templates/soap/{danske_get_bank_certificate.xml → danske/get_bank_certificate.xml} +5 -5
- data/lib/sepa/xml_templates/soap/nordea/get_certificate.xml +15 -0
- data/lib/sepa/xml_templates/soap/op/get_certificate.xml +14 -0
- data/lib/sepa/xml_templates/soap/op/get_service_certificates.xml +14 -0
- data/lib/sepafm.rb +36 -0
- data/readme.md +9 -6
- data/sepafm.gemspec +8 -8
- data/test/custom_assertions.rb +20 -0
- data/test/sepa/banks/op/op_application_request_test.rb +63 -0
- data/test/sepa/banks/op/op_cert_application_request_test.rb +77 -0
- data/test/sepa/banks/op/op_cert_request_soap_builder_test.rb +62 -0
- data/test/sepa/banks/op/op_generic_soap_builder_test.rb +52 -0
- data/test/sepa/banks/op/op_response_test.rb +13 -0
- data/test/sepa/client_test.rb +35 -1
- data/test/sepa/fixtures.rb +82 -0
- data/test/sepa/sepa_test.rb +1 -1
- data/test/test_helper.rb +1 -0
- data/test_client/data/certs_example.rb +9 -0
- data/test_client/data/params_example.rb +110 -0
- data/test_client/test_client.rb +61 -0
- metadata +42 -12
- data/lib/sepa/xml_templates/application_request/get_certificate.xml +0 -11
- data/lib/sepa/xml_templates/soap/get_certificate.xml +0 -14
@@ -0,0 +1,311 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Lauri kenttä (Fidenta Oy) -->
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bxd="http://bxd.fi/xmldata/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://bxd.fi/xmldata/" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
4
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<xs:element name="ApplicationResponse">
|
6
|
+
<xs:annotation>
|
7
|
+
<xs:documentation>Wrapper for data. Used for transmitting data. Can be XML Digital Signed.</xs:documentation>
|
8
|
+
</xs:annotation>
|
9
|
+
<xs:complexType>
|
10
|
+
<xs:sequence>
|
11
|
+
<xs:element name="CustomerId" nillable="false">
|
12
|
+
<xs:simpleType>
|
13
|
+
<xs:restriction base="xs:string">
|
14
|
+
<xs:minLength value="1"/>
|
15
|
+
<xs:maxLength value="16"/>
|
16
|
+
</xs:restriction>
|
17
|
+
</xs:simpleType>
|
18
|
+
</xs:element>
|
19
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
20
|
+
<xs:element name="ResponseCode" nillable="false">
|
21
|
+
<xs:simpleType>
|
22
|
+
<xs:restriction base="xs:string">
|
23
|
+
<xs:minLength value="1"/>
|
24
|
+
<xs:maxLength value="16"/>
|
25
|
+
</xs:restriction>
|
26
|
+
</xs:simpleType>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="ResponseText" nillable="false">
|
29
|
+
<xs:simpleType>
|
30
|
+
<xs:restriction base="xs:string">
|
31
|
+
<xs:minLength value="1"/>
|
32
|
+
<xs:maxLength value="80"/>
|
33
|
+
</xs:restriction>
|
34
|
+
</xs:simpleType>
|
35
|
+
</xs:element>
|
36
|
+
<xs:element name="ExecutionSerial" minOccurs="0">
|
37
|
+
<xs:simpleType>
|
38
|
+
<xs:restriction base="xs:string">
|
39
|
+
<xs:minLength value="1"/>
|
40
|
+
<xs:maxLength value="32"/>
|
41
|
+
</xs:restriction>
|
42
|
+
</xs:simpleType>
|
43
|
+
</xs:element>
|
44
|
+
<xs:element name="Encrypted" type="xs:boolean" minOccurs="0"/>
|
45
|
+
<xs:element name="EncryptionMethod" minOccurs="0">
|
46
|
+
<xs:simpleType>
|
47
|
+
<xs:restriction base="xs:string">
|
48
|
+
<xs:minLength value="1"/>
|
49
|
+
<xs:maxLength value="35"/>
|
50
|
+
</xs:restriction>
|
51
|
+
</xs:simpleType>
|
52
|
+
</xs:element>
|
53
|
+
<xs:element name="Compressed" type="xs:boolean" minOccurs="0"/>
|
54
|
+
<xs:element name="CompressionMethod" minOccurs="0">
|
55
|
+
<xs:simpleType>
|
56
|
+
<xs:restriction base="xs:string">
|
57
|
+
<xs:minLength value="1"/>
|
58
|
+
<xs:maxLength value="35"/>
|
59
|
+
</xs:restriction>
|
60
|
+
</xs:simpleType>
|
61
|
+
</xs:element>
|
62
|
+
<xs:element name="AmountTotal" type="xs:double" minOccurs="0"/>
|
63
|
+
<xs:element name="TransactionCount" type="xs:long" minOccurs="0"/>
|
64
|
+
<xs:element name="FileDescriptors" minOccurs="0">
|
65
|
+
<xs:complexType>
|
66
|
+
<xs:sequence>
|
67
|
+
<xs:element name="FileDescriptor" maxOccurs="unbounded">
|
68
|
+
<xs:complexType>
|
69
|
+
<xs:sequence>
|
70
|
+
<xs:element name="FileReference">
|
71
|
+
<xs:simpleType>
|
72
|
+
<xs:restriction base="xs:string">
|
73
|
+
<xs:minLength value="1"/>
|
74
|
+
<xs:maxLength value="32"/>
|
75
|
+
</xs:restriction>
|
76
|
+
</xs:simpleType>
|
77
|
+
</xs:element>
|
78
|
+
<xs:element name="TargetId">
|
79
|
+
<xs:simpleType>
|
80
|
+
<xs:restriction base="xs:string">
|
81
|
+
<xs:minLength value="1"/>
|
82
|
+
<xs:maxLength value="80"/>
|
83
|
+
</xs:restriction>
|
84
|
+
</xs:simpleType>
|
85
|
+
</xs:element>
|
86
|
+
<xs:element name="ServiceId" minOccurs="0">
|
87
|
+
<xs:simpleType>
|
88
|
+
<xs:restriction base="xs:string">
|
89
|
+
<xs:minLength value="1"/>
|
90
|
+
<xs:maxLength value="256"/>
|
91
|
+
</xs:restriction>
|
92
|
+
</xs:simpleType>
|
93
|
+
</xs:element>
|
94
|
+
<xs:element name="ServiceIdOwnerName" minOccurs="0">
|
95
|
+
<xs:simpleType>
|
96
|
+
<xs:restriction base="xs:string">
|
97
|
+
<xs:minLength value="1"/>
|
98
|
+
<xs:maxLength value="256"/>
|
99
|
+
</xs:restriction>
|
100
|
+
</xs:simpleType>
|
101
|
+
</xs:element>
|
102
|
+
<xs:element name="UserFilename" minOccurs="0">
|
103
|
+
<xs:simpleType>
|
104
|
+
<xs:restriction base="xs:string">
|
105
|
+
<xs:minLength value="1"/>
|
106
|
+
<xs:maxLength value="80"/>
|
107
|
+
</xs:restriction>
|
108
|
+
</xs:simpleType>
|
109
|
+
</xs:element>
|
110
|
+
<xs:element name="ParentFileReference" minOccurs="0">
|
111
|
+
<xs:simpleType>
|
112
|
+
<xs:restriction base="xs:string">
|
113
|
+
<xs:minLength value="1"/>
|
114
|
+
<xs:maxLength value="16"/>
|
115
|
+
</xs:restriction>
|
116
|
+
</xs:simpleType>
|
117
|
+
</xs:element>
|
118
|
+
<xs:element name="FileType">
|
119
|
+
<xs:simpleType>
|
120
|
+
<xs:restriction base="xs:string">
|
121
|
+
<xs:minLength value="1"/>
|
122
|
+
<xs:maxLength value="40"/>
|
123
|
+
</xs:restriction>
|
124
|
+
</xs:simpleType>
|
125
|
+
</xs:element>
|
126
|
+
<xs:element name="FileTimestamp" type="xs:dateTime"/>
|
127
|
+
<xs:element name="Status">
|
128
|
+
<xs:simpleType>
|
129
|
+
<xs:restriction base="xs:string">
|
130
|
+
<xs:minLength value="1"/>
|
131
|
+
<xs:maxLength value="10"/>
|
132
|
+
</xs:restriction>
|
133
|
+
</xs:simpleType>
|
134
|
+
</xs:element>
|
135
|
+
<xs:element name="AmountTotal" type="xs:double" minOccurs="0"/>
|
136
|
+
<xs:element name="TransactionCount" type="xs:long" minOccurs="0"/>
|
137
|
+
<xs:element name="LastDownloadTimestamp" type="xs:dateTime" minOccurs="0"/>
|
138
|
+
<xs:element name="ForwardedTimestamp" type="xs:dateTime" minOccurs="0"/>
|
139
|
+
<xs:element name="Confirmable" type="xs:boolean" minOccurs="0"/>
|
140
|
+
<xs:element name="Deletable" type="xs:boolean" minOccurs="0"/>
|
141
|
+
<xs:element name="SubStatus" minOccurs="0">
|
142
|
+
<xs:simpleType>
|
143
|
+
<xs:restriction base="xs:string">
|
144
|
+
<xs:minLength value="1"/>
|
145
|
+
<xs:maxLength value="35"/>
|
146
|
+
</xs:restriction>
|
147
|
+
</xs:simpleType>
|
148
|
+
</xs:element>
|
149
|
+
<xs:element name="SubStatusText" minOccurs="0">
|
150
|
+
<xs:simpleType>
|
151
|
+
<xs:restriction base="xs:string">
|
152
|
+
<xs:minLength value="1"/>
|
153
|
+
<xs:maxLength value="70"/>
|
154
|
+
</xs:restriction>
|
155
|
+
</xs:simpleType>
|
156
|
+
</xs:element>
|
157
|
+
<xs:element name="MissingTransactions" type="xs:boolean" minOccurs="0"/>
|
158
|
+
<xs:element name="SubType" minOccurs="0">
|
159
|
+
<xs:simpleType>
|
160
|
+
<xs:restriction base="xs:string">
|
161
|
+
<xs:minLength value="1"/>
|
162
|
+
<xs:maxLength value="35"/>
|
163
|
+
</xs:restriction>
|
164
|
+
</xs:simpleType>
|
165
|
+
</xs:element>
|
166
|
+
<xs:element name="FeedbackFileAttributes" minOccurs="0">
|
167
|
+
<xs:complexType>
|
168
|
+
<xs:sequence>
|
169
|
+
<xs:element name="FeedbackFileReference">
|
170
|
+
<xs:simpleType>
|
171
|
+
<xs:restriction base="xs:string">
|
172
|
+
<xs:minLength value="1"/>
|
173
|
+
<xs:maxLength value="16"/>
|
174
|
+
</xs:restriction>
|
175
|
+
</xs:simpleType>
|
176
|
+
</xs:element>
|
177
|
+
<xs:element name="FeedbackFileType" minOccurs="0">
|
178
|
+
<xs:simpleType>
|
179
|
+
<xs:restriction base="xs:string">
|
180
|
+
<xs:minLength value="1"/>
|
181
|
+
<xs:maxLength value="35"/>
|
182
|
+
</xs:restriction>
|
183
|
+
</xs:simpleType>
|
184
|
+
</xs:element>
|
185
|
+
<xs:element name="FeedbackFileTypeName" minOccurs="0">
|
186
|
+
<xs:simpleType>
|
187
|
+
<xs:restriction base="xs:string">
|
188
|
+
<xs:minLength value="1"/>
|
189
|
+
<xs:maxLength value="80"/>
|
190
|
+
</xs:restriction>
|
191
|
+
</xs:simpleType>
|
192
|
+
</xs:element>
|
193
|
+
<xs:element name="FeedbackFileStatus" minOccurs="0">
|
194
|
+
<xs:simpleType>
|
195
|
+
<xs:restriction base="xs:string">
|
196
|
+
<xs:minLength value="1"/>
|
197
|
+
<xs:maxLength value="16"/>
|
198
|
+
</xs:restriction>
|
199
|
+
</xs:simpleType>
|
200
|
+
</xs:element>
|
201
|
+
<xs:element name="FeedbackFileDate" type="xs:date" minOccurs="0"/>
|
202
|
+
<xs:element name="FeedbackFilestamp" type="xs:dateTime" minOccurs="0"/>
|
203
|
+
<xs:element name="FeedbackServiceId" minOccurs="0">
|
204
|
+
<xs:simpleType>
|
205
|
+
<xs:restriction base="xs:string">
|
206
|
+
<xs:minLength value="1"/>
|
207
|
+
<xs:maxLength value="35"/>
|
208
|
+
</xs:restriction>
|
209
|
+
</xs:simpleType>
|
210
|
+
</xs:element>
|
211
|
+
<xs:element name="FileActionHistory" minOccurs="0">
|
212
|
+
<xs:simpleType>
|
213
|
+
<xs:restriction base="xs:string">
|
214
|
+
<xs:minLength value="1"/>
|
215
|
+
<xs:maxLength value="16"/>
|
216
|
+
</xs:restriction>
|
217
|
+
</xs:simpleType>
|
218
|
+
</xs:element>
|
219
|
+
</xs:sequence>
|
220
|
+
</xs:complexType>
|
221
|
+
</xs:element>
|
222
|
+
</xs:sequence>
|
223
|
+
</xs:complexType>
|
224
|
+
</xs:element>
|
225
|
+
</xs:sequence>
|
226
|
+
</xs:complexType>
|
227
|
+
</xs:element>
|
228
|
+
<xs:element name="CustomerExtension" type="xs:anyType" minOccurs="0"/>
|
229
|
+
<xs:element name="FileType" minOccurs="0"/>
|
230
|
+
<xs:element name="UserFileTypes" minOccurs="0">
|
231
|
+
<xs:complexType>
|
232
|
+
<xs:sequence>
|
233
|
+
<xs:element name="UserFileType" maxOccurs="unbounded">
|
234
|
+
<xs:complexType>
|
235
|
+
<xs:sequence>
|
236
|
+
<xs:element name="TargetId">
|
237
|
+
<xs:simpleType>
|
238
|
+
<xs:restriction base="xs:string">
|
239
|
+
<xs:maxLength value="80"/>
|
240
|
+
</xs:restriction>
|
241
|
+
</xs:simpleType>
|
242
|
+
</xs:element>
|
243
|
+
<xs:element name="FileType" minOccurs="0">
|
244
|
+
<xs:simpleType>
|
245
|
+
<xs:restriction base="xs:string">
|
246
|
+
<xs:maxLength value="35"/>
|
247
|
+
</xs:restriction>
|
248
|
+
</xs:simpleType>
|
249
|
+
</xs:element>
|
250
|
+
<xs:element name="FileTypeName" minOccurs="0">
|
251
|
+
<xs:simpleType>
|
252
|
+
<xs:restriction base="xs:string">
|
253
|
+
<xs:minLength value="0"/>
|
254
|
+
<xs:maxLength value="80"/>
|
255
|
+
</xs:restriction>
|
256
|
+
</xs:simpleType>
|
257
|
+
</xs:element>
|
258
|
+
<xs:element name="Country" minOccurs="0"/>
|
259
|
+
<xs:element name="Direction" minOccurs="0"/>
|
260
|
+
<xs:element name="FileTypeServices" minOccurs="0">
|
261
|
+
<xs:complexType>
|
262
|
+
<xs:sequence>
|
263
|
+
<xs:element name="FileTypeService" maxOccurs="unbounded">
|
264
|
+
<xs:complexType>
|
265
|
+
<xs:sequence>
|
266
|
+
<xs:element name="ServiceId">
|
267
|
+
<xs:simpleType>
|
268
|
+
<xs:restriction base="xs:string">
|
269
|
+
<xs:maxLength value="60"/>
|
270
|
+
</xs:restriction>
|
271
|
+
</xs:simpleType>
|
272
|
+
</xs:element>
|
273
|
+
<xs:element name="ServiceIdOwnerName" minOccurs="0">
|
274
|
+
<xs:simpleType>
|
275
|
+
<xs:restriction base="xs:string">
|
276
|
+
<xs:maxLength value="256"/>
|
277
|
+
</xs:restriction>
|
278
|
+
</xs:simpleType>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="ServiceIdType" minOccurs="0">
|
281
|
+
<xs:simpleType>
|
282
|
+
<xs:restriction base="xs:string">
|
283
|
+
<xs:maxLength value="80"/>
|
284
|
+
</xs:restriction>
|
285
|
+
</xs:simpleType>
|
286
|
+
</xs:element>
|
287
|
+
<xs:element name="ServiceIdText" minOccurs="0">
|
288
|
+
<xs:simpleType>
|
289
|
+
<xs:restriction base="xs:string">
|
290
|
+
<xs:maxLength value="80"/>
|
291
|
+
</xs:restriction>
|
292
|
+
</xs:simpleType>
|
293
|
+
</xs:element>
|
294
|
+
</xs:sequence>
|
295
|
+
</xs:complexType>
|
296
|
+
</xs:element>
|
297
|
+
</xs:sequence>
|
298
|
+
</xs:complexType>
|
299
|
+
</xs:element>
|
300
|
+
</xs:sequence>
|
301
|
+
</xs:complexType>
|
302
|
+
</xs:element>
|
303
|
+
</xs:sequence>
|
304
|
+
</xs:complexType>
|
305
|
+
</xs:element>
|
306
|
+
<xs:element name="Content" type="xs:base64Binary" nillable="false" minOccurs="0"/>
|
307
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
308
|
+
</xs:sequence>
|
309
|
+
</xs:complexType>
|
310
|
+
</xs:element>
|
311
|
+
</xs:schema>
|
@@ -0,0 +1,105 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Trung Nguyen (FD Finanssidata OY) -->
|
3
|
+
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Sasu Mattila (FD Finanssidata Oy) -->
|
4
|
+
<xs:schema targetNamespace="http://op.fi/mlp/xmldata/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:bxd="http://op.fi/mlp/xmldata/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
5
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
6
|
+
<xs:element name="CertApplicationRequest">
|
7
|
+
<xs:annotation>
|
8
|
+
<xs:documentation>Wrapper for data. Used for transmitting data. Can be XML Digital Signed.</xs:documentation>
|
9
|
+
</xs:annotation>
|
10
|
+
<xs:complexType>
|
11
|
+
<xs:sequence>
|
12
|
+
<xs:element name="CustomerId" nillable="false">
|
13
|
+
<xs:simpleType>
|
14
|
+
<xs:restriction base="xs:string">
|
15
|
+
<xs:minLength value="1"/>
|
16
|
+
<xs:maxLength value="16"/>
|
17
|
+
</xs:restriction>
|
18
|
+
</xs:simpleType>
|
19
|
+
</xs:element>
|
20
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
21
|
+
<xs:element name="Environment" type="bxd:EnvironmentCode"/>
|
22
|
+
<xs:element name="SoftwareId">
|
23
|
+
<xs:simpleType>
|
24
|
+
<xs:restriction base="xs:string">
|
25
|
+
<xs:minLength value="1"/>
|
26
|
+
<xs:maxLength value="80"/>
|
27
|
+
</xs:restriction>
|
28
|
+
</xs:simpleType>
|
29
|
+
</xs:element>
|
30
|
+
<xs:element name="Command" nillable="false" minOccurs="0">
|
31
|
+
<xs:simpleType>
|
32
|
+
<xs:restriction base="xs:string">
|
33
|
+
<xs:maxLength value="32"/>
|
34
|
+
<xs:minLength value="1"/>
|
35
|
+
</xs:restriction>
|
36
|
+
</xs:simpleType>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="ExecutionSerial" minOccurs="0">
|
39
|
+
<xs:simpleType>
|
40
|
+
<xs:restriction base="xs:string">
|
41
|
+
<xs:minLength value="1"/>
|
42
|
+
<xs:maxLength value="32"/>
|
43
|
+
</xs:restriction>
|
44
|
+
</xs:simpleType>
|
45
|
+
</xs:element>
|
46
|
+
<xs:element name="Encryption" type="xs:boolean" minOccurs="0"/>
|
47
|
+
<xs:element name="EncryptionMethod" minOccurs="0">
|
48
|
+
<xs:simpleType>
|
49
|
+
<xs:restriction base="xs:string">
|
50
|
+
<xs:minLength value="1"/>
|
51
|
+
<xs:maxLength value="35"/>
|
52
|
+
</xs:restriction>
|
53
|
+
</xs:simpleType>
|
54
|
+
</xs:element>
|
55
|
+
<xs:element name="Compression" type="xs:boolean" minOccurs="0"/>
|
56
|
+
<xs:element name="CompressionMethod" minOccurs="0">
|
57
|
+
<xs:simpleType>
|
58
|
+
<xs:restriction base="xs:string">
|
59
|
+
<xs:minLength value="1"/>
|
60
|
+
<xs:maxLength value="35"/>
|
61
|
+
</xs:restriction>
|
62
|
+
</xs:simpleType>
|
63
|
+
</xs:element>
|
64
|
+
<xs:element name="Service" type="xs:string" default="MATU">
|
65
|
+
<xs:annotation>
|
66
|
+
<xs:documentation>Maksuliikkeen tunniste; mikä palvelun varmenne pyydetään. käytännössä ISSUER</xs:documentation>
|
67
|
+
</xs:annotation>
|
68
|
+
</xs:element>
|
69
|
+
<xs:element name="Content" type="xs:base64Binary" nillable="true" minOccurs="0">
|
70
|
+
<xs:annotation>
|
71
|
+
<xs:documentation>pkcs#10 request</xs:documentation>
|
72
|
+
</xs:annotation>
|
73
|
+
</xs:element>
|
74
|
+
<xs:element name="TransferKey" nillable="false" minOccurs="0">
|
75
|
+
<xs:annotation>
|
76
|
+
<xs:documentation>(Siirtoavain) / jaettu salaisuus / salasana</xs:documentation>
|
77
|
+
</xs:annotation>
|
78
|
+
<xs:simpleType>
|
79
|
+
<xs:restriction base="xs:string">
|
80
|
+
<xs:maxLength value="32"/>
|
81
|
+
<xs:minLength value="1"/>
|
82
|
+
</xs:restriction>
|
83
|
+
</xs:simpleType>
|
84
|
+
</xs:element>
|
85
|
+
<xs:element name="SerialNumber" nillable="false" minOccurs="0">
|
86
|
+
<xs:simpleType>
|
87
|
+
<xs:restriction base="xs:string">
|
88
|
+
<xs:minLength value="1"/>
|
89
|
+
<xs:maxLength value="25"/>
|
90
|
+
</xs:restriction>
|
91
|
+
</xs:simpleType>
|
92
|
+
</xs:element>
|
93
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
94
|
+
</xs:sequence>
|
95
|
+
</xs:complexType>
|
96
|
+
</xs:element>
|
97
|
+
<xs:simpleType name="EnvironmentCode">
|
98
|
+
<xs:annotation>
|
99
|
+
<xs:documentation>Production or Test</xs:documentation>
|
100
|
+
</xs:annotation>
|
101
|
+
<xs:restriction base="xs:NMTOKEN">
|
102
|
+
<xs:pattern value="(PRODUCTION|TEST)"/>
|
103
|
+
</xs:restriction>
|
104
|
+
</xs:simpleType>
|
105
|
+
</xs:schema>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Trung Nguyen (FD Finanssidata OY) -->
|
3
|
+
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Lauri kenttä (Fidenta Oy) -->
|
4
|
+
<xs:schema targetNamespace="http://op.fi/mlp/xmldata/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:bxd="http://op.fi/mlp/xmldata/" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
5
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
6
|
+
<xs:element name="CertApplicationResponse">
|
7
|
+
<xs:annotation>
|
8
|
+
<xs:documentation>Wrapper for data. Used for transmitting data. Can be XML Digital Signed.</xs:documentation>
|
9
|
+
</xs:annotation>
|
10
|
+
<xs:complexType>
|
11
|
+
<xs:sequence>
|
12
|
+
<xs:element name="CustomerId" nillable="false">
|
13
|
+
<xs:simpleType>
|
14
|
+
<xs:restriction base="xs:string">
|
15
|
+
<xs:minLength value="1"/>
|
16
|
+
<xs:maxLength value="16"/>
|
17
|
+
</xs:restriction>
|
18
|
+
</xs:simpleType>
|
19
|
+
</xs:element>
|
20
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
21
|
+
<xs:element name="ResponseCode" nillable="false">
|
22
|
+
<xs:simpleType>
|
23
|
+
<xs:restriction base="xs:string">
|
24
|
+
<xs:minLength value="1"/>
|
25
|
+
<xs:maxLength value="16"/>
|
26
|
+
</xs:restriction>
|
27
|
+
</xs:simpleType>
|
28
|
+
</xs:element>
|
29
|
+
<xs:element name="ResponseText" nillable="false">
|
30
|
+
<xs:simpleType>
|
31
|
+
<xs:restriction base="xs:string">
|
32
|
+
<xs:minLength value="1"/>
|
33
|
+
<xs:maxLength value="80"/>
|
34
|
+
</xs:restriction>
|
35
|
+
</xs:simpleType>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="ExecutionSerial" minOccurs="0">
|
38
|
+
<xs:simpleType>
|
39
|
+
<xs:restriction base="xs:string">
|
40
|
+
<xs:minLength value="1"/>
|
41
|
+
<xs:maxLength value="32"/>
|
42
|
+
</xs:restriction>
|
43
|
+
</xs:simpleType>
|
44
|
+
</xs:element>
|
45
|
+
<xs:element name="Encrypted" type="xs:boolean" minOccurs="0"/>
|
46
|
+
<xs:element name="EncryptionMethod" minOccurs="0">
|
47
|
+
<xs:simpleType>
|
48
|
+
<xs:restriction base="xs:string">
|
49
|
+
<xs:minLength value="1"/>
|
50
|
+
<xs:maxLength value="35"/>
|
51
|
+
</xs:restriction>
|
52
|
+
</xs:simpleType>
|
53
|
+
</xs:element>
|
54
|
+
<xs:element name="Compressed" type="xs:boolean" minOccurs="0"/>
|
55
|
+
<xs:element name="CompressionMethod" minOccurs="0">
|
56
|
+
<xs:simpleType>
|
57
|
+
<xs:restriction base="xs:string">
|
58
|
+
<xs:minLength value="1"/>
|
59
|
+
<xs:maxLength value="35"/>
|
60
|
+
</xs:restriction>
|
61
|
+
</xs:simpleType>
|
62
|
+
</xs:element>
|
63
|
+
<xs:element name="CustomerExtension" type="xs:anyType" minOccurs="0"/>
|
64
|
+
<xs:element name="Certificates" minOccurs="0">
|
65
|
+
<xs:complexType>
|
66
|
+
<xs:sequence>
|
67
|
+
<xs:element ref="bxd:Certificate" minOccurs="0" maxOccurs="unbounded"/>
|
68
|
+
</xs:sequence>
|
69
|
+
</xs:complexType>
|
70
|
+
</xs:element>
|
71
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
72
|
+
</xs:sequence>
|
73
|
+
</xs:complexType>
|
74
|
+
</xs:element>
|
75
|
+
<xs:element name="Certificate">
|
76
|
+
<xs:complexType>
|
77
|
+
<xs:sequence>
|
78
|
+
<xs:element name="Name" type="xs:string" nillable="false">
|
79
|
+
<xs:annotation>
|
80
|
+
<xs:documentation>Kertoo varmenteen käyttötarkoituksen. Voi olla CommonName tai muu nimi</xs:documentation>
|
81
|
+
</xs:annotation>
|
82
|
+
</xs:element>
|
83
|
+
<xs:element name="Certificate" type="xs:base64Binary" nillable="false"/>
|
84
|
+
<xs:element name="CertificateFormat" type="xs:string" default="X509v3"/>
|
85
|
+
</xs:sequence>
|
86
|
+
</xs:complexType>
|
87
|
+
</xs:element>
|
88
|
+
</xs:schema>
|
@@ -4,12 +4,12 @@
|
|
4
4
|
xmlns:tns="http://danskebank.dk/PKI/PKIFactoryService/elements"
|
5
5
|
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
6
6
|
xmlns:pkif="http://danskebank.dk/PKI/PKIFactoryService">
|
7
|
-
<tns:CustomerId
|
8
|
-
<tns:KeyGeneratorType
|
9
|
-
<tns:EncryptionCertPKCS10
|
10
|
-
<tns:SigningCertPKCS10
|
11
|
-
<tns:Timestamp
|
12
|
-
<tns:RequestId
|
13
|
-
<tns:Environment
|
14
|
-
<tns:PIN
|
7
|
+
<tns:CustomerId/>
|
8
|
+
<tns:KeyGeneratorType/>
|
9
|
+
<tns:EncryptionCertPKCS10/>
|
10
|
+
<tns:SigningCertPKCS10/>
|
11
|
+
<tns:Timestamp/>
|
12
|
+
<tns:RequestId/>
|
13
|
+
<tns:Environment/>
|
14
|
+
<tns:PIN/>
|
15
15
|
</tns:CreateCertificateRequest>
|
@@ -6,9 +6,9 @@
|
|
6
6
|
<soapenv:Body>
|
7
7
|
<elem:GetBankCertificateRequest
|
8
8
|
xmlns:elem="http://danskebank.dk/PKI/PKIFactoryService/elements">
|
9
|
-
<elem:BankRootCertificateSerialNo
|
10
|
-
<elem:Timestamp
|
11
|
-
<elem:RequestId
|
9
|
+
<elem:BankRootCertificateSerialNo/>
|
10
|
+
<elem:Timestamp/>
|
11
|
+
<elem:RequestId/>
|
12
12
|
</elem:GetBankCertificateRequest>
|
13
13
|
</soapenv:Body>
|
14
14
|
</soapenv:Envelope>
|
@@ -1,15 +1,14 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<ApplicationRequest xmlns="http://bxd.fi/xmldata/">
|
3
|
-
<CustomerId
|
4
|
-
<Command
|
5
|
-
<Timestamp
|
6
|
-
<Status
|
7
|
-
<Environment
|
3
|
+
<CustomerId/>
|
4
|
+
<Command/>
|
5
|
+
<Timestamp/>
|
6
|
+
<Status/>
|
7
|
+
<Environment/>
|
8
8
|
<FileReferences>
|
9
|
-
<FileReference
|
9
|
+
<FileReference/>
|
10
10
|
</FileReferences>
|
11
|
-
<SoftwareId
|
12
|
-
<FileType></FileType>
|
11
|
+
<SoftwareId/>
|
13
12
|
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
|
14
13
|
<dsig:SignedInfo>
|
15
14
|
<dsig:CanonicalizationMethod
|
@@ -20,13 +19,13 @@
|
|
20
19
|
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
21
20
|
</dsig:Transforms>
|
22
21
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
23
|
-
<dsig:DigestValue
|
22
|
+
<dsig:DigestValue/>
|
24
23
|
</dsig:Reference>
|
25
24
|
</dsig:SignedInfo>
|
26
|
-
<dsig:SignatureValue
|
25
|
+
<dsig:SignatureValue/>
|
27
26
|
<dsig:KeyInfo>
|
28
27
|
<dsig:X509Data>
|
29
|
-
<dsig:X509Certificate
|
28
|
+
<dsig:X509Certificate/>
|
30
29
|
</dsig:X509Data>
|
31
30
|
</dsig:KeyInfo>
|
32
31
|
</dsig:Signature>
|
@@ -1,12 +1,11 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<ApplicationRequest xmlns="http://bxd.fi/xmldata/">
|
3
|
-
<CustomerId
|
4
|
-
<Command
|
5
|
-
<Timestamp
|
6
|
-
<Status
|
7
|
-
<Environment
|
8
|
-
<SoftwareId
|
9
|
-
<FileType></FileType>
|
3
|
+
<CustomerId/>
|
4
|
+
<Command/>
|
5
|
+
<Timestamp/>
|
6
|
+
<Status/>
|
7
|
+
<Environment/>
|
8
|
+
<SoftwareId/>
|
10
9
|
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
|
11
10
|
<dsig:SignedInfo>
|
12
11
|
<dsig:CanonicalizationMethod
|
@@ -17,13 +16,13 @@
|
|
17
16
|
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
18
17
|
</dsig:Transforms>
|
19
18
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
20
|
-
<dsig:DigestValue
|
19
|
+
<dsig:DigestValue/>
|
21
20
|
</dsig:Reference>
|
22
21
|
</dsig:SignedInfo>
|
23
|
-
<dsig:SignatureValue
|
22
|
+
<dsig:SignatureValue/>
|
24
23
|
<dsig:KeyInfo>
|
25
24
|
<dsig:X509Data>
|
26
|
-
<dsig:X509Certificate
|
25
|
+
<dsig:X509Certificate/>
|
27
26
|
</dsig:X509Data>
|
28
27
|
</dsig:KeyInfo>
|
29
28
|
</dsig:Signature>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<CertApplicationRequest xmlns="http://op.fi/mlp/xmldata/">
|
3
|
+
<CustomerId/>
|
4
|
+
<Timestamp/>
|
5
|
+
<Environment/>
|
6
|
+
<SoftwareId/>
|
7
|
+
<Command/>
|
8
|
+
<Compression>false</Compression>
|
9
|
+
<Service/>
|
10
|
+
<Content/>
|
11
|
+
<TransferKey/>
|
12
|
+
</CertApplicationRequest>
|