Checking of PAdES contentTimestamp produces exception in step checking for message imprint correctness. Test file here:
keaesz_jelentes_20231203_071509.pdf
Location-CodeTest: Contents/CAdESSignature/content/signedData/signerInfos/signerInfo[1]/signedAttrs/attribute[4]/attrValues/contentTimeStamp[1]-{RunException}
null. java.lang.NullPointerException at java.security.MessageDigest.update(MessageDigest.java:335) at java.security.MessageDigest.digest(MessageDigest.java:410) at edu.upc.ac.pkidata.AbstractTimeStampTokenMssgImpChecker.checkMssgImprint(AbstractTimeStampTokenMssgImpChecker.java:111) at edu.upc.ac.adesconformancechecker.common.commands.CheckIfMssgImpIsAsInSpec.protectedExecute(CheckIfMssgImpIsAsInSpec.java:77) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CaseThis.protectedExecute(CaseThis.java:44) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllTheChildrenDo.protectedExecute(ForAllTheChildrenDo.java:122) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllChildrenNamedAsIndicatedDo.protectedExecute(ForAllChildrenNamedAsIndicatedDo.java:78) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllChildrenNamedAsIndicatedDo.protectedExecute(ForAllChildrenNamedAsIndicatedDo.java:78) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.pades.commands.ExecuteCommandsForCAdESSignature.protectedExecute(ExecuteCommandsForCAdESSignature.java:213) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.basictypes.AdESInFileCChecker.checkSignatures(AdESInFileCChecker.java:105) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.processSigsFiles(PortalAdESCC.java:228) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.proceed(PortalAdESCC.java:204) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.main(PortalAdESCC.java:145)
Checking of PAdES contentTimestamp produces exception in step checking for message imprint correctness. Test file here: keaesz_jelentes_20231203_071509.pdf
Location-CodeTest: Contents/CAdESSignature/content/signedData/signerInfos/signerInfo[1]/signedAttrs/attribute[4]/attrValues/contentTimeStamp[1]-{RunException} null. java.lang.NullPointerException at java.security.MessageDigest.update(MessageDigest.java:335) at java.security.MessageDigest.digest(MessageDigest.java:410) at edu.upc.ac.pkidata.AbstractTimeStampTokenMssgImpChecker.checkMssgImprint(AbstractTimeStampTokenMssgImpChecker.java:111) at edu.upc.ac.adesconformancechecker.common.commands.CheckIfMssgImpIsAsInSpec.protectedExecute(CheckIfMssgImpIsAsInSpec.java:77) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CaseThis.protectedExecute(CaseThis.java:44) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllTheChildrenDo.protectedExecute(ForAllTheChildrenDo.java:122) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllChildrenNamedAsIndicatedDo.protectedExecute(ForAllChildrenNamedAsIndicatedDo.java:78) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ForAllChildrenNamedAsIndicatedDo.protectedExecute(ForAllChildrenNamedAsIndicatedDo.java:78) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.ExecuteCommandsGroup.protectedExecute(ExecuteCommandsGroup.java:66) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.pades.commands.ExecuteCommandsForCAdESSignature.protectedExecute(ExecuteCommandsForCAdESSignature.java:213) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.commands.CursorToChild.protectedExecute(CursorToChild.java:89) at edu.upc.ac.adesconformancechecker.common.basictypes.Command.execute(Command.java:246) at edu.upc.ac.adesconformancechecker.common.basictypes.AdESInFileCChecker.checkSignatures(AdESInFileCChecker.java:105) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.processSigsFiles(PortalAdESCC.java:228) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.proceed(PortalAdESCC.java:204) at edu.upc.ac.adesconformancechecker.run.PortalAdESCC.main(PortalAdESCC.java:145)