Acrobat 9 Family of Products
Security Feature User Guide
Example 5.12 Alternate certificate URL seed value
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
var mySubjectCert = security.importFromFile("Certificate",
"/C/Temp/nebwhifflesnit_DER.cer");
f.signatureSetSeedValue(
{
certspec: {
subject: [mySubjectCert],
url: "https://aardvark.corp.example.com/",
}
} )
5.10.5 Restricting Signing to a Roaming ID
Fields can be required to be signed with roaming IDs by specifying the
properties. By providing the roaming ID server URL and the ASSP protocol as arguments, only roaming IDs
associated with the specified server will appear in the signing dialog's digital ID drop-down list when a
user attempts to sign the field.
To require signing only with a roaming ID:
1. Create a signature field with an intuitive name and tooltip.
2. Create the JavaScript that gets the field object and uses the seed value method
3. Specify the roaming ID server URL.
4. Specify
5. Run the JavaScript, save the document, and test the field.
Example 5.13 Roaming ID seed value
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
f.signatureSetSeedValue(
{
certspec: {
url: "https://myroamingIDserver.arcot.com:9777",
urlType: "ASSP",
}
} )
5.11 Custom Workflows and Beyond
Advanced document and workflow customization is beyond the scope of this document. However, keep in
mind that Acrobat's security APIs allow users many opportunities for customization. Document developers
as the URL type.
ASSP
Controlling Signing with Seed Values
Restricting Signing to a Roaming ID
and
certspec url
urlType
(Example
5.13).
86