Trouble Shooting
Inaccurate Signature Information Retrieval
Before retrieving signature information, it is necessary to call the VerifySignatureWithDocument
method within the CPDFSignature
class. This method refreshes the document's integrity and checks the validity of the certificate. Failure to call this method before retrieving the signature information may result in obtaining outdated or incorrect results.
Failure to Add Certificate to Trust Path
Before calling the AddToTrustedCertificates
method within the CPDFSignatureCertificate
class, you must first set the value of the SignCertTrustedFolder
parameter in the AddToTrustedCertificates
class to your trust path folder. Failure to do so will result in the addition process failing. When you trust a certificate, it is added to the specified path, and the SDK also checks for the existence of certificates in that path to determine their trustworthiness. The trust path folder is not automatically created by the SDK, so you should ensure it exists and is a valid path.