sepafm 0.0.2 → 0.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 +14 -30
- data/.ruby-version +1 -1
- data/.travis.yml +15 -0
- data/Gemfile +1 -1
- data/LICENSE +16 -4
- data/README.md +180 -319
- data/Rakefile +7 -2
- data/lib/sepa/application_request.rb +100 -131
- data/lib/sepa/application_response.rb +28 -84
- data/lib/sepa/attribute_checks.rb +169 -0
- data/lib/sepa/banks/danske/danske_response.rb +19 -0
- data/lib/sepa/banks/danske/soap_danske.rb +132 -0
- data/lib/sepa/banks/nordea/nordea_response.rb +20 -0
- data/lib/sepa/banks/nordea/soap_nordea.rb +51 -0
- data/lib/sepa/client.rb +72 -60
- data/lib/sepa/error_messages.rb +15 -0
- data/lib/sepa/response.rb +88 -85
- data/lib/sepa/soap_builder.rb +51 -341
- data/lib/sepa/utilities.rb +132 -0
- data/lib/sepa/version.rb +1 -1
- data/lib/sepa/xml_schemas/PKIFactory.xsd +334 -0
- data/lib/sepa/xml_schemas/xml_id.xsd +9 -0
- data/lib/sepa/xml_templates/application_request/create_certificate.xml +15 -10
- data/lib/sepa/xml_templates/application_request/danske_get_bank_certificate.xml +13 -9
- data/lib/sepa/xml_templates/application_request/download_file.xml +32 -30
- data/lib/sepa/xml_templates/application_request/download_file_list.xml +29 -27
- data/lib/sepa/xml_templates/application_request/encrypted_request.xml +22 -0
- data/lib/sepa/xml_templates/application_request/get_certificate.xml +9 -8
- data/lib/sepa/xml_templates/application_request/get_user_info.xml +26 -24
- data/lib/sepa/xml_templates/application_request/upload_file.xml +29 -27
- data/lib/sepa/xml_templates/soap/create_certificate.xml +17 -15
- data/lib/sepa/xml_templates/soap/danske_get_bank_certificate.xml +15 -13
- data/lib/sepa/xml_templates/soap/download_file.xml +19 -15
- data/lib/sepa/xml_templates/soap/download_file_list.xml +19 -15
- data/lib/sepa/xml_templates/soap/get_certificate.xml +2 -1
- data/lib/sepa/xml_templates/soap/get_user_info.xml +19 -15
- data/lib/sepa/xml_templates/soap/header.xml +48 -37
- data/lib/sepa/xml_templates/soap/upload_file.xml +19 -15
- data/lib/sepafm.rb +20 -18
- data/{sepa.gemspec → sepafm.gemspec} +10 -9
- data/test/sepa/banks/danske/danske_cert_response_test.rb +52 -0
- data/test/sepa/banks/danske/danske_cert_soap_builder_test.rb +100 -0
- data/test/sepa/banks/danske/danske_generic_soap_builder_test.rb +278 -0
- data/test/sepa/banks/danske/danske_get_bank_cert_test.rb +111 -0
- data/{lib/sepa/danske_testing/keys/danske_encryption.crt → test/sepa/banks/danske/keys/bank_encryption_cert.pem} +0 -0
- data/test/sepa/{danske_test_keys/danskeroot.pem → banks/danske/keys/bank_root_cert.pem} +1 -1
- data/test/sepa/banks/danske/keys/bank_signing_cert.pem +24 -0
- data/test/sepa/banks/danske/keys/danske_encryption.crt +24 -0
- data/test/sepa/banks/danske/keys/enc_private_key.pem +27 -0
- data/test/sepa/{danske_test_keys → banks/danske/keys}/encryption_pkcs.csr +0 -0
- data/test/sepa/banks/danske/keys/own_enc_cert.pem +21 -0
- data/test/sepa/banks/danske/keys/own_signing_cert.pem +22 -0
- data/test/sepa/{danske_test_keys → banks/danske/keys}/signing_key.pem +0 -0
- data/test/sepa/{danske_test_keys → banks/danske/keys}/signing_pkcs.csr +0 -0
- data/test/sepa/banks/danske/keys/signing_private_key.pem +27 -0
- data/test/sepa/banks/danske/responses/create_cert.xml +38 -0
- data/test/sepa/banks/danske/responses/get_bank_cert.xml +37 -0
- data/{lib/sepa/nordea_testing → test/sepa/banks/nordea}/keys/nordea.crt +0 -4
- data/test/sepa/{nordea_test_keys → banks/nordea/keys}/nordea.key +0 -3
- data/test/sepa/{nordea_test_keys → banks/nordea/keys}/root_cert.cer +0 -0
- data/test/sepa/{nordea_test_keys → banks/nordea/keys}/testcert.csr +0 -0
- data/test/sepa/banks/nordea/nordea_application_request_test.rb +252 -0
- data/test/sepa/{application_response_test.rb → banks/nordea/nordea_application_response_test.rb} +40 -46
- data/test/sepa/banks/nordea/nordea_cert_application_request_test.rb +72 -0
- data/test/sepa/banks/nordea/nordea_cert_request_soap_builder_test.rb +65 -0
- data/test/sepa/banks/nordea/nordea_generic_soap_builder_test.rb +280 -0
- data/test/sepa/banks/nordea/nordea_response_test.rb +116 -0
- data/test/sepa/banks/nordea/responses/df_ktl.xml +45 -0
- data/test/sepa/{test_files/test_responses/df.xml → banks/nordea/responses/df_tito.xml} +1 -1
- data/test/sepa/{test_files/test_responses → banks/nordea/responses}/dfl.xml +0 -0
- data/test/sepa/banks/nordea/responses/gbc.xml +15 -0
- data/test/sepa/banks/nordea/responses/gc.xml +49 -0
- data/test/sepa/{test_files/test_responses → banks/nordea/responses}/gui.xml +0 -0
- data/test/sepa/{test_files/test_responses → banks/nordea/responses}/uf.xml +0 -0
- data/test/sepa/client_test.rb +156 -302
- data/test/sepa/fixtures.rb +214 -0
- data/test/sepa/sepa_test.rb +3 -13
- data/test/sepa/test_files/{invalid.wsdl → invalid_wsdl.wsdl} +0 -0
- data/test/test_helper.rb +29 -3
- metadata +140 -116
- data/lib/danske_get_bank_certificate_test.rb +0 -15
- data/lib/sepa/custom_exceptions.rb +0 -2
- data/lib/sepa/filedescriptor.rb +0 -7
- data/lib/sepa/filetypeservice.rb +0 -6
- data/lib/sepa/nordea_testing/keys/CSR.csr +0 -0
- data/lib/sepa/nordea_testing/keys/nordea.key +0 -19
- data/lib/sepa/nordea_testing/response/content_053.xml +0 -998
- data/lib/sepa/nordea_testing/response/content_054.xml +0 -1
- data/lib/sepa/nordea_testing/response/download_file_response.xml +0 -14
- data/lib/sepa/nordea_testing/response/download_filelist_response.xml +0 -14
- data/lib/sepa/nordea_testing/response/get_user_info_response.xml +0 -14
- data/lib/sepa/nordea_testing/response/upload_file_response.xml +0 -14
- data/lib/sepa/payload.rb +0 -109
- data/lib/sepa/payment.rb +0 -97
- data/lib/sepa/sender_verifier.rb +0 -15
- data/lib/sepa/signature.rb +0 -7
- data/lib/sepa/soap_danske.rb +0 -47
- data/lib/sepa/soap_nordea.rb +0 -68
- data/lib/sepa/transaction.rb +0 -178
- data/lib/sepa/userfiletype.rb +0 -16
- data/lib/sepa/xml_parser.rb +0 -291
- data/lib/sepa_client_testing_mika.rb +0 -32
- data/lib/sepa_client_testing_tiere.rb +0 -257
- data/test/sepa/application_request_test.rb +0 -423
- data/test/sepa/cert_application_request_test.rb +0 -99
- data/test/sepa/nordea_cert_request_soap_builder_test.rb +0 -112
- data/test/sepa/nordea_generic_soap_builder_test.rb +0 -427
- data/test/sepa/nordea_test_keys/nordea.crt +0 -27
- data/test/sepa/payload_test.rb +0 -297
- data/test/sepa/payment_test.rb +0 -198
- data/test/sepa/response_test.rb +0 -269
- data/test/sepa/transaction_test.rb +0 -362
- data/test/sepa/user_file_type_test.rb +0 -21
- data/test/sepa/xml_parser_test.rb +0 -73
@@ -0,0 +1,334 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Danske Bank (Danske Bank A/S) -->
|
3
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:tns="http://danskebank.dk/PKI/PKIFactoryService/elements" xmlns:xml="http://www.w3.org/XML/1998/namespace" targetNamespace="http://danskebank.dk/PKI/PKIFactoryService/elements" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
4
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
5
|
+
<!--xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="store:///schemas/xmldsig-core-schema.xsd"/-->
|
6
|
+
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml_id.xsd"/>
|
7
|
+
<!-- SHARED TYPES SECTION -->
|
8
|
+
<!-- GENERIC TYPES -->
|
9
|
+
<xs:simpleType name="string10">
|
10
|
+
<xs:restriction base="xs:string">
|
11
|
+
<xs:minLength value="0"/>
|
12
|
+
<xs:maxLength value="10"/>
|
13
|
+
</xs:restriction>
|
14
|
+
</xs:simpleType>
|
15
|
+
<xs:simpleType name="string50">
|
16
|
+
<xs:restriction base="xs:string">
|
17
|
+
<xs:minLength value="0"/>
|
18
|
+
<xs:maxLength value="50"/>
|
19
|
+
</xs:restriction>
|
20
|
+
</xs:simpleType>
|
21
|
+
<xs:simpleType name="RequestIdType">
|
22
|
+
<xs:restriction base="tns:string10"/>
|
23
|
+
</xs:simpleType>
|
24
|
+
<xs:simpleType name="ReturncodeType">
|
25
|
+
<xs:restriction base="tns:string10"/>
|
26
|
+
</xs:simpleType>
|
27
|
+
<xs:simpleType name="ReturnTextType">
|
28
|
+
<xs:restriction base="tns:string50"/>
|
29
|
+
</xs:simpleType>
|
30
|
+
<xs:simpleType name="AdditionalReturnTextType">
|
31
|
+
<xs:restriction base="xs:string">
|
32
|
+
<xs:minLength value="0"/>
|
33
|
+
<xs:maxLength value="1000"/>
|
34
|
+
</xs:restriction>
|
35
|
+
</xs:simpleType>
|
36
|
+
<!-- SPECIFIC TYPES -->
|
37
|
+
<xs:simpleType name="InterfaceVersionType">
|
38
|
+
<xs:restriction base="xs:string">
|
39
|
+
<xs:minLength value="1"/>
|
40
|
+
<xs:maxLength value="10"/>
|
41
|
+
</xs:restriction>
|
42
|
+
</xs:simpleType>
|
43
|
+
<xs:simpleType name="CRLReasonType">
|
44
|
+
<xs:restriction base="xs:integer">
|
45
|
+
<xs:enumeration value="0"/>
|
46
|
+
<xs:enumeration value="1"/>
|
47
|
+
<xs:enumeration value="2"/>
|
48
|
+
<xs:enumeration value="3"/>
|
49
|
+
<xs:enumeration value="4"/>
|
50
|
+
<xs:enumeration value="5"/>
|
51
|
+
<xs:enumeration value="9"/>
|
52
|
+
<!-- Values taken from X.509v3 specification -->
|
53
|
+
</xs:restriction>
|
54
|
+
</xs:simpleType>
|
55
|
+
<xs:simpleType name="CertificateIdType">
|
56
|
+
<xs:restriction base="xs:string">
|
57
|
+
<xs:minLength value="1"/>
|
58
|
+
<xs:maxLength value="64"/>
|
59
|
+
</xs:restriction>
|
60
|
+
</xs:simpleType>
|
61
|
+
<xs:simpleType name="CertificateType">
|
62
|
+
<xs:restriction base="xs:base64Binary">
|
63
|
+
<xs:minLength value="1"/>
|
64
|
+
<xs:maxLength value="10000"/>
|
65
|
+
</xs:restriction>
|
66
|
+
</xs:simpleType>
|
67
|
+
<xs:simpleType name="Pkcs10requestType">
|
68
|
+
<xs:restriction base="xs:base64Binary">
|
69
|
+
<xs:minLength value="1"/>
|
70
|
+
<xs:maxLength value="10000"/>
|
71
|
+
</xs:restriction>
|
72
|
+
</xs:simpleType>
|
73
|
+
<xs:simpleType name="CustomerIdType">
|
74
|
+
<xs:restriction base="xs:string">
|
75
|
+
<xs:minLength value="6"/>
|
76
|
+
<xs:maxLength value="6"/>
|
77
|
+
</xs:restriction>
|
78
|
+
</xs:simpleType>
|
79
|
+
<xs:simpleType name="KeyGeneratorTypeType">
|
80
|
+
<xs:annotation>
|
81
|
+
<xs:documentation>Indicates the machine (hardware or software) used to create the keys in a certificate request. The value 'HSM' indicates that a Hardware Security Module generated the keys, while the value 'software' indicates that the keys were generated in software.</xs:documentation>
|
82
|
+
</xs:annotation>
|
83
|
+
<xs:restriction base="xs:string">
|
84
|
+
<xs:enumeration value="HSM"/>
|
85
|
+
<xs:enumeration value="software"/>
|
86
|
+
</xs:restriction>
|
87
|
+
</xs:simpleType>
|
88
|
+
<xs:simpleType name="EnvironmentType">
|
89
|
+
<xs:restriction base="xs:string">
|
90
|
+
<xs:enumeration value="production"/>
|
91
|
+
<xs:enumeration value="customertest"/>
|
92
|
+
<xs:enumeration value="systemtest"/>
|
93
|
+
<xs:enumeration value="test"/>
|
94
|
+
</xs:restriction>
|
95
|
+
</xs:simpleType>
|
96
|
+
<xs:simpleType name="CertificateTypeType">
|
97
|
+
<xs:restriction base="xs:string">
|
98
|
+
<xs:enumeration value="signing"/>
|
99
|
+
<xs:enumeration value="encryption"/>
|
100
|
+
</xs:restriction>
|
101
|
+
</xs:simpleType>
|
102
|
+
<xs:complexType name="CertificateStatusType">
|
103
|
+
<xs:sequence>
|
104
|
+
<xs:element name="CertificateSerialNo" type="tns:CertificateIdType"/>
|
105
|
+
<xs:element name="CertificateType" type="tns:CertificateTypeType"/>
|
106
|
+
<xs:element name="MatchingCertificateSerialNo" type="tns:CertificateIdType"/>
|
107
|
+
<xs:element name="Status">
|
108
|
+
<xs:complexType>
|
109
|
+
<xs:choice>
|
110
|
+
<xs:element name="good">
|
111
|
+
<xs:complexType>
|
112
|
+
<xs:attribute name="expiryDate" type="xs:dateTime" use="optional"/>
|
113
|
+
</xs:complexType>
|
114
|
+
</xs:element>
|
115
|
+
<xs:element name="expires_soon">
|
116
|
+
<xs:complexType>
|
117
|
+
<xs:attribute name="expiryDate" type="xs:dateTime" use="optional"/>
|
118
|
+
</xs:complexType>
|
119
|
+
</xs:element>
|
120
|
+
<xs:element name="expired">
|
121
|
+
<xs:complexType>
|
122
|
+
<xs:attribute name="expiryDate" type="xs:dateTime" use="optional"/>
|
123
|
+
</xs:complexType>
|
124
|
+
</xs:element>
|
125
|
+
<xs:element name="revoked">
|
126
|
+
<xs:complexType>
|
127
|
+
<xs:attribute name="revocationDate" type="xs:dateTime" use="optional"/>
|
128
|
+
<xs:attribute name="CRLReason" type="tns:CRLReasonType" use="optional"/>
|
129
|
+
</xs:complexType>
|
130
|
+
</xs:element>
|
131
|
+
</xs:choice>
|
132
|
+
</xs:complexType>
|
133
|
+
</xs:element>
|
134
|
+
</xs:sequence>
|
135
|
+
</xs:complexType>
|
136
|
+
<!-- ELEMENTS SECTION -->
|
137
|
+
<xs:element name="CreateCertificateRequest">
|
138
|
+
<xs:annotation>
|
139
|
+
<xs:documentation>Request to create a signing certificate and an encryption certificate for the customer. The customer is identified by an agreement number and a CAID.</xs:documentation>
|
140
|
+
</xs:annotation>
|
141
|
+
<xs:complexType>
|
142
|
+
<xs:sequence>
|
143
|
+
<xs:element name="CustomerId" type="tns:CustomerIdType"/>
|
144
|
+
<xs:element name="KeyGeneratorType" type="tns:KeyGeneratorTypeType"/>
|
145
|
+
<xs:element name="EncryptionCertPKCS10" type="tns:Pkcs10requestType"/>
|
146
|
+
<xs:element name="SigningCertPKCS10" type="tns:Pkcs10requestType"/>
|
147
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
148
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
149
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
150
|
+
<xs:element name="PIN" type="tns:string10"/>
|
151
|
+
</xs:sequence>
|
152
|
+
<xs:attribute ref="xml:id"/>
|
153
|
+
</xs:complexType>
|
154
|
+
</xs:element>
|
155
|
+
<xs:element name="CreateCertificateResponse">
|
156
|
+
<xs:annotation>
|
157
|
+
<xs:documentation>Response to a CreateCertificateRequest.</xs:documentation>
|
158
|
+
</xs:annotation>
|
159
|
+
<xs:complexType>
|
160
|
+
<xs:sequence>
|
161
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
162
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
163
|
+
<xs:element name="EncryptionCert" type="tns:CertificateType"/>
|
164
|
+
<xs:element name="SigningCert" type="tns:CertificateType"/>
|
165
|
+
<xs:element name="CACert" type="tns:CertificateType"/>
|
166
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
167
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
168
|
+
<!-- Enveloped signature, signing the CreateCertificateResponse element -->
|
169
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
170
|
+
</xs:sequence>
|
171
|
+
<xs:attribute ref="xml:id"/>
|
172
|
+
</xs:complexType>
|
173
|
+
</xs:element>
|
174
|
+
<xs:element name="RenewCertificateRequest">
|
175
|
+
<xs:annotation>
|
176
|
+
<xs:documentation>Request to renew a signing certificate and an encryption certificate for the customer. The customer is identified by an agreement number and a name. The request is signed with the customers old signing certificate.</xs:documentation>
|
177
|
+
</xs:annotation>
|
178
|
+
<xs:complexType>
|
179
|
+
<xs:sequence>
|
180
|
+
<xs:element name="CustomerId" type="tns:CustomerIdType"/>
|
181
|
+
<xs:element name="KeyGeneratorType" type="tns:KeyGeneratorTypeType"/>
|
182
|
+
<xs:element name="EncryptionCertPKCS10" type="tns:Pkcs10requestType"/>
|
183
|
+
<xs:element name="SigningCertPKCS10" type="tns:Pkcs10requestType"/>
|
184
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
185
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
186
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
187
|
+
<!-- Enveloped signature, signing the RenewCertificateRequest element. The signature should be based on the old signing cert -->
|
188
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
189
|
+
</xs:sequence>
|
190
|
+
<xs:attribute ref="xml:id"/>
|
191
|
+
</xs:complexType>
|
192
|
+
</xs:element>
|
193
|
+
<xs:element name="RenewCertificateResponse">
|
194
|
+
<xs:annotation>
|
195
|
+
<xs:documentation>Response to a RenewCertificateRequest.</xs:documentation>
|
196
|
+
</xs:annotation>
|
197
|
+
<xs:complexType>
|
198
|
+
<xs:sequence>
|
199
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
200
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
201
|
+
<xs:element name="EncryptionCert" type="tns:CertificateType"/>
|
202
|
+
<xs:element name="SigningCert" type="tns:CertificateType"/>
|
203
|
+
<xs:element name="CACert" type="tns:CertificateType"/>
|
204
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
205
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
206
|
+
<!-- Enveloped signature, signing the RenewCertificateResponse element. -->
|
207
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
208
|
+
</xs:sequence>
|
209
|
+
<xs:attribute ref="xml:id"/>
|
210
|
+
</xs:complexType>
|
211
|
+
</xs:element>
|
212
|
+
<xs:element name="RevokeCertificateRequest">
|
213
|
+
<xs:complexType>
|
214
|
+
<xs:sequence>
|
215
|
+
<xs:element name="KeyGeneratorType" type="tns:KeyGeneratorTypeType"/>
|
216
|
+
<xs:element name="CustomerId" type="tns:CustomerIdType"/>
|
217
|
+
<xs:choice>
|
218
|
+
<xs:element name="RevokeAll">
|
219
|
+
<xs:complexType>
|
220
|
+
<xs:sequence>
|
221
|
+
<xs:element name="ExceptCertificateSerialNo" minOccurs="0" maxOccurs="10"/>
|
222
|
+
</xs:sequence>
|
223
|
+
</xs:complexType>
|
224
|
+
</xs:element>
|
225
|
+
<xs:element name="CertificateSerialNo" type="tns:CertificateIdType" maxOccurs="10"/>
|
226
|
+
</xs:choice>
|
227
|
+
<xs:element name="CRLReason" type="tns:CRLReasonType" minOccurs="0"/>
|
228
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
229
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
230
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
231
|
+
<!-- Enveloped signature, signing the RevokeCertificateRequest element-->
|
232
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
233
|
+
</xs:sequence>
|
234
|
+
<xs:attribute ref="xml:id"/>
|
235
|
+
</xs:complexType>
|
236
|
+
</xs:element>
|
237
|
+
<xs:element name="RevokeCertificateResponse">
|
238
|
+
<xs:complexType>
|
239
|
+
<xs:sequence>
|
240
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
241
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
242
|
+
<xs:element name="CertificateSerialNo" type="tns:CertificateIdType" maxOccurs="unbounded"/>
|
243
|
+
<xs:element name="RevocationTime" type="xs:dateTime"/>
|
244
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
245
|
+
<xs:element name="Environment" type="tns:EnvironmentType" minOccurs="0"/>
|
246
|
+
<!-- Enveloped signature, signing the RevokeCertificateResponse element-->
|
247
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
248
|
+
</xs:sequence>
|
249
|
+
<xs:attribute ref="xml:id"/>
|
250
|
+
</xs:complexType>
|
251
|
+
</xs:element>
|
252
|
+
<xs:element name="CertificateStatusRequest">
|
253
|
+
<xs:complexType>
|
254
|
+
<xs:sequence>
|
255
|
+
<xs:element name="KeyGeneratorType" type="tns:KeyGeneratorTypeType"/>
|
256
|
+
<xs:element name="CertificateSerialNo" type="tns:CertificateIdType" maxOccurs="10"/>
|
257
|
+
<xs:element name="CustomerId" type="tns:CustomerIdType"/>
|
258
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
259
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
260
|
+
<!-- Enveloped signature, signing the CertificateStatusRequest element-->
|
261
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
262
|
+
</xs:sequence>
|
263
|
+
<xs:attribute ref="xml:id"/>
|
264
|
+
</xs:complexType>
|
265
|
+
</xs:element>
|
266
|
+
<xs:element name="CertificateStatusResponse">
|
267
|
+
<xs:complexType>
|
268
|
+
<xs:sequence>
|
269
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
270
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
271
|
+
<xs:element name="CertificateStatus" type="tns:CertificateStatusType" maxOccurs="10"/>
|
272
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
273
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
274
|
+
<!-- Enveloped signature, signing the CertificateStatusResponse element-->
|
275
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
276
|
+
</xs:sequence>
|
277
|
+
<xs:attribute ref="xml:id"/>
|
278
|
+
</xs:complexType>
|
279
|
+
</xs:element>
|
280
|
+
<xs:element name="GetOwnCertificateListRequest">
|
281
|
+
<xs:complexType>
|
282
|
+
<xs:sequence>
|
283
|
+
<xs:element name="KeyGeneratorType" type="tns:KeyGeneratorTypeType"/>
|
284
|
+
<xs:element name="CustomerId" type="tns:CustomerIdType"/>
|
285
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
286
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
287
|
+
<!-- Enveloped signature, signing the GetCertificateListRequest element-->
|
288
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
289
|
+
</xs:sequence>
|
290
|
+
<xs:attribute ref="xml:id"/>
|
291
|
+
</xs:complexType>
|
292
|
+
</xs:element>
|
293
|
+
<xs:element name="GetOwnCertificateListResponse">
|
294
|
+
<xs:complexType>
|
295
|
+
<xs:sequence>
|
296
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
297
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
298
|
+
<xs:element name="CertificateStatus" type="tns:CertificateStatusType" minOccurs="0" maxOccurs="unbounded"/>
|
299
|
+
<!-- Enveloped signature, signing the GetCertificateListResponse element-->
|
300
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
301
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
302
|
+
</xs:sequence>
|
303
|
+
<xs:attribute ref="xml:id"/>
|
304
|
+
</xs:complexType>
|
305
|
+
</xs:element>
|
306
|
+
<xs:element name="GetBankCertificateRequest">
|
307
|
+
<xs:complexType>
|
308
|
+
<xs:sequence>
|
309
|
+
<xs:element name="BankRootCertificateSerialNo" type="tns:CertificateIdType"/>
|
310
|
+
<xs:element name="Timestamp" type="xs:dateTime"/>
|
311
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
312
|
+
</xs:sequence>
|
313
|
+
<xs:attribute ref="xml:id"/>
|
314
|
+
</xs:complexType>
|
315
|
+
</xs:element>
|
316
|
+
<xs:element name="GetBankCertificateResponse">
|
317
|
+
<xs:annotation>
|
318
|
+
<xs:documentation>Response to a GetBankCertificate request. Contains the relevant bank certificates.</xs:documentation>
|
319
|
+
</xs:annotation>
|
320
|
+
<xs:complexType>
|
321
|
+
<xs:sequence>
|
322
|
+
<xs:element name="ReturnCode" type="tns:ReturncodeType"/>
|
323
|
+
<xs:element name="ReturnText" type="tns:ReturnTextType"/>
|
324
|
+
<xs:element name="BankEncryptionCert" type="tns:CertificateType"/>
|
325
|
+
<xs:element name="BankSigningCert" type="tns:CertificateType"/>
|
326
|
+
<xs:element name="BankRootCert" type="tns:CertificateType"/>
|
327
|
+
<xs:element name="RequestId" type="tns:RequestIdType"/>
|
328
|
+
<!-- Enveloped signature, signing the GetBankCertificateResponse element-->
|
329
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
330
|
+
</xs:sequence>
|
331
|
+
<xs:attribute ref="xml:id"/>
|
332
|
+
</xs:complexType>
|
333
|
+
</xs:element>
|
334
|
+
</xs:schema>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<!--
|
3
|
+
Verbatim from http://www.w3.org/TR/2005/REC-xml-id-20050909/ section D.2
|
4
|
+
|
5
|
+
$Id: xmlid.xsd,v 1.1 2006/06/18 16:56:30 G. Ken Holman Exp $
|
6
|
+
-->
|
7
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/XML/1998/namespace">
|
8
|
+
<xs:attribute name="id" type="xs:ID"/>
|
9
|
+
</xs:schema>
|
@@ -1,10 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<tns:CreateCertificateRequest xmlns:xe="http://www.w3.org/2001/04/xmlenc#"
|
3
|
+
xmlns:xd="http://www.w3.org/2000/09/xmldsig#"
|
4
|
+
xmlns:tns="http://danskebank.dk/PKI/PKIFactoryService/elements"
|
5
|
+
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
6
|
+
xmlns:pkif="http://danskebank.dk/PKI/PKIFactoryService">
|
7
|
+
<tns:CustomerId></tns:CustomerId>
|
8
|
+
<tns:KeyGeneratorType></tns:KeyGeneratorType>
|
9
|
+
<tns:EncryptionCertPKCS10></tns:EncryptionCertPKCS10>
|
10
|
+
<tns:SigningCertPKCS10></tns:SigningCertPKCS10>
|
11
|
+
<tns:Timestamp></tns:Timestamp>
|
12
|
+
<tns:RequestId></tns:RequestId>
|
13
|
+
<tns:Environment></tns:Environment>
|
14
|
+
<tns:PIN></tns:PIN>
|
15
|
+
</tns:CreateCertificateRequest>
|
@@ -1,10 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:pkif="http://danskebank.dk/PKI/PKIFactoryService"
|
4
|
+
xmlns:elem="http://danskebank.dk/PKI/PKIFactoryService/elements">
|
5
|
+
<soapenv:Header/>
|
6
|
+
<soapenv:Body>
|
7
|
+
<elem:GetBankCertificateRequest
|
8
|
+
xmlns:elem="http://danskebank.dk/PKI/PKIFactoryService/elements">
|
9
|
+
<elem:BankRootCertificateSerialNo></elem:BankRootCertificateSerialNo>
|
10
|
+
<elem:Timestamp></elem:Timestamp>
|
11
|
+
<elem:RequestId></elem:RequestId>
|
12
|
+
</elem:GetBankCertificateRequest>
|
13
|
+
</soapenv:Body>
|
10
14
|
</soapenv:Envelope>
|
@@ -1,32 +1,34 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
1
2
|
<ApplicationRequest xmlns="http://bxd.fi/xmldata/">
|
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
|
-
</dsig:
|
3
|
+
<CustomerId></CustomerId>
|
4
|
+
<Command></Command>
|
5
|
+
<Timestamp></Timestamp>
|
6
|
+
<Status></Status>
|
7
|
+
<Environment></Environment>
|
8
|
+
<FileReferences>
|
9
|
+
<FileReference></FileReference>
|
10
|
+
</FileReferences>
|
11
|
+
<TargetId></TargetId>
|
12
|
+
<SoftwareId></SoftwareId>
|
13
|
+
<FileType></FileType>
|
14
|
+
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
|
15
|
+
<dsig:SignedInfo>
|
16
|
+
<dsig:CanonicalizationMethod
|
17
|
+
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
|
18
|
+
<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
|
19
|
+
<dsig:Reference URI="">
|
20
|
+
<dsig:Transforms>
|
21
|
+
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
22
|
+
</dsig:Transforms>
|
23
|
+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
24
|
+
<dsig:DigestValue></dsig:DigestValue>
|
25
|
+
</dsig:Reference>
|
26
|
+
</dsig:SignedInfo>
|
27
|
+
<dsig:SignatureValue></dsig:SignatureValue>
|
28
|
+
<dsig:KeyInfo>
|
29
|
+
<dsig:X509Data>
|
30
|
+
<dsig:X509Certificate></dsig:X509Certificate>
|
31
|
+
</dsig:X509Data>
|
32
|
+
</dsig:KeyInfo>
|
33
|
+
</dsig:Signature>
|
32
34
|
</ApplicationRequest>
|
@@ -1,29 +1,31 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
1
2
|
<ApplicationRequest xmlns="http://bxd.fi/xmldata/">
|
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
|
-
</dsig:
|
3
|
+
<CustomerId></CustomerId>
|
4
|
+
<Command></Command>
|
5
|
+
<Timestamp></Timestamp>
|
6
|
+
<Status></Status>
|
7
|
+
<Environment></Environment>
|
8
|
+
<TargetId></TargetId>
|
9
|
+
<SoftwareId></SoftwareId>
|
10
|
+
<FileType></FileType>
|
11
|
+
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
|
12
|
+
<dsig:SignedInfo>
|
13
|
+
<dsig:CanonicalizationMethod
|
14
|
+
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
|
15
|
+
<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
|
16
|
+
<dsig:Reference URI="">
|
17
|
+
<dsig:Transforms>
|
18
|
+
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
19
|
+
</dsig:Transforms>
|
20
|
+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
21
|
+
<dsig:DigestValue></dsig:DigestValue>
|
22
|
+
</dsig:Reference>
|
23
|
+
</dsig:SignedInfo>
|
24
|
+
<dsig:SignatureValue></dsig:SignatureValue>
|
25
|
+
<dsig:KeyInfo>
|
26
|
+
<dsig:X509Data>
|
27
|
+
<dsig:X509Certificate></dsig:X509Certificate>
|
28
|
+
</dsig:X509Data>
|
29
|
+
</dsig:KeyInfo>
|
30
|
+
</dsig:Signature>
|
29
31
|
</ApplicationRequest>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xenc:EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
|
3
|
+
xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"
|
4
|
+
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
|
5
|
+
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
|
6
|
+
<dsig:KeyInfo>
|
7
|
+
<xenc:EncryptedKey Recipient="name:DanskeBankCryptCERT">
|
8
|
+
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/>
|
9
|
+
<dsig:KeyInfo>
|
10
|
+
<dsig:X509Data>
|
11
|
+
<dsig:X509Certificate></dsig:X509Certificate>
|
12
|
+
</dsig:X509Data>
|
13
|
+
</dsig:KeyInfo>
|
14
|
+
<xenc:CipherData>
|
15
|
+
<xenc:CipherValue></xenc:CipherValue>
|
16
|
+
</xenc:CipherData>
|
17
|
+
</xenc:EncryptedKey>
|
18
|
+
</dsig:KeyInfo>
|
19
|
+
<xenc:CipherData>
|
20
|
+
<xenc:CipherValue></xenc:CipherValue>
|
21
|
+
</xenc:CipherData>
|
22
|
+
</xenc:EncryptedData>
|
@@ -1,10 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
1
2
|
<CertApplicationRequest xmlns="http://filetransfer.nordea.com/xmldata/">
|
2
|
-
<CustomerId></CustomerId>
|
3
|
-
<Timestamp></Timestamp>
|
4
|
-
<Environment></Environment>
|
5
|
-
<SoftwareId></SoftwareId>
|
6
|
-
<Command></Command>
|
7
|
-
<Service></Service>
|
8
|
-
<Content></Content>
|
9
|
-
<HMAC></HMAC>
|
3
|
+
<CustomerId></CustomerId>
|
4
|
+
<Timestamp></Timestamp>
|
5
|
+
<Environment></Environment>
|
6
|
+
<SoftwareId></SoftwareId>
|
7
|
+
<Command></Command>
|
8
|
+
<Service></Service>
|
9
|
+
<Content></Content>
|
10
|
+
<HMAC></HMAC>
|
10
11
|
</CertApplicationRequest>
|
@@ -1,26 +1,28 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
1
2
|
<ApplicationRequest xmlns="http://bxd.fi/xmldata/">
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
</dsig:
|
3
|
+
<CustomerId></CustomerId>
|
4
|
+
<Command></Command>
|
5
|
+
<Timestamp></Timestamp>
|
6
|
+
<Environment></Environment>
|
7
|
+
<SoftwareId></SoftwareId>
|
8
|
+
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
|
9
|
+
<dsig:SignedInfo>
|
10
|
+
<dsig:CanonicalizationMethod
|
11
|
+
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/>
|
12
|
+
<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
|
13
|
+
<dsig:Reference URI="">
|
14
|
+
<dsig:Transforms>
|
15
|
+
<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
16
|
+
</dsig:Transforms>
|
17
|
+
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
|
18
|
+
<dsig:DigestValue></dsig:DigestValue>
|
19
|
+
</dsig:Reference>
|
20
|
+
</dsig:SignedInfo>
|
21
|
+
<dsig:SignatureValue></dsig:SignatureValue>
|
22
|
+
<dsig:KeyInfo>
|
23
|
+
<dsig:X509Data>
|
24
|
+
<dsig:X509Certificate></dsig:X509Certificate>
|
25
|
+
</dsig:X509Data>
|
26
|
+
</dsig:KeyInfo>
|
27
|
+
</dsig:Signature>
|
26
28
|
</ApplicationRequest>
|