We are using web viewer in javascript to open pdf file with digital signature.
When we are going to set setRevocationTimeout , it throwing error.I am using below code.
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
It seems there might be a syntax issue in your code, particularly with how you are calling the setRevocationTimeout function. The error could be due to an incorrect chaining of asynchronous calls or a typo in the method invocation.
Some things you can try:
Ensure that you are calling setRevocationTimeout on an instance of VerificationOptions and not using a dangling period before the function call.
Verify that the PDFNet library is properly initialized and imported in your environment.
Check if setRevocationTimeout is a valid method on the VerificationOptions instance you are working with.
Ensure that you are handling promises correctly, using await only on functions that return promises.