Enabling PIV/CAC based signatures through DocuSign within Appian

This article provides information about utilizing the PIV/CAC signature functionality within a DocuSign integration. If you are unfamiliar with DocuSign integration, it is recommended that you read the Integrating with DocuSign article for information about the key concepts, connectivity with Appian and implementation guidance.

Getting Started

DocuSign Service Account Settings: (Note: You will need to ask someone from DocuSign's support team to enable these settings)

  • Enable "PIV/CAC signatures" 
  • Enable "signature details within in the signature manifestation".
    • Note: This is needed If you want to display signature details in the signature block (i.e. date signed, CAC information, etc.).

Envelope Creation JSON

When sending the JSON to create an envelope within DocuSign for signature, the recipientSignatureProviders block must be included in order to denote PIV/CAC signatures.

  • The recipientSignatureProviders code block will be located within recipients->signers code blocks
    • The parameter:value within the recipientSignatureProviders code block will equal: signatureProviderName: "UniversalSignaturePen_DS_Smartcard_TSP"
  • If you would like the "date signed" to be added to the document upon signature, you will need to add the dateSignedTabs code block within the tabs section
    • Within this code block, you will specify where the signature will show on the page.

Below is an example of the DocuSign envelope creation JSON:

Note: Best practice is to create constants for parameters but were kept in plain text for this example.

User Experience

Note: if implemented correctly, the entire user experience with DocuSign will take place within Appian. 

1. When a user is ready to sign a document, they must insert the PIV/CAC card into the computer.  They may be presented with an option to chose which associated certificate they would like to use.

2. After clicking Continue, the user will then be required to confirm the certificate they chose (if there were multiple present)

3. Once the user confirms their identity and finishes the signature, they will then be presented with a box to enter their individual PIN.

4. The document will be officially signed once the PIN has been entered.

Browser Requirements

Chrome: 

  • DocusSign Chrome Extension
  • DocuSign PKI: This must be installed if one needs to digitally sign documents using the signer held certificates.

Internet Explorer:

  • Enable ActiveX Controls: Under the ActiveX Controls and Plug-ins heading, click to enable Initialize and script ActiveX Controls not marked as safe for scripting

Firefox:

  • DocuSign Firefox Extension
  • DocuSign PKI: This must be installed if one needs to digitally sign documents using the signer held certificates.