Discuss this help topic in SecureBlackbox Forum
Deal with typical CAdES validation problems
Note that while referring to signature validation problems, this article also applies some signature creation problems. Most signature creation activities are essentially the same as validation ones and involve one or more certificate chain validation runs. Chain validation issues are most common CAdES-related problems. Hence, this article will be useful for those validating CAdES signatures, updating them (e.g., archiving), or creating signatures from scratch.
SecureBlackbox offers a dedicated component, TElCAdESSignatureProcessor capable of creating, updating and validating CAdES signatures. Its signature creation methods behave differently from those devoted to validation. Methods such as CreateXXX() (e.g., CreateXL()) and UpgradeToXXX() (e.g., UpgradeToXLBase()) throw exceptions if something goes wrong. The Validate() method dumps all internal exceptions and comes up with a well-defined validation result (Valid, Invalid or Incomplete).
If you came across a validation issue when creating/updating the signature, please start with inspecting the exception message carefully to get a hint about possible failure reasons. Three reasons are most common:
Validation operations typically fail due to the following reasons:
Chain validation is a complicated area full of pitfalls, it is impossible to cover all reasons for validation failure in a short article. Please feel free to contact our customer support, and we will do our best to help you solve your problem.