How to Require a Smart Card for Signing a PDF Document
Question details
The user wants to configure a digital signature field in a PDF form to strictly require the use of a smart card and specific security handlers for signing.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A form designer needs to secure a PDF document by ensuring users can only sign it using a physical smart card certificate, preventing unauthorized or local signature methods.
- Observed behavior
- The user needs the correct JavaScript methodology, specifically using the signatureSetSeedValue method, to enforce the smart card restriction on the signature field.
Ensure you have an advanced PDF editing tool that supports document-level or field-level JavaScript execution, and verify that your smart card middleware is properly installed for testing.
Configure the Signature Field using signatureSetSeedValue
Use JavaScript to apply a seed value to the digital signature field, which explicitly restricts the permitted signing methods and security handlers to your smart card provider.
PDF form designers can use the signatureSetSeedValue method to mandate specific certificate issuers or security handlers. By defining the allowed handlers, you restrict users from signing with standard file-based digital IDs, forcing them to use hardware tokens like smart cards.
Because exact syntax depends on the specific smart card middleware being used, you will need to reference the Acrobat Digital Signature Workflow Guide to find the exact security handler name for your organization's smart card.
Open your PDF form in your PDF editor and enter the form creation or editing mode.
Right-click the specific digital signature field you want to restrict and select Properties from the context menu.
Navigate to the Actions or Calculate tab. Choose 'Run a JavaScript' as the action trigger (e.g., on Page Open or field calculation).
Enter the signatureSetSeedValue JavaScript, specifying your smart card's security handler in the 'handlers' array parameter. For example, restricting the 'Filter' or 'SubFilter' to the required smart card token framework.
Save the PDF document. Open it as a standard user and attempt to sign the field to verify that it prompts exclusively for the smart card certificate.

Securely Sign PDF Documents with Certificates in WPS Office
While advanced JavaScript seed value programming can be complex, WPS PDF provides an intuitive, built-in interface for applying secure digital signatures. You can easily select your smart card or hardware token certificates directly from the signing menu without writing custom code.
- 1. Open the PDF in WPS Office: Launch WPS Office and open the PDF document that requires a digital signature.
- 2. Access the Protect Tab: Navigate to the 'Protect' tab on the top ribbon menu and click on the 'Digital Signature' feature.
- 3. Draw the Signature Field: Click and drag your mouse to draw a signature box in the desired location on the document page.
- 4. Select Your Smart Card Certificate: In the Sign Document dialog box, choose your smart card certificate from the 'Sign As' dropdown list (ensure your smart card is inserted), and click 'Sign' to securely lock the document.

Frequently Asked Questions
What is a signature seed value in a PDF?
A seed value is a set of predefined rules or restrictions applied to a digital signature field by the form designer. It dictates what type of certificates, signing methods, or specific Certificate Authorities (CAs) are permitted to sign that specific field.
Why is my smart card not recognized when trying to sign the PDF?
Your smart card may not be recognized if the correct middleware or drivers are not installed on your computer, or if the PDF's security handler settings have been configured to accept a different certificate provider.
Can I mandate a specific certificate issuer for signing my form?
Yes. By using the signatureSetSeedValue method in supported PDF editors, you can specify exactly which Certificate Authorities (CAs) are allowed, automatically rejecting signatures from unauthorized issuers.




