Добрый день.
На основе примеров пытаюсь подписать файл тестовым сертификатом, но выскакивает ошибка, в чем может быть проблема и как посмотреть подробнее эту ошибку?
Skrinshot 08-12-2020 142455.jpg
(24kb) загружен 16 раз(а). Skrinshot 08-12-2020 142329.jpg
(30kb) загружен 13 раз(а).лог
12-09 08:00:01.884 1412 3771 W audio_hw_generic: Not supplying enough data to HAL, expected position 11042714 , only wrote 11042640
12-09 08:00:01.887 7827 7827 I JCP : ru.CryptoPro.JCP.pref.JCPPref.getBoolean :: System Preference Node: /ru/CryptoPro/JCP/Util :: keytool_compat_class_default = false
12-09 08:00:01.887 7827 7827 I JCP : ru.CryptoPro.JCP.pref.JCPPref.getBoolean :: System Preference Node: /ru/CryptoPro/JCP/Util :: use_cert_stub_class_default = false
12-09 08:00:01.894 7827 7827 I JCP : ru.CryptoPro.JCP.pref.JCPPref.getBoolean :: System Preference Node: /ru/CryptoPro/JCP/Key :: InternalGostPrivateKey_class_default = true
12-09 08:00:01.901 7827 7853 D ACSP : getStoreObjectList() LOADING stIntermediate...
12-09 08:00:01.901 7827 7853 D ACSP : getStoreObjectList() CURRENT TYPE: stIntermediate, BEGINNING...
12-09 08:00:01.901 7827 7853 D ACSP : getStoreObjectList() ENUMERATING TYPE: stIntermediate...
12-09 08:00:01.901 7827 7853 D ACSP : getStoreObjectList() CURRENT TYPE: stIntermediate, ENUMERATING COMPLETED.
12-09 08:00:01.901 7827 7853 D ACSP : getStoreObjectList() LOADING stIntermediate COMPLETED.
12-09 08:00:01.907 7827 7853 I JCP : ru.CryptoPro.CAdES.tools.CAdESUtility.initJCPAlgorithms :: Replacement of the BouncyCastle GOST algorithms.
12-09 08:00:01.908 1430 1430 D SurfaceFlinger: duplicate layer name: changing ru.cprocsp.ACSP/ru.cprocsp.CSPNavigationMenu.management.signature.SignatureActivity to ru.cprocsp.ACSP/ru.cprocsp.CSPNavigationMenu.management.signature.SignatureActivity#1
12-09 08:00:01.912 1420 1420 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 2252800
12-09 08:00:01.917 1420 1420 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 2252800
12-09 08:00:01.921 1420 1463 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 2252800
12-09 08:00:01.932 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:01.964 7827 7847 I chatty : uid=10083(ru.cprocsp.ACSP) RenderThread identical 1 line
12-09 08:00:01.977 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:02.145 7827 7853 E ACSP : Root certificate: serial 3528bc3d, subject O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, issuer O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, not before Wed Dec 09 07:50:35 GMT+00:00 2020, not after Thu Dec 09 07:50:35 GMT+00:00 2021 is untrusted
12-09 08:00:02.145 7827 7853 E ACSP : Root certificate: serial 3528bc3d, subject O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, issuer O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, not before Wed Dec 09 07:50:35 GMT+00:00 2020, not after Thu Dec 09 07:50:35 GMT+00:00 2021 is untrusted; error codes: [32] 'Root certificate is in the certificate chain but not in cacerts',
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.CAdES.cl_1.addSigner(Unknown Source:714)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.CAdES.cl_1.addSigner(Unknown Source:22)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.cprocsp.CSPNavigationMenu.management.signature.SignatureActivity$SignatureTask.doInBackground(SignatureActivity.java:878)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.cprocsp.CSPNavigationMenu.management.signature.SignatureActivity$SignatureTask.doInBackground(SignatureActivity.java:739)
12-09 08:00:02.145 7827 7853 E ACSP : at android.os.AsyncTask$2.call(AsyncTask.java:333)
12-09 08:00:02.145 7827 7853 E ACSP : at java.util.concurrent.FutureTask.run(FutureTask.java:266)
12-09 08:00:02.145 7827 7853 E ACSP : at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
12-09 08:00:02.145 7827 7853 E ACSP : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
12-09 08:00:02.145 7827 7853 E ACSP : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
12-09 08:00:02.145 7827 7853 E ACSP : at java.lang.Thread.run(Thread.java:764)
12-09 08:00:02.145 7827 7853 E ACSP : Caused by: Root certificate: serial 3528bc3d, subject O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, issuer O=orgon, L=gorod, CN=test, OU=podr, EMAILADDRESS=email, ST=ru, C=RU, not before Wed Dec 09 07:50:35 GMT+00:00 2020, not after Thu Dec 09 07:50:35 GMT+00:00 2021 is untrusted; error codes: [32] 'Root certificate is in the certificate chain but not in cacerts',
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.AdES.certificate.CertificateChainBuilderImpl.validateIfRootCertificateInTrustStoreAndAddToChain(Unknown Source:183)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.AdES.certificate.CertificateChainBuilderImpl.build(Unknown Source:422)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.AdES.certificate.CertificateChainBuilderImpl.build(Unknown Source:98)
12-09 08:00:02.145 7827 7853 E ACSP : at ru.CryptoPro.CAdES.cl_1.addSigner(Unknown Source:266)
12-09 08:00:02.145 7827 7853 E ACSP : ... 9 more
12-09 08:00:02.147 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:02.172 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:02.184 1420 1463 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 331776
12-09 08:00:02.187 1420 1463 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 331776
12-09 08:00:02.190 1420 1420 D gralloc_ranchu: gralloc_alloc: Creating ashmem region of size 331776
12-09 08:00:02.209 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:04.162 1619 1619 W WindowManager: removeWindowToken: Attempted to remove non-existing token: android.os.Binder@bddf884
12-09 08:00:02.664 7827 7847 D EGL_emulation: eglMakeCurrent: 0x9ef05480: ver 2 0 (tinfo 0x9ef03180)
12-09 08:00:05.094 1412 1543 W audio_hw_generic: Not supplying enough data to HAL, expected position 11348917 , only wrote 11196720
Отредактировано пользователем 9 декабря 2020 г. 11:01:31(UTC)
| Причина: Не указана