Статус: Участник
Группы: Участники
Зарегистрирован: 07.10.2015(UTC) Сообщений: 17 Откуда: Chelyabinsk Сказал(а) «Спасибо»: 1 раз
|
Здравствуйте. Скачал CP4.0 для iOS, взял npcades-browser демку, открыл в XCode, настроил всё по инструкции. В сборку включил библиотеки для Bluetooth рутокена. Подключил рутокен к iPad 3, токен виден. На токене тестовый ключ. Запускаю npcades-browser на iPad, сборка проходит успешно, открывается приложение на тестовой странице www.cryptopro.ru/sites/d...des/demopage/simple.htmlВ приложении сначала появляется диалоговое окно с вопросом И кнопки "Отмена" и "Ок". Жму "Ок", выпадает сообщение Код:http://www.crypropro.ru
Ошибка при открытии хранилища: undefined is not an object (evaluating 'oStore.Open')
В логах xCode: Код:
acp: file '/private/var/mobile/Containers/Bundle/Application/E7FE31C8-EDE6-4EBC-A576-C8052C43C456/npcades-browser.app/locale' does not exist
2015-11-03 15:27:04.329 npcades-browser[757:165691] Trying to encrypt /var/mobile/Containers/Data/Application/57FA8357-4CA7-4B9D-867E-DE673CDFC61C/Documents/../Documents/cprocsp/keys, /var/mobile/Containers/Data/Application/57FA8357-4CA7-4B9D-867E-DE673CDFC61C/Documents/../Documents/cprocsp/users/stores.
2015-11-03 15:27:04.333 npcades-browser[757:165691] Encryption succeeded.
main_off:0xee558
size:15701056
2015-11-03 15:27:06.354 npcades-browser[757:165691] Application windows are expected to have a root view controller at the end of application launch
2015-11-03 15:27:14.302 npcades-browser[757:165691] request : http://www.cryptopro.ru/sites/default/files/products/cades/demopage/simple.html
2015-11-03 15:27:16.414 npcades-browser[757:165691] request : cpnp-js-call:CreateObject:1:%5B%22CAdESCOM.About%22%5D
2015-11-03 15:27:23.101 npcades-browser[757:165691] [null,"{_CPNP_handle:0,get Version() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"Version\"]);\n},\nset Version(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"Version\", val]);\n},\nProviderVersion: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"ProviderVersion\", array]);\n},\nCSPVersion: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"CSPVersion\", array]);\n},\nget MajorVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"MajorVersion\"]);\n},\nset MajorVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"MajorVersion\", val]);\n},\nget MinorVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"MinorVersion\"]);\n},\nset MinorVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"MinorVersion\", val]);\n},\nget BuildVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"BuildVersion\"]);\n},\nset BuildVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"BuildVersion\", val]);\n},\nget PluginVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"PluginVersion\"]);\n},\nset PluginVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"PluginVersion\", val]);\n},\n};"]
2015-11-03 15:27:23.159 npcades-browser[757:165691] request : cpnp-js-call:CreateObject:2:%5B%22CAdESCOM.About%22%5D
2015-11-03 15:27:23.166 npcades-browser[757:165691] [null,"{_CPNP_handle:1,get Version() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"Version\"]);\n},\nset Version(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"Version\", val]);\n},\nProviderVersion: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"ProviderVersion\", array]);\n},\nCSPVersion: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"CSPVersion\", array]);\n},\nget MajorVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"MajorVersion\"]);\n},\nset MajorVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"MajorVersion\", val]);\n},\nget MinorVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"MinorVersion\"]);\n},\nset MinorVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"MinorVersion\", val]);\n},\nget BuildVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"BuildVersion\"]);\n},\nset BuildVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"BuildVersion\", val]);\n},\nget PluginVersion() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"PluginVersion\"]);\n},\nset PluginVersion(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"PluginVersion\", val]);\n},\n};"]
2015-11-03 15:27:23.202 npcades-browser[757:165691] request : cpnp-js-call:CreateObject:3:%5B%22CAdESCOM.Store%22%5D
2015-11-03 15:27:23.211 npcades-browser[757:165691] [null,"{_CPNP_handle:2,Close: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"Close\", array]);\n},\nget Certificates() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"Certificates\"]);\n},\nset Certificates(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"Certificates\", val]);\n},\nget Location() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"Location\"]);\n},\nset Location(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"Location\", val]);\n},\nget Name() {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_GetProperty\",\n[this._CPNP_handle, \"Name\"]);\n},\nset Name(val) {\n return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_SetProperty\",\n[this._CPNP_handle, \"Name\", val]);\n},\nOpen: function() {\nvar array = Array.prototype.slice.call(arguments, 0); return call_ru_cryptopro_npcades_10_native_bridge(\"NPN_Invoke\",[this._CPNP_handle, \"Open\", array]);\n},\n};"]
a
Не пойму, что еще нужно, что я сделал не так? Спасибо. Отредактировано пользователем 3 ноября 2015 г. 13:54:38(UTC)
| Причина: Не указана
|