Содержимое лога в консоли Eclipce:
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.DigestParamsSpec_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.DigestParamsSpec_2012_256_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.DigestParamsSpec_2012_512_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_class_defaultDH=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_2012_256_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_2012_256_dh_class_defaultDH=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_2012_512_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.AlgIdSpec_2012_512_dh_class_defaultDH=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpecDH_class_defaultDH=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpecDH_2012_256_class_defaultDH=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpec_class_defaultECC=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpec_2012_256_class_defaultECC=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.CryptParamsSpec_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.CryptParamsSpec_2012_256_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.CryptParamsSpec_2012_512_class_default=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getBoolean
CONFIG: System Preference Node: /ru/CryptoPro/JCP/tools/Control.StrengthenedKeyUsageControl=true
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref getBoolean
CONFIG: User Preference Node: /ru/CryptoPro/JCP/Random.CertifiedRandom_class_RequirePhysical=false
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester <init>
FINE: SelfTester ctor.
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref get
CONFIG: System Preference Node: /ru/CryptoPro/JCP/tools.SelfTester_jar_names=ru.CryptoPro.JCP.Install.JCPInstaller;ru.CryptoPro.Crypto.JCryptoPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: SelfTester parameter: ru.CryptoPro.JCP.Install.JCPInstaller;ru.CryptoPro.Crypto.JCryptoPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: Get class url for name: ru.CryptoPro.JCP.Install.JCPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCP.jar added to SelfTester
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: Get class url for name: ru.CryptoPro.Crypto.JCryptoPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCryptoP.jar added to SelfTester
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: SelfTester parameter: ru.CryptoPro.JCP.Install.JCPInstaller;ru.CryptoPro.Crypto.JCryptoPInstaller;ru.CryptoPro.JCSP.JCSPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: Get class url for name: ru.CryptoPro.JCSP.JCSPInstaller
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester b
FINE: IGNORE THROWN
java.lang.ClassNotFoundException: ru.CryptoPro.JCSP.JCSPInstaller
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at ru.CryptoPro.JCP.tools.SelfTester.b(Unknown Source)
at ru.CryptoPro.JCP.tools.SelfTester.a(Unknown Source)
at ru.CryptoPro.JCP.tools.cl_34.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at ru.CryptoPro.JCP.tools.SelfTester.f(Unknown Source)
at ru.CryptoPro.JCP.tools.SelfTester.<init>(Unknown Source)
at ru.CryptoPro.JCP.tools.SelfTester.<clinit>(Unknown Source)
at ru.CryptoPro.JCP.Random.CertifiedRandom.b(Unknown Source)
at ru.CryptoPro.JCP.Random.CertifiedRandom.a(Unknown Source)
at ru.CryptoPro.JCP.Random.CertifiedRandom.<init>(Unknown Source)
at ru.CryptoPro.JCP.Random.CPRandom.<init>(Unknown Source)
at ru.CryptoPro.JCP.Random.CPRandom.<clinit>(Unknown Source)
at ru.CryptoPro.JCP.Key.SecretKeySpec.<init>(Unknown Source)
at ru.CryptoPro.JCP.KeyStore.TrustStore.a(Unknown Source)
at ru.CryptoPro.JCP.KeyStore.TrustStore.b(Unknown Source)
at ru.CryptoPro.JCP.KeyStore.TrustStore.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
at TestProvider_17_12_2021.verifyPDFSignature(TestProvider_17_12_2021.java:29)
at TestProvider_17_12_2021.main(TestProvider_17_12_2021.java:119)
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref get
CONFIG: System Preference Node: /ru/CryptoPro/JCP/tools.SelfTester_external_classNames=null
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester <init>
FINE: SelfTester ctor OK.
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester d
FINE: Start tester thread
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.tools.SelfTester run
FINE: SelfTester run.
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.pref.JCPPref get
CONFIG: System Preference Node: /ru/CryptoPro/JCP/tools.UnixMutex_class_pathToLocks=${java.io.tmpdir}\${user.name}
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: ENTRY
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: RETURN
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: ENTRY
дек 20, 2021 10:53:17 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: RETURN
===== NominationRequest[0].#subform[0].SignatureGPN[0] =====
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.SelfTester checkClass
FINE: [main] class: ru.CryptoPro.JCP.Sign.cl_0, URL: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCP.jar
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.SelfTester a
FINE: [main] check URL: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCP.jar
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.TestVerifyClassJar run
FINE: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCP.jar is being checked...
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: ENTRY
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.Key.GostKeyFactory engineGeneratePublic
FINER: RETURN
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (000) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (001) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (002) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (003) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (004) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (005) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (006) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (007) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (008) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_5 <init>
FINE: Reader name is null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.KeyStore.Rutoken.cl_6 <init>
FINE: RutokenStore (009) loaded. Store name null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpecDH2012_512_class_defaultECC2012=null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.pref.JCPPref getOID
CONFIG: System Preference Node: /ru/CryptoPro/JCP/params.EllipticParamsSpec2012_512_class_defaultECC2012=null
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.TestVerifyClassJar run
FINE: file:/C:/Program%20Files/Java/jre1.8.0_311/lib/ext/JCP.jar has been successfully checked.
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.Starter check
INFO: Loading JCP 2.0.40035
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.tools.Starter check
INFO: JCP loaded.
дек 20, 2021 10:53:18 AM ru.CryptoPro.JCP.Sign.cl_0 engineInitVerify
FINER: ENTRY
java.lang.NullPointerException
at ru.CryptoPro.JCP.Sign.cl_0.engineInitVerify(Unknown Source)
at java.security.Signature.initVerify(Unknown Source)
at com.itextpdf.text.pdf.security.PdfPKCS7.initSignature(PdfPKCS7.java:701)
at com.itextpdf.text.pdf.security.PdfPKCS7.<init>(PdfPKCS7.java:459)
at com.itextpdf.text.pdf.AcroFields.verifySignature(AcroFields.java:2371)
at TestProvider_17_12_2021.verifyPDFSignature(TestProvider_17_12_2021.java:60)
at TestProvider_17_12_2021.main(TestProvider_17_12_2021.java:119)
Signature is Bad