Overview

Packages

  • exceptions
  • messages
  • operations
  • PHP
  • service
  • types

Classes

  • PartnerAPIError
  • PartnerAPIOperation
  • PartnerAPIOperationAddEmailVerification
  • PartnerAPIOperationAddSanVerification
  • PartnerAPIOperationCancelOrder
  • PartnerAPIOperationGetCertificate
  • PartnerAPIOperationGetEmailVerification
  • PartnerAPIOperationGetExpiringCertificates
  • PartnerAPIOperationGetModifiedOrders
  • PartnerAPIOperationGetOrderByOrderID
  • PartnerAPIOperationGetOrdersByDateRange
  • PartnerAPIOperationGetOrderState
  • PartnerAPIOperationGetProductList
  • PartnerAPIOperationGetSanVerificationState
  • PartnerAPIOperationModifySNICertificate
  • PartnerAPIOperationOrderSNICertificate
  • PartnerAPIOperationPerformSanVerification
  • PartnerAPIOperationQuickOrder
  • PartnerAPIOperationReissueCertificate
  • PartnerAPIOperationRenewCertificate
  • PartnerAPIOperationRevokeCertificate
  • PartnerAPIOperationValidateOrderParameters
  • PartnerAPIOperationVerifyOrder
  • Overview
  • Package
  • Class
  • Tree
  1: <?php
  2: /**
  3:  * Partner API Library
  4:  * 
  5:  * @copyright Copyright (c) 2020 Asseco Data Systems SA
  6:  * @license license.txt
  7:  */
  8: 
  9: /**
 10:  * This class is for converting error codes to error descriptiions.
 11:  * 
 12:  * It is intended for internal use by the library rather than by a user.
 13:  * 
 14:  * @package operations
 15:  */
 16: class PartnerAPIError {
 17:     
 18:     /**
 19:      * A set of status descriptions.
 20:      * 
 21:      * @var array
 22:      */
 23:     protected $texts_status = array(
 24:         'en' => array(
 25:             1 => 'Error occurred during processing',
 26:             2 => 'Authentication data in requestHeader/authToken element are incorrect.'
 27:         ),
 28:         'pl' => array(
 29:             1 => 'Wystąpił ogólny błąd podczas przetwarzania zamówienia. Należy skontaktować się z CERTUM w celu zdiagnozowania problemu.',
 30:             3 => 'Dane autoryzacyjne w elemencie requestHeader/authToken nie są poprawne.'
 31:         )
 32:     );
 33:     
 34:     /**
 35:      * A set of error descriptions.
 36:      * 
 37:      * @var array
 38:      */
 39:     protected $texts_error = array(
 40:         'en' => array(
 41:             1000 => 'CSR key length is too short.',
 42:             1001 => 'Public key algorithm from CSR is not supported.',
 43:             1002 => 'Element orderParameters/CSR not fund or empty.',
 44:             1006 => 'The productCode element contains the code of the discontinued product.',
 45:             1007 => 'Element quickOrder/SANEntries not found.',
 46:             1008 => 'Element quickOrder/SANEntries/SANEntry/DNSName has wrong domain name.',
 47:             1009 => 'Element quickOrder/requestorInfo not found.',
 48:             1010 => 'Element quickOrder/orderParameters not found.',
 49:             1011 => 'Element quickOrder/orderParameters/orderId not found.',
 50:             1012 => 'Order ID is already taken.',
 51:             1013 => 'Wrong order ID.',
 52:             1014 => 'Element quickOrder/orderParameters/productCode not found.',
 53:             1015 => 'Attribute CommonName not found.',
 54:             1016 => 'Attribute Organization not found.',
 55:             1019 => 'Attribute State from CSR-a not found.',
 56:             1020 => 'Attribute Country not found.',
 57:             1021 => 'Attribute EmailAddress not found.',
 58:             1022 => 'Email address has errors.',
 59:             1023 => 'Valu of orderParameters/customer element cannot be the same as requestHeader/authToken/username element.',
 60:             1024 => 'Attribute CommonName has to be encoded as UTF8String.',
 61:             1025 => 'Attribute EmailAddress has to be encoded as IA5String.',
 62:             1026 => 'Attribute Country has to be encoded as PrintableString.',
 63:             1027 => 'Attribute State has to be encoded as UTF8String.',
 64:             1028 => 'Attribute Locality has to be encoded as UTF8String.',
 65:             1029 => 'Attribute OrganizationUnit has to be encoded as UTF8String.',
 66:             1030 => 'Attribute Organization has to be encoded as UTF8String.',
 67:             1031 => 'Attribute CommonName has to be encoded as PrintableString.',
 68:             1032 => 'Public key from CSR has already been used.',
 69:             1033 => 'Order ID does not exist.',
 70:             1037 => 'Address e-mail in element approverEmail has errors.',
 71:             1038 => 'Element quickOrder/approvers/Approver/approverEmail not found.',
 72:             1040 => 'Element quickOrder/approvers/Approver/approverMethod not found.',
 73:             1042 => 'Domain verification method not supported.',
 74:             1043 => 'Order ID contains characters that are not allowed: "&\'<>.',
 75:             1044 => 'Certificate date is “from the past”.',
 76:             1045 => 'Domain in CommonName is not present in SANEntries.',
 77:             1046 => 'Only one domain in SANEntries element may contain asterix "*" in domain name.',
 78:             1048 => 'Element taxIdentificationNumber not found or has incorrect value.',
 79:             1049 => 'Cannot read public key from CSR.',
 80:             1053 => 'Element requestorInfo/email not found.',
 81:             1054 => 'Element requestorInfo/firstName not found.',
 82:             1055 => 'Element requestorInfo/lastName not found.',
 83:             1059 => 'Attribute Country not found.',
 84:             1060 => 'Email address from requestorInfo/e-mail element is incorrect.',
 85:             1063 => 'Public key from CSR is blacklisted.',
 86:             1065 => 'Value from requestorInfo/lastName element exceeded 255 characters.',
 87:             1066 => 'Value from requestorInfo/phone element exceeded 32 characters.',
 88:             1069 => 'The certificate validity date provided in the shortenedValidityPeriod element exceeds the certificate validity period for the requested product.',
 89:             1070 => 'Element organizationInfo/validityPeriod/notBefore not found.',
 90:             1071 => 'Element organizationInfo/validityPeriod/notAfter not found.',
 91:             1072 => 'Value from requestorInfo/firstName element exceeded 255 characters.',
 92:             1075 => 'Partner is not allowed to order this product.',
 93:             1076 => 'Element customer not found or empty.',
 94:             1077 => 'Value from customer element exceeded 64 characters.',
 95:             1078 => 'CSR in orderParameters/CSR element is incorrect.',
 96:             1079 => 'Value from orderId element exceeded 50 characters.',
 97:             1080 => 'Value from productCode element exceeded 3 characters.',
 98:             1081 => 'Value from requestorInfo/email element exceeded 255 characters.',
 99:             1083 => 'Value from taxIdentificationNumber element exceeded 32 characters.',
100:             1084 => 'Value from requestHeader/authToken/userName element exceeded 255 characters.',
101:             1085 => 'Value from SANEntries/SANEntry/DNSName element exceeded the number of characters allowed.',
102:             1087 => 'Value from approverEmail element exceeded 255 characters.',
103:             1088 => 'Value from orderParameters/language element exceeded 2 characters.',
104:             1089 => 'Value from orderParameters/userAgent element exceeded 255 characters.',
105:             1090 => 'Value from requestHeader/authToken/password element exceeded 255 characters.',
106:             1092 => 'Attribute JoISoPN not found.',
107:             1093 => 'Attribute JoISoCN not found.',
108:             1094 => 'Attribute JoILN not found.',
109:             1095 => 'Attribute SerialNumber not found.',
110:             1096 => 'Attribute JoISoCN exceeded 2 characters.',
111:             1097 => 'Attribute JoISoPN exceeded 128 characters.',
112:             1098 => 'Attribute JoILN exceeded 128 characters.',
113:             1099 => 'Attribute JoISoCN contains unsupported country code.',
114:             1100 => 'Attribute SerialNumber exceeded 64 characters.',
115:             1101 => 'Attribute CommonName exceeded 64 characters.',
116:             1102 => 'Attribute Organization exceeded 255 characters.',
117:             1103 => 'Attribute OrganizationalUnit exceeded 64 characters.',
118:             1104 => 'Attribute Locality exceeded 128 characters.',
119:             1105 => 'Attribute State exceeded 128 characters.',
120:             1106 => 'Attribute EmailAddress exceeded 255 characters.',
121:             1107 => 'Number of domains in SANEntries element exceeded allowed value for product.',
122:             1108 => 'Value in approverEmailPrefix does not match the prefix list.',
123:             1109 => 'Value from orderParameters/validityPeriod/notBefore element is greater than value from orderParameters/validityPeriod/notAfter element.',
124:             1110 => 'Date in fromDate is incorrect.',
125:             1111 => 'Date in toDate is incorrect.',
126:             1113 => 'Order status prevents sending email verification. The order is being processed or has been canceled. Certificate is being issued or is already issued. Verification emails hasn’t been sent.',
127:             1114 => 'All verification messages are still valid. Verification emails hasn’t been sent.',
128:             1115 => 'SANEntries/SANEntry/DNSName Element contains Widlcard domain which is not allowed for selected product.',
129:             1116 => 'CommonName contains Widlcard domain which is not allowed for selected product.',
130:             1117 => 'CommonName doesn’t contain Widlcard domain which is mandatory for selected product.',
131:             1118 => 'SANEntries/SANEntry/DNSName element doesn’t contain Widlcard domain which is mandatory for selected product.',
132:             1119 => 'Country attribute form CSR contains value not allowed for orders issued automatically.',
133:             1120 => 'Organization attribute form CSR contains value not allowed for orders issued automatically.',
134:             1121 => 'OrganizationUnit attribute form CSR contains value not allowed for orders issued automatically.',
135:             1122 => 'Locality attribute form CSR contains value not allowed for orders issued automatically.',
136:             1123 => 'State attribute form CSR contains value not allowed for orders issued automatically.',
137:             1124 => 'CommonName attribute form CSR contains value not allowed for orders issued automatically.',
138:             1125 => 'EmailAddress attribute form CSR contains value not allowed for orders issued automatically.',
139:             1126 => 'SerialNumber attribute has to be UTF8String encoded.',
140:             1127 => 'JoILN attribute has to be UTF8String encoded.',
141:             1128 => 'JoISoCN attribute has to be PrintableString encoded.',
142:             1129 => 'JoISoPN attribute has to be UTF8String encoded.',
143:             1131 => 'Element revokeCertificate/RevokeCertificateParameters not found.',
144:             1132 => 'Element revokeCertificate/RevokeCertificateParameters/serialNumber not found.',
145:             1133 => 'No certificate at given serial number.',
146:             1134 => 'Value in revokeCertificate/RevokeCertificateParameters/serialNumber element exceeded 64 characters.',
147:             1135 => 'Incorrect value in revokeCertificate/RevokeCertificateParameters/revocationReason.',
148:             1136 => 'To this order there is a certificate that is valid or will be valid. To cancel an order please revoke the certificate first.',
149:             1137 => 'Certficate to this order Has expired. Order cancel is not possible.',
150:             1138 => 'Request cannot be proceded. Please contact CERTUM.',
151:             1139 => 'It is impossible to cancel an order due to its status. Please try again later. If problem repeats please contact CERTUM.',
152:             1140 => 'Date in keyCompromitationDate element has to be YYYY-MM-DD.',
153:             1141 => 'Date in keyCompromitationDate element Has to be between certificate valid from date and current date.',
154:             1142 => 'Value of revokeCertificate/RevokeCertificateParameters/note element exceeded 250 characters.',
155:             1143 => 'Cannot revoke the certificate because certificate is during revocation process.',
156:             1144 => 'Cannot revoke the certificate because it has expired.',
157:             1145 => 'Cannot revoke the certificate because it has already been revoked.',
158:             1146 => 'Element revokeCertificate/RevokeCertificateParameters/serialNumber has to be HEX.',
159:             1147 => 'Element approvers/Approver for SANEntries/SANEntry/DNSName element not found.',
160:             1148 => 'Cannot place an order with private IP address.',
161:             1150 => 'Key length in CSR is too long.',
162:             1151 => 'Order has already been cancelled.',
163:             1152 => 'Element quickOrder/approvers/Approver/approverMethod not found.',
164:             1153 => 'Page number has to be from range [1 - 100].',
165:             1154 => 'Too many records were returned from the query.',
166:             1155 => 'Page not fund.',
167:             1156 => 'customer filed in orderParameters contains disallowed characters: "&\'<>.',
168:             1157 => 'quickOrder/SANEntries/SANEntry/DNSName element contains gTLD.',
169:             1159 => 'Certificate not found.',
170:             1160 => 'Certificate serial number is missing.',
171:             1161 => 'Serial number exceeded 64 characters.',
172:             1162 => 'Required parameters are missing (serial number or order identifier).',
173:             1163 => 'Request contains parameters that cannot occur simultaneously (certificate serial number and order identifier).',
174:             1164 => 'Certificate cannot be identified properly. Provide certificate serial number OR certificate in PEM form.',
175:             1165 => 'Certificate format is incorrect (certificate should be in PEM form).',
176:             1166 => 'Provided product code cannot be use as a renewal code.',
177:             1167 => 'Profile of the original certificate and renewal profile mismatch.',
178:             1168 => 'CN mismatch.',
179:             1169 => 'Customer mismatch.',
180:             1170 => 'Certificate issued from different account.',
181:             1172 => 'Request contains additional elements. Please verify request with documentation.',
182:             1173 => 'Provided data are equal to one provided Please use sendNotification to once again send verification emails.',
183:             1176 => 'Order status prevents sending domain verification. The order is being processed or has been canceled.Certificate is already issued. Required rgani is not possible.',
184:             1181 => 'Product code is incorrect for certificate issuance.',
185:             1182 => 'Code element not found.',
186:             1183 => 'Value in verifyDomain/code element exceeded 255 characters.',
187:             1184 => 'Verification code has expired.',
188:             1186 => 'Verification code is incorrect.',
189:             1191 => 'Validity period exceeds maximum validity period for chosen product.',
190:             1194 => 'orderSNICertificate/orderSNIParameters/CSR element not fund or empty.',
191:             1195 => 'orderSNICertificate/orderSNIParameters/CSR element doesn’t contain correct CSR.',
192:             1196 => 'Value from orderSNICertificate/orderSNIParameters/language element exceeded 2 characters.',
193:             1197 => 'orderSNICertificate/orderSNIParameters element not found.',
194:             1198 => 'orderSNICertificate/serialNumbers element not found.',
195:             1199 => 'At least one orderSNICertificate/serialNumbers/serialNumber element is required.',
196:             2000 => 'orderSNICertificate/serialNumbers/serialNumber cannot be empty.',
197:             2001 => 'Value in orderSNICertificate/serialNumbers/serialNumber element exceeded 64 characters.',
198:             2002 => 'orderSNICertificate/serialNumbers/serialNumber element has to be In HEX form.',
199:             2003 => 'Given certificate expired or was revoked.',
200:             2004 => 'One SNI certificate cannot contain another SNI Certificate.',
201:             2005 => 'None of provided certificate contain domain names.',
202:             2006 => 'orderSNICertificate/requestorInfo element not found.',
203:             2010 => 'orderSNICertificate/requestorInfo/email element not found.',
204:             2011 => 'orderSNICertificate/requestorInfo/firstName element not found.',
205:             2012 => 'orderSNICertificate/requestorInfo/lastName element not found.',
206:             2013 => 'orderSNICertificate/requestorInfo/phone element not found.',
207:             2016 => 'e-mail address from orderSNICertificate/requestorInfo/email element is incorrect.',
208:             2020 => 'Value from orderSNICertificate/requestorInfo/lastName element exceeded 255 characters.',
209:             2021 => 'Value from orderSNICertificate/requestorInfo/phone element exceeded 255 characters.',
210:             2024 => 'Value from orderSNICertificate/requestorInfo/firstName element exceeded 255 characters.',
211:             2025 => 'To order SNI Certificate use orderSNICertificate or modifySNICertificate method.',
212:             2026 => 'Value from orderSNICertificate/requestorInfo/email element exceeded 255 characters.',
213:             2027 => 'At least one modifySNICertificate/serialNumber or modifySNICertificate/X509Cert element has to be present.',
214:             2028 => 'modifySNICertificate/serialNumber element cannot be empty.',
215:             2029 => 'Value from modifySNICertificate/serialNumber element exceeded 64 characters.',
216:             2030 => 'modifySNICertificate/serialNumber element has to be In HEX form.',
217:             2031 => 'There is no certificate with provided serial number in modifySNICertificate/serialNumber element.',
218:             2032 => 'Only SNI certificates can be modified.',
219:             2033 => 'Incorrect certificate form in modifySNICertificate/X509Cert element.',
220:             2034 => 'Certificate is missing in modifySNICertificate/X509Cert element.',
221:             2035 => 'At least one modifySNICertificate/addSerialNumbers/serialNumber attribute is required.',
222:             2036 => 'modifySNICertificate/addSerialNumbers/serialNumber cannot be empty',
223:             2037 => 'Value from modifySNICertificate/addSerialNumbers/serialNumber element exceeded 64 characters.',
224:             2038 => 'modifySNICertificate/addSerialNumbers/serialNumber has to be in HEX form.',
225:             2039 => 'At least one modifySNICertificate/removeSerialNumbers/serialNumber attribute is required.',
226:             2040 => 'modifySNICertificate/removeSerialNumbers/serialNumber cannot be empty.',
227:             2041 => 'Value from modifySNICertificate/removeSerialNumbers/serialNumber element exceeded 64 characters.',
228:             2042 => 'modifySNICertificate/removeSerialNumbers/serialNumber has to be in HEX form.',
229:             2043 => 'Cannot and and remove the same certificate at the same time.',
230:             2044 => 'Cannot add certificate. Certificate not found.',
231:             2045 => 'Cannot add SNI certificate to be part of another SNI certificate.',
232:             2046 => 'Cannot add certificate that already is a part of SNI certificate.',
233:             2047 => 'Cannot remove certificate that is NOT a part of SNI certificate.',
234:             2048 => 'Resultant certificate contains no domains.',
235:             2049 => 'verifyOrderParameters/note not found or empty.',
236:             2050 => 'Value from verifyOrderParameters/note element exceeded 227 characters.',
237:             2051 => 'Incorrect value in CommonName field.',
238:             2052 => 'getExpiringCertificates/validityDaysLeft element not found or has incorrect value.',
239:             2053 => 'cancelParameters element not found.',
240:             2054 => 'changeApprovers/Approver element not found.',
241:             2055 => 'orderID element not found.',
242:             2056 => 'Order status don’t allow to add notes.',
243:             2057 => 'Value from toDate element cannot be emalier then value from fromDate element.',
244:             2058 => 'Attribute Locality or StateOfProvince not found.',
245:             2059 => 'Incorrect value in verificationNotificationEnabled element.',
246:             2061 => 'Incorrect value in renewCertificate/approvers/verificationNotificationEnabled element.',
247:             2063 => 'verifyOrder/verifyOrderParameters/documents/dokument element not found.',
248:             2064 => 'verifyOrder/verifyOrderParameters/documents/document/type element not found.',
249:             2065 => 'verifyOrder/verifyOrderParameters/documents/document/description element not found.',
250:             2066 => 'verifyOrder/verifyOrderParameters/documents/document/files element not found.',
251:             2067 => 'verifyOrder/verifyOrderParameters/documents/document/files/file element not found.',
252:             2068 => 'verifyOrder/verifyOrderParameters/documents/document/files/file/filename element not found.',
253:             2069 => 'verifyOrder/verifyOrderParameters/documents/document/files/file/content element not found.',
254:             2070 => 'verifyOrder/verifyOrderParameters/documents/document/files/file/content element should be in base64 form.',
255:             2080 => 'Request size limit has been exceeded.',
256:             2081 => 'fileName element cannot contain following characters: \ / : * ? " < > |',
257:             2082 => 'Value in fileName element has incorrect length. Allowed length are from 3 to 255 characters.',
258:             2083 => 'Incorrect type of document.',
259:             2085 => 'One of file in verifyOrder/verifyOrderParameters/documents/document/files/file element exceeded allowed size limit (30MB).',
260:             2088 => 'Part of domain name in SANEntries/SANEntry/DNSName element exceeded the number of characters allowed.',
261:             2089 => 'Algorithm is not configured.',
262:             2090 => 'There is an invalid value in hashAlgorithm element.',
263:             2091 => 'Invalid value in in element getProductList/HashAlgorithm.',
264:             2093 => 'Certificate date is from past.',
265:             2094 => 'The certificate does not meet the reissue conditions.',
266:             2095 => 'Element SANEntries/SANEntry/DNSName can not be empty.',
267:             2096 => 'Element serialNumber must be a hex string.',
268:             2097 => 'The ReissueCertificate/CSR element is not a valid CSR request.',
269:             2104 => 'The key compromising date may be specified only for the reason of cancellation of Key compromise.',
270:             2109 => 'Invalid key length.',
271:             2121 => 'The value from quickOrder/organizationInfo/verificationPhoneNumber element exceeded the acceptable size of 255 characters.',
272:             2122 => 'Reissue for products on SimplySign are unavailable.',
273:             2124 => 'Unsupported hash algorithm.',
274:             2125 => 'Incorrect signature in CSR.',
275:             2126 => 'Certificate reissue is not possible. Cannot reissue the same certificate again.',
276:             2127 => 'Incorrect value in certificateDetails element.',
277:             2128 => 'Incorrect value in certificateOrder element.',
278:             2129 => 'Incorrect value in orderStatus element.',
279:             2130 => 'Element SANEntries/SANEntry/DNSName contains domain existing already in issued certificate.',
280:             2131 => 'Certification request not found.',
281:             2137 => 'Incorrect value in businessCategory element.',
282:             2138 => 'Attribute businessCategory not found.',
283:             2139 => 'StreetAddress attribute not found.',
284:             2140 => 'Attribute streetAddress (ST) exceeded 64 characters.',
285:             2141 => 'Attribute streetAddress (ST) has to be UTF8String encoded. ',
286:             2142 => 'PostalCode attribute not found.',
287:             2143 => 'Attribute postalCode (P) exceeded 40 characters.',
288:             2144 => 'Attribute postalCode (P) has to be PrintableString.',
289:             2153 => 'Order with given number was not requested via API.',
290:             2154 => 'Incorrect value in postalCode (P) element.',
291:             2155 => 'Incorrect value in Jurisdiction of Incorporation State or Province Name JoISoPN element.',
292:             2156 => 'Incorrect value in stateOrProvinceName (SP).',
293:             2157 => 'Element approverMethod not found.',
294:             2158 => 'Too many elements. Only one approverEmail or approverEmailPrefix can be used.',
295:             2159 => 'Required approverEmailPrefix element not found.',
296:             2160 => 'Required approverEmail element not found.',
297:             2161 => 'VerifyDomain method does not support multidomain requests.',
298:             2162 => 'Element SANApprover not found.',
299:             2163 => 'The method does not support this product.',
300:             2164 => 'SerialNumber attribute is invalid.',
301:             2165 => 'Joiln attribute is invalid.',
302:             2166 => 'Locality attribute is invalid.',
303:             2167 => 'OrganizationUnit attribute is invalid.',
304:             2168 => 'Organization attribute is invalid.',
305:             2169 => 'StreetAddress attribute is invalid.',
306:             2170 => 'The value of Description element exceeded the acceptable size of 1000 characters.',
307:             2171 => 'Verification method not supported for IP address.',
308:             2172 => 'Revocation e-mail is the same as login.',
309:             2173 => 'The value of orderParameters/revocationContactEmail is invalid.',
310:             2175 => 'Attribute UnstructuredName or UnstructuredAddress has not been found.',
311:             2176 => 'Attribute UnstructuredName and UnstructuredAddress cannot be set together.',
312:             2177 => 'Attribute UnstructuredName is not PrintableString.',
313:             2178 => 'Attribute UnstructuredAddress is not PrintableString.',
314:             2179 => 'UnstructuredName attribute exceeded the acceptable size of 64 characters.',
315:             2180 => 'UnstructuredAddress attribute exceeded the acceptable size of 64 characters.',
316:             2181 => 'Attribute UnstructuredName is not valid domain name.',
317:             2182 => 'Attribute UnstructuredAddress is not valid IP address.',
318:             2183 => 'Attribute Description is not UTF8String.',
319:             2184 => 'Description attribute exceeded the acceptable size of 255 characters.',
320:             2185 => 'Date in shortenedValidityPeriod or ValidityPeriod/NotAfter is from the past',
321:             2186 => 'The verification method is not supported for orders with Wildcard domains.',
322:             2187 => 'Deprecated field ValidityPeriod in the request. To shorten the certificate validity period, use shortenedValidityPeriod.',
323:             2188 => 'Reissue request requires re-verification of domains. Due to regulatory changes on verification methods, the existing verifications cannot be reused.'
324:         ),
325:         'pl' => array(
326:             1000 => 'Długość klucza publicznego z CSR-a jest zbyt krótka.',
327:             1001 => 'Algorytm klucza publicznego z CSR-a nie jest obsługiwany.',
328:             1002 => 'Element orderParameters/CSR nie został odnaleziony lub jest pusty.',
329:             1006 => 'Element productCode zawiera kod produktu wycofanego z oferty.',
330:             1007 => 'Element quickOrder/SANEntries nie został odnaleziony.',
331:             1008 => 'Element quickOrder/SANEntries/SANEntry/DNSName zawiera błędną nazwę domeny.',
332:             1009 => 'Element quickOrder/requestorInfo nie został odnaleziony.',
333:             1010 => 'Element quickOrder/orderParameters nie został odnaleziony.',
334:             1011 => 'Element quickOrder/orderParameters/orderId nie został odnaleziony.',
335:             1012 => 'Numer zamówienia jest już zajęty.',
336:             1013 => 'Niepoprawny numer zamówienia.',
337:             1014 => 'Element quickOrder/orderParameters/productCode nie został odnaleziony.',
338:             1015 => 'Atrybut CommonName nie został znaleziony.',
339:             1016 => 'Atrybut Organization nie został znaleziony.',
340:             1019 => 'Atrybut State z CSR-a nie został znaleziony.',
341:             1020 => 'Atrybut Country nie został znaleziony.',
342:             1021 => 'Atrybut EmailAddress nie został znaleziony.',
343:             1022 => 'Atrybut EmailAddress zawiera błędy.',
344:             1023 => 'Wartość element orderParameters/customer nie może być taka sam jak wartość z elementu requestHeader/authToken/userName.',
345:             1024 => 'Atrybut CommonName musi być zakodowany jako UTF8String.',
346:             1025 => 'Atrybut EmailAddress musi być zakodowany jako IA5String.',
347:             1026 => 'Atrybut Country musi być zakodowany jako PrintableString.',
348:             1027 => 'Atrybut State musi być zakodowany jako UTF8String.',
349:             1028 => 'Atrybut Locality musi być zakodowany jako UTF8String.',
350:             1029 => 'Atrybut OrganizationUnit musi być zakodowany jako UTF8String.',
351:             1030 => 'Atrybut Organization musi być zakodowany jako UTF8String.',
352:             1031 => 'Atrybut CommonName musi być zakodowany jako PrintableString.',
353:             1032 => 'Klucz publiczny z CSR-a został już wykorzystany.',
354:             1033 => 'Zamówienie o podanym numerze nie istnieje.',
355:             1037 => 'Adres e-mail w elemencie approverEmail zawiera błędy.',
356:             1038 => 'Element quickOrder/approvers/Approver/approverEmail nie został odnaleziony.',
357:             1040 => 'Element quickOrder/approvers/Approver/approverMethod nie został odnaleziony.',
358:             1042 => 'Metoda weryfikacji domeny nie jest obsługiwana.',
359:             1043 => 'Identyfikator zamówienia zawiera niedozwolone znaki "&\'<>',
360:             1044 => 'Data wydania certyfikatu jest z przeszłości.',
361:             1045 => 'Domena podana w CommonName nie występuje na liście domen w elemencie SANEntries.',
362:             1046 => 'Tylko jedna domena w elemencie SANEntries może zawierać gwiazdkę w nazwie domeny.',
363:             1048 => 'Brakuje elementu taxIdentificationNumber lub element ma niepoprawną wartość.',
364:             1049 => 'Nie można odczytać klucza publicznego z CSR-a.',
365:             1053 => 'Element requestorInfo/email nie został odnaleziony.',
366:             1054 => 'Element requestorInfo/firstName nie został odnaleziony.',
367:             1055 => 'Element requestorInfo/lastName nie został odnaleziony.',
368:             1059 => 'Atrybut Country nie został znaleziony.',
369:             1060 => 'Adres e-mail z elementu requestorInfo/email nie jest poprawny.',
370:             1063 => 'Klucz publiczny z CSR-a znajduje się na czarnej liście.',
371:             1065 => 'Wartość z elementu requestorInfo/lastName przekroczyła dopuszczalny rozmiar 255 znaków.',
372:             1066 => 'Wartość z elementu requestorInfo/phone przekroczyła dopuszczalny rozmiar 32 znaków.',
373:             1069 => 'Data ważności certyfikatu podana w elemencie shortenedValidityPeriod przekracza dopuszczalny czas ważności certyfikatu dla żądanego produktu.',
374:             1070 => 'Brakuje elementu orderParameters/validityPeriod/notBefore.',
375:             1071 => 'Brakuje elementu orderParameters/validityPeriod/notAfter.',
376:             1072 => 'Wartość z elementu requestorInfo/firstName przekroczyła dopuszczalny rozmiar 255 znaków.',
377:             1075 => 'Partner nie ma uprawnień, aby złożyć zamówienia na dany produkt.',
378:             1076 => 'Brakuje elementu customer lub jest on pusty.',
379:             1077 => 'Wartość z elementu customer przekroczyła dopuszczalny rozmiar 64 znaków.',
380:             1078 => 'Element orderParameters/CSR nie jest poprawnym żądaniem CSR.',
381:             1079 => 'Wartość z elementu orderId przekroczyła dopuszczalny rozmiar 50 znaków.',
382:             1080 => 'Wartość z elementu productCode przekroczyła dopuszczalny rozmiar 3 znaków.',
383:             1081 => 'Wartość z elementu requestorInfo/email przekroczyła dopuszczalny rozmiar 255 znaków.',
384:             1083 => 'Wartość z elementu taxIdentificationNumber przekroczyła dopuszczalny rozmiar 32 znaków.',
385:             1084 => 'Wartość z elementu requestHeader/authToken/userName przekroczyła dopuszczalny rozmiar 255 znaków.',
386:             1085 => 'Wartość z elementu SANEntries/SANEntry/DNSName przekroczyła dopuszczalny rozmiar znaków.',
387:             1087 => 'Adres e-mail w elemencie approverEmail przekroczył dopuszczalny rozmiar 255 znaków.',
388:             1088 => 'Wartość z elementu orderParameters/language przekroczyła dopuszczalny rozmiar 2 znaków.',
389:             1089 => 'Wartość z elementu orderParameters/userAgent przekroczyła dopuszczalny rozmiar 255 znaków.',
390:             1090 => 'Wartość z elementu requestHeader/authToken/password przekroczyła dopuszczalny rozmiar 255 znaków.',
391:             1092 => 'Atrybut JoISoPN nie został znaleziony.',
392:             1093 => 'Atrybut JoISoCN nie został znaleziony.',
393:             1094 => 'Atrybut JoILN nie został znaleziony.',
394:             1095 => 'Atrybut SerialNumber nie został znaleziony.',
395:             1096 => 'Wartość atrybutu JoISoCN przekroczyła dopuszczalny rozmiar 2 znaków.',
396:             1097 => 'Wartość atrybutu JoISoPN przekroczyła dopuszczalny rozmiar 128 znaków.',
397:             1098 => 'Wartość atrybutu JoILN przekroczyła dopuszczalny rozmiar 128 znaków.',
398:             1099 => 'Wartość atrybutu JoISoCN zawiera nie obsługiwany kod kraju.',
399:             1100 => 'Wartość atrybutu SerialNumber przekroczyła dopuszczalny rozmiar 64 znaków.',
400:             1101 => 'Wartość atrybutu CommonName przekroczyła dopuszczalny rozmiar 64 znaków.',
401:             1102 => 'Wartość atrybutu Organization przekroczyła dopuszczalny rozmiar 255 znaków.',
402:             1103 => 'Wartość atrybutu OrganizationalUnit przekroczyła dopuszczalny rozmiar 64 znaków.',
403:             1104 => 'Wartość atrybutu Locality przekroczyła dopuszczalny rozmiar 128 znaków.',
404:             1105 => 'Wartość atrybutu State przekroczyła dopuszczalny rozmiar 128 znaków.',
405:             1106 => 'Wartość atrybutu EmailAddress przekroczyła dopuszczalny rozmiar 255 znaków.',
406:             1107 => 'Ilość domen podanych w elemencie SANEntries przekroczyła dopuszczalną ilość domen dla produktu.',
407:             1108 => 'Wartość z elementu approverEmailPrefix nie pasuje do listy prefixów.',
408:             1109 => 'Data podana w elemencie orderParameters/validityPeriod/notBefore jest większa niż data z elementu orderParameters/validityPeriod/notAfter.',
409:             1110 => 'Data podana w elemencie fromDate jest błędna.',
410:             1111 => 'Data podana w elemencie toDate jest błędna.',
411:             1113 => 'Status zamówienia uniemożliwia wysłanie weryfikacji email. Zamówienie jest w trakcie realizacji lub zostało anulowane. Dla podanego zamówienia certyfikat jest w trakcie wydania lub został już wydany. Maile weryfikacyjne nie zostały wysłane.',
412:             1114 => 'Dla podanego zamówienia wszystkie weryfikacje są jeszcze aktualne. Maile weryfikacyjne nie zostały wysłane.',
413:             1115 => 'Element SANEntries/SANEntry/DNSName zawiera domenę typu Wildcard, która nie jest dozwolona dla wybranego produktu.',
414:             1116 => 'CommonName zawiera domenę typu Wildcard, która nie jest dozwolona dla wybranego produktu.',
415:             1117 => 'CommonName nie zawiera domeny typu Wildcard, która jest wymagana dla tego produktu.',
416:             1118 => 'Element SANEntries/SANEntry/DNSName nie zawiera domeny typu Wildcard, która jest wymagana dla tego produktu.',
417:             1119 => 'Wartość atrybutu Country z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
418:             1120 => 'Wartość atrybutu Organization z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
419:             1121 => 'Wartość atrybutu OrganizationUnit z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
420:             1122 => 'Wartość atrybutu Locality z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
421:             1123 => 'Wartość atrybutu State z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
422:             1124 => 'Wartość atrybutu CommonName z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
423:             1125 => 'Wartość atrybutu EmailAddress z CSR jest niezgodna z dopuszczalnymi wartościami dla wniosków wystawianych automatycznie.',
424:             1126 => 'Atrybut SerialNumber musi być zakodowany jako UTF8String.',
425:             1127 => 'Atrybut JoILN musi być zakodowany jako UTF8String.',
426:             1128 => 'Atrybut JoISoCN musi być zakodowany jako PrintableString.',
427:             1129 => 'Atrybut JoISoPN musi być zakodowany jako UTF8String.',
428:             1131 => 'Element revokeCertificate/RevokeCertificateParameters nie został odnaleziony.',
429:             1132 => 'Element revokeCertificate/RevokeCertificateParameters/serialNumber nie został odnaleziony.',
430:             1133 => 'Brak certyfikatu o podanym numerze seryjnym.',
431:             1134 => 'Wartość elementu revokeCertificate/RevokeCertificateParameters/serialNumber przekroczyła dopuszczalny rozmiar 64 znaków.',
432:             1135 => 'Nieprawidłowa wartość elementu revokeCertificate/RevokeCertificateParameters/revocationReason',
433:             1136 => 'Do zamówienia został wydany certyfikat który ma status "ważny" lub dopiero uzyska status "ważny". Aby anulować zamówienie proszę unieważnić certyfikat.',
434:             1137 => 'Certyfikat do podanego numeru zamówienia już wygasł. Anulowanie wniosku nie jest możliwe.',
435:             1138 => 'Operacja nie może być wykonana. Skontaktuj się z CERTUM.',
436:             1139 => 'Status wniosku nie pozwala na jego odrzucenie. Jeśli błąd będzie się powtarzał skontaktuj się z CERTUM.',
437:             1140 => 'Data podana w elemencie keyCompromitationDate musi być w formacie YYYY-MM-DD.',
438:             1141 => 'Data podana w elemencie keyCompromitationDate musi zawierać się w przedziale pomiędzy datą początku ważności certyfikatu, a bieżącą datą.',
439:             1142 => 'Wartość elementu revokeCertificate/RevokeCertificateParameters/note przekroczyła dopuszczalny rozmiar 250 znaków.',
440:             1143 => 'Nie można unieważnić certyfikatu, ponieważ certyfikat jest w trakcie unieważniania.',
441:             1144 => 'Nie można unieważnić certyfikatu, ponieważ certyfikat wygasł.',
442:             1145 => 'Nie można unieważnić certyfikatu, ponieważ certyfikat został już unieważniony.',
443:             1146 => 'Element revokeCertificate/RevokeCertificateParameters/serialNumber musi być w postaci szesnastkowej.',
444:             1147 => 'Brak jednego lub więcej elementów approvers/Approver odpowiadających domenie z SANEntries/SANEntry/DNSName.',
445:             1148 => 'Nie można złożyć wniosku na lokalny adres IP.',
446:             1150 => 'Długość klucza publicznego z CSR-a jest zbyt długa.',
447:             1151 => 'Zamówienie zostało już anulowane.',
448:             1152 => 'Element quickOrder/approvers/Approver/approverMethod nie został odnaleziony.',
449:             1153 => 'Numer strony musi być z zakresu [1 - 100].',
450:             1154 => 'Zapytanie zwróciło zbyt dużą liczbę rekordów.',
451:             1155 => 'Strona z wynikami o podanym numerze nie istnieje.',
452:             1156 => 'Pole customer w orderParameters posiada niedozwolone znaki "&\'<>.',
453:             1157 => 'Element quickOrder/SANEntries/SANEntry/DNSName zawiera publiczną domenę najwyższego poziomu.',
454:             1159 => 'Certyfikat nie został odnaleziony.',
455:             1160 => 'Nie podano numeru seryjnego certyfikatu.',
456:             1161 => 'Numer seryjny certyfikatu jest za długi (przekroczono dopuszczalny rozmiar 64 znaków).',
457:             1162 => 'Wymagane parametry nie zostały podane w żądaniu (numer seryjny certyfikatu lub numer zamówienia).',
458:             1163 => 'W żądaniu podano parametry które nie mogą występować jednocześnie (numer seryjny certyfikatu i numer zamówienia).',
459:             1164 => 'Niepoprawna liczba parametrów identyfikujących certyfikat. Podany powinien być numer seryjny certyfikatu lub certyfikat w postaci PEM.',
460:             1165 => 'Niepoprawny format PEM.',
461:             1166 => 'Podany kod produktu nie jest kodem na odnowienie.',
462:             1167 => 'Profil certyfikatu do odnowienia różni się od profilu certyfikatu odnawianego.',
463:             1168 => 'CN certyfikatu różni się od CN certyfikatu odnawianego.',
464:             1169 => 'Nazwa użytkownika w odnawianym certyfikacie jest inna niż podana.',
465:             1170 => 'Odnawiany certyfikat został wystawiony przez innego partnera.',
466:             1172 => 'Żądanie zawiera nadmiarowe elementy. Należy zweryfikować poprawność żądania z dokumentacją.',
467:             1176 => 'Status zamówienia uniemożliwia wysłanie weryfikacji domeny. Zamówienie jest w trakcie realizacji lub zostało anulowane. Dla podanego zamówienia certyfikat został już wydany. Wprowadzenie zmian nie jest możliwe.',
468:             1181 => 'Podany kod produktu, nie jest kodem na wydanie certyfikatu.',
469:             1182 => 'Element verifyDomain/code nie został znaleziony.',
470:             1183 => 'Wartość z elementu verifyDomain/code przekroczyła dopuszczalny rozmiar 255 znaków.',
471:             1184 => 'Kod weryfikacji domeny już wygasł.',
472:             1186 => 'Kod weryfikacyjny jest niepoprawny.',
473:             1191 => 'Okres ważności przekracza maksymalny okres ważności wybranego produktu.',
474:             1194 => 'Element orderSNICertificate/orderSNIParameters/CSR nie został odnaleziony lub jest pusty.',
475:             1195 => 'Element orderSNICertificate/orderSNIParameters/CSR nie jest poprawnym żądaniem CSR.',
476:             1196 => 'Wartość z elementu orderSNICertificate/orderSNIParameters/language przekroczyła dopuszczalny rozmiar 2 znaków.',
477:             1197 => 'Element orderSNICertificate/orderSNIParameters nie został odnaleziony.',
478:             1198 => 'Element orderSNICertificate/serialNumbers nie został odnaleziony.',
479:             1199 => 'Podanie przynajmniej jednego z atrybutów orderSNICertificate/serialNumbers/serialNumber jest wymagane.',
480:             2000 => 'Element orderSNICertificate/serialNumbers/serialNumber nie może być pusty.',
481:             2001 => 'Wartosc elementu orderSNICertificate/serialNumbers/serialNumber przekroczyła dopuszczalny rozmiar 64 znaków.',
482:             2002 => 'Element orderSNICertificate/serialNumbers/serialNumber musi byc w postaci szesnastkowej.',
483:             2003 => 'Certyfikat o podanym numerze seryjnym wygasł lub został unieważniony.',
484:             2004 => 'Certyfikat SNI nie może zawierać innego cerrtyfikatu SNI.',
485:             2005 => 'Żaden z podanych certyfikatów nie zawiera domen.',
486:             2006 => 'Element orderSNICertificate/requestorInfo nie został odnaleziony.',
487:             2010 => 'Element orderSNICertificate/requestorInfo/email nie został odnaleziony.',
488:             2011 => 'Element orderSNICertificate/requestorInfo/firstName nie został odnaleziony.',
489:             2012 => 'Element orderSNICertificate/requestorInfo/lastName nie został odnaleziony.',
490:             2013 => 'Element orderSNICertificate/requestorInfo/phone nie został odnaleziony.',
491:             2016 => 'Adres e-mail z elementu orderSNICertificate/requestorInfo/email nie jest poprawny.',
492:             2020 => 'Wartość z elementu orderSNICertificate/requestorInfo/lastName przekroczyła dopuszczalny rozmiar 255 znaków.',
493:             2021 => 'Wartość z elementu orderSNICertificate/requestorInfo/phone przekroczyła dopuszczalny rozmiar 255 znaków.',
494:             2024 => 'Wartość z elementu orderSNICertificate/requestorInfo/firstName przekroczyła dopuszczalny rozmiar 255 znaków.',
495:             2025 => 'W celu złożenia zamówienia na produkt SNI Certificate należy użyć metody orderSNICertificate, modifySNICertificate',
496:             2026 => 'Wartość z elementu orderSNICertificate/requestorInfo/email przekroczyła dopuszczalny rozmiar 255 znaków.',
497:             2027 => 'Niepoprawna liczba parametrów identyfikujących certyfikat. Podany powinien być modifySNICertificate/serialNumber lub modifySNICertificate/X509Cert',
498:             2028 => 'Element modifySNICertificate/serialNumber nie może być pusty.',
499:             2029 => 'Wartosc elementu modifySNICertificate/serialNumber przekroczyla dopuszczalny rozmiar 64 znakow.',
500:             2030 => 'Element modifySNICertificate/serialNumber musi byc w postaci szesnastkowej.',
501:             2031 => 'Brak certyfikatu o numerze seryjnym podanym w elemencie modifySNICertificate/serialNumber.',
502:             2032 => 'Modyfikowany certyfikat musi być certyfikatem SNI.',
503:             2033 => 'Niepoprawny format PEM certyfikatu w elemencie modifySNICertificate/X509Cert.',
504:             2034 => 'Brak certyfikatu podanego w elemencie modifySNICertificate/X509Cert.',
505:             2035 => 'Podanie przynajmniej jednego z atrybutów modifySNICertificate/addSerialNumbers/serialNumber jest wymagane.',
506:             2036 => 'Element modifySNICertificate/addSerialNumbers/serialNumber nie może być pusty.',
507:             2037 => 'Wartosc elementu modifySNICertificate/addSerialNumbers/serialNumber przekroczyla dopuszczalny rozmiar 64 znakow.',
508:             2038 => 'Element modifySNICertificate/addSerialNumbers/serialNumber musi byc w postaci szesnastkowej.',
509:             2039 => 'Podanie przynajmniej jednego z atrybutów modifySNICertificate/removeSerialNumbers/serialNumber jest wymagane.',
510:             2040 => 'Element modifySNICertificate/removeSerialNumbers/serialNumber nie może być pusty.',
511:             2041 => 'Wartosc elementu modifySNICertificate/removeSerialNumbers/serialNumber przekroczyla dopuszczalny rozmiar 64 znakow.',
512:             2042 => 'Element modifySNICertificate/removeSerialNumbers/serialNumber musi byc w postaci szesnastkowej.',
513:             2043 => 'Nie można dodawać i usuwać tego samego certyfikatu.',
514:             2044 => 'Nie można dodać certyfikatu. Certyfikat nie został znaleziony.',
515:             2045 => 'Nie można dodać certyfikatu będącego certyfikatem SNI.',
516:             2046 => 'Nie można dodać certyfikatu, który już wchodzi w skład certyfikatu SNI.',
517:             2047 => 'Nie można usunąć certyfikatu, który nie wchodzi w skład certyfikatu SNI.',
518:             2048 => 'Wynikowy certyfikat nie zawiera domen.',
519:             2049 => 'Element verifyOrder/verifyOrderParameters/note nie został znaleziony lub jest pusty.',
520:             2050 => 'Wartość elementu verifyOrderParameters/note przekroczyła dopuszczalny rozmiar 227 znaków.',
521:             2051 => 'Niepoprawna wartość w polu CommonName.',
522:             2052 => 'Element getExpiringCertificates/validityDaysLeft nie został znaleziony lub ma niepoprawną wartość',
523:             2053 => 'Element cancelParameters nie został odnaleziony.',
524:             2054 => 'Element changeApprovers/Approver nie został odnaleziony.',
525:             2055 => 'Element orderID nie został odnaleziony.',
526:             2056 => 'Status zamówienia nie pozwala na dodanie notatki.',
527:             2057 => 'Wartość elementu toDate nie może być wcześniejsza od wartości elementu fromDate.',
528:             2058 => 'Atrybut Locality lub StateOfProvince nie został znaleziony.',
529:             2059 => 'Niepoprawna wartość w elemencie verificationNotificationEnabled',
530:             2061 => 'Niepoprawna wartość w elemencie renewCertificate/approvers/verificationNotificationEnabled',
531:             2063 => 'Element verifyOrder/verifyOrderParameters/documents/document nie został odnaleziony.',
532:             2064 => 'Element verifyOrder/verifyOrderParameters/documents/document/type nie został odnaleziony.',
533:             2065 => 'Element verifyOrder/verifyOrderParameters/documents/document/description nie został odnaleziony.',
534:             2066 => 'Element verifyOrder/verifyOrderParameters/documents/document/files nie został odnaleziony.',
535:             2067 => 'Element verifyOrder/verifyOrderParameters/documents/document/files/file nie został odnaleziony.',
536:             2068 => 'Element verifyOrder/verifyOrderParameters/documents/document/files/file/filename nie został odnaleziony.',
537:             2069 => 'Element verifyOrder/verifyOrderParameters/documents/document/files/file/content nie został odnaleziony.',
538:             2070 => 'Element verifyOrder/verifyOrderParameters/documents/document/files/file/content powinien być w base64.',
539:             2080 => 'Przekroczono dopuszczalny rozmiar dla żądania.',
540:             2081 => 'Element fileName nie może zawierać znaków: \ / : * ? " < > |',
541:             2082 => 'Wartość elementu fileName ma nieprawidłową długość. Dopuszczalna długość: od 3 do 255 znaków.',
542:             2083 => 'Typ dokumentu nie jest obsługiwany.',
543:             2085 => 'Jeden z plików w elemencie verifyOrder/verifyOrderParameters/documents/document/files/file przekroczył dopuszczalny rozmiar (30MB).',
544:             2088 => 'Długość części domeny z elementu SANEntries/SANEntry/DNSName przekroczyła dopuszczalny rozmiar znaków.',
545:             2089 => 'Algorytm nie jest skonfigurowany.',
546:             2090 => 'W elemencie hashAlgorithm znajduje się niepoprawna wartość.',
547:             2091 => 'Niepoprawna wartość w elemencie getProductList/HashAlgorithm.',
548:             2093 => 'Data ważności certyfikatu jest z przeszłości.',
549:             2094 => 'Certyfikat nie spełnia warunków reissue.',
550:             2095 => 'Element SANEntries/SANEntry/DNSName nie może być pusty.',
551:             2096 => 'Element serialNumber musi być w postaci szesnastkowej.',
552:             2097 => 'Element reissueCertificate/CSR nie jest poprawnym żądaniem CSR.',
553:             2104 => 'Data kompromitacji klucza może być podana jedynie dla przyczyny unieważnienia Kompromitacja klucza.',
554:             2109 => 'Niedozwolona długość klucza publicznego.',
555:             2121 => 'Wartość z elementu quickOrder/organizationInfo/verificationPhoneNumber przekroczyła dopuszczalny rozmiar 255 znaków.',
556:             2122 => 'Reissue dla produktów SimplySign jest niedostępny.',
557:             2124 => 'Nieobsługiwana funkcja skrótu.',
558:             2125 => 'CSR zawiera niepoprawny podpis.',
559:             2126 => 'Nie można wydać ponownie certyfikatu reissue dla tego samego certyfikatu.',
560:             2127 => 'Niepoprawna wartość w elemencie certificateDetails.',
561:             2128 => 'Niepoprawna wartość w elemencie orderDetails.',
562:             2129 => 'Niepoprawna wartość w elemencie order Status.',
563:             2130 => 'Element SANEntries/SANEntry/DNSName zawiera domenę istniejącą w wydanym certyfikacie.',
564:             2131 => 'Nie znaleziono zamówienia w bazie.',
565:             2137 => 'Niepoprawna wartość atrybutu businessCategory (BC).',
566:             2138 => 'Nie znaleziono atrybutu businessCategory (BC).',
567:             2139 => 'Atrybut StreetAddress nie został znaleziony.',
568:             2140 => 'Wartość atrybutu streetAddress (ST) przekroczyła 64 znaki.',
569:             2141 => 'Atrybut streetAddress (ST) musi być zakodowany jako UTF8String.',
570:             2142 => 'Atrybut PostalCode nie został znaleziony.',
571:             2143 => 'Wartość atrybutu postalCode (P) przekroczyła 40 znaków.',
572:             2144 => 'Wartość atrybutu postalCode (P) musi być typu PrintableString.',
573:             2153 => 'Zamówienie o podanym numerze nie zostało złożone przez API.',
574:             2154 => 'Niepoprawna wartość atrybutu postalCode (P).',
575:             2155 => 'Niepoprawna wartość atrybutu Jurisdiction of Incorporation State or Province Name (JoISoPN).',
576:             2156 => 'Niepoprawna wartość atrybutu stateOrProvinceName (SP).',
577:             2157 => 'Brakuje elementu approverMethod.',
578:             2158 => 'Zbyt wiele elementów. Można podać tylko jeden approverEmail lub approverEmailPrefix.',
579:             2159 => 'Wymagany element approverEmailPrefix nie został podany',
580:             2160 => 'Wymagany element approverEmail nie został podany.',
581:             2161 => 'VerifyDomain nie obsługuje wniosków multidomenowych.',
582:             2162 => 'Element SANApprover nie został odnaleziony.',
583:             2163 => 'Metoda nie obsługuje podanego typu produktu.',
584:             2164 => 'Atrybut SerialNumber poiada niepoprawną wartość.',
585:             2165 => 'Atrybut Joiln posiada nieproprawną wratość.',
586:             2166 => 'Atrybut Locality posiada niepoprawną wartość.',
587:             2167 => 'Atrybut OrganizationUnit posiada niepoprawną wartość.',
588:             2168 => 'Atrybut Organization posiada niepoprawną wartość',
589:             2169 => 'Atrybut streetAddress posiada niepoprawną wartość.',
590:             2170 => 'Atrybut Description ma nieprawidłową długość. Dopuszczalna długość: do 1000 znaków.',
591:             2171 => 'Metoda weryfikacji nie jest wspierana dla adresu IP.',
592:             2172 => 'E-mail kontaktowy o unieważnieniu jest taki sam jak login.',
593:             2173 => 'Wartość elementu orderParameters/revocationContactEmail jest nieprawidłowa.',
594:             2175 => 'Atrybut UnstructuredName lub UnstructuredAddress nie został znaleziony.',
595:             2176 => 'Atrybut UnstructuredName i UnstructuredAddress nie może występować razem.',
596:             2177 => 'Atrybut UnstructuredName musi być zakodowany jako PrintableString.',
597:             2178 => 'Atrybut UnstructuredAddress musi być zakodowany jako PrintableString.',
598:             2179 => 'Wartość atrybutu UnstructuredName przekroczyła dopuszczalny rozmiar 64 znaków.',
599:             2180 => 'Wartość atrybutu UnstructuredAddress przekroczyła dopuszczalny rozmiar 64 znaków.',
600:             2181 => 'Atrybut UnstructuredName nie jest prawidłową nazwą domeny.',
601:             2182 => 'Atrybut UnstructuredAddress nie jest prawidłowym adresem IP.',
602:             2183 => 'Atrybut Description musi być zakodowany jako UTF8String.',
603:             2184 => 'Wartość atrybutu Description przekroczyła dopuszczalny rozmiar 255 znaków.',
604:             2185 => 'Data podana w shortenedValidityPeriod lub ValidityPeriod/NotAfter jest z przeszłości.',
605:             2186 => 'Metoda weryfikacji nie jest obsługiwana dla dla zamówień zawierających domenę Wildcard.',
606:             2187 => 'W żądaniu podano przestarzałe pole ValidityPeriod. Aby skrócić okres ważności certyfikatu należy użyć shortenedValidityPeriod.',
607:             2188 => 'Wniosek reissue wymaga ponownej weryfikacji domen. W związku ze zmianami w w regulacjach dotyczących metod weryfikacji, istniejące weryfikacje nie mogą być ponownie wykorzystane.'
608:         )
609:     );
610:     
611:     /**
612:      * Returns an array with descriptions of errors that have occured.
613:      * 
614:      * The returned array is an array of arrays containing the following keys:
615:      * code, number, text, where code is a success code, number is a error
616:      * number and text is a description of an error.
617:      * 
618:      * @param string $lang
619:      * @param int $status
620:      * @param array $errors
621:      * @return array
622:      */
623:     public function getText($lang, $status, $errors) {
624:         $texts = array();
625:         if (empty($errors)) {
626:             $t = isset($this->texts_status[$lang][$status]) ? 
627:                     $this->texts_status[$lang][$status] : '';
628:             $texts[] = array(
629:                 'code' => $status,
630:                 'number' => NULL,
631:                 'text' => $t
632:             );
633:         } else {
634:             foreach ($errors as $e) {
635:                 $t = isset($this->texts_error[$lang][$e->errorCode]) ? 
636:                         $this->texts_error[$lang][$e->errorCode] : '';
637:                 $v = empty($e->value) ? '' : ' ['.$e->value.']';
638:                 $texts[] = array(
639:                     'code' => $status,
640:                     'number' => $e->errorCode,
641:                     'text' => $t.$v
642:                 );
643:             }
644:         }
645:         return $texts;
646:     }
647: }
648: 
API documentation generated by ApiGen 2.8.0