PDF Security & Access Issues

How to Require a Smart Card for Signing a PDF Document

Steven ParkerSteven Parker Nov 5, 2026 869 views

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.

How to Require a Smart Card for Signing a PDF Document
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.
Before you start

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.

Solution 1Recommended

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.

1
Enter Form Editing Mode

Open your PDF form in your PDF editor and enter the form creation or editing mode.

2
Access Signature Field Properties

Right-click the specific digital signature field you want to restrict and select Properties from the context menu.

3
Add Custom JavaScript

Navigate to the Actions or Calculate tab. Choose 'Run a JavaScript' as the action trigger (e.g., on Page Open or field calculation).

4
Input the Seed Value Code

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.

5
Save and Test

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.

Configure the Signature Field using signatureSetSeedValue
Middleware Dependency: Support for smart card restrictions heavily depends on the user's installed middleware and certificate provider. Always test the configured form on a machine equipped with the actual physical smart card.

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. 1. Open the PDF in WPS Office: Launch WPS Office and open the PDF document that requires a digital signature.
  2. 2. Access the Protect Tab: Navigate to the 'Protect' tab on the top ribbon menu and click on the 'Digital Signature' feature.
  3. 3. Draw the Signature Field: Click and drag your mouse to draw a signature box in the desired location on the document page.
  4. 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.
Seamlessly apply digital signatures using physical smart cards or local certificatesFully compatible with standard PDF digital signature security protocolsLightweight and user-friendly alternative to complex PDF form editorsIncludes comprehensive tools for document encryption and permission management
microsoft office alternative - wps office

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.