Specifying A Url When A Valid Certificate Is Not Found - Adobe 22002486 User Manual

For acrobat 9.0 and adobe reader 9.0
Table of Contents

Advertisement

Acrobat 9 Family of Products
Security Feature User Guide
Example 5.11 Certificate policy seed value
var myIssuerCert = security.importFromFile("Certificate",
"/C/Temp/nebsCompany_DER.cer");
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
f.signatureSetSeedValue(
{
certspec: {
issuer: [myIssuerCert],
oid: ["2.16.840.1.1.113733.1.7.23.2"],
flags: 6
}
} )

5.10.4 Specifying a URL When a Valid Certificate is not Found

When a valid certificate is not found, users can be redirected to a URL during the signing workflow. The
URL may be to a server with a certificate repository; or, more likely, the URL may be a link to a Web page
describing how to obtain a new or valid certificate.
To specify a certificate with a specific policy:
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 a certificate as described in one of the previous sections. Use
4. Specify the URL. The URL can point to a certificate server or to instructions for getting a certificate.
5. Run the JavaScript, save the document, and test the field.
Figure 62 Policy OID
Controlling Signing with Seed Values
Specifying a URL When a Valid Certificate is not Found
issuer
85
(Example
5.12).
and/or
.
subject

Advertisement

Table of Contents
loading

This manual is also suitable for:

Digital signature

Table of Contents