Security
Digital IDs and Certification Methods
12
Managing Digital IDs (Windows Certificate Security)
A
directory
object is a repository of user information, including public key certificates.
On Windows, the
Adobe.PPKMS
security handler provides access, through the
Microsoft
Active Directory Script Interface
(ADSI), to the directories created by the user. These are
created sequentially with the names
Adobe.PPKMS.ADSI.dir0
,
Adobe.PPKMS.ADSI.dir1
, etc. In this case, the
Adobe.PPKMS.ADSI
directory
handler includes the directory information object properties shown below in
Table 12.6:
T
ABLE
12.6
Adobe.PPKMS.ADSI Directory Handler Object Properties
Property
Description
The server hosting the data
The port number (standard LDAP port is 389)
Used to narrow the search to a section of the directory
Maximum number of entries retrieved from search
Maximum time allowed for search
server
port
searchBase
maxNumEntries
timeout
For example, the following code displays information for an existing directory:
// Obtain the security handler:
var ppkms = security.getHandler("Adobe.PPKMS");
// Obtain the directory information object:
var info = ppkms.directories[0].info;
// Display some of the directory information:
console.println("Directory: " + info.dirStdEntryName);
console.println("Address: " + info.server + ":" + info.port);
Acrobat JavaScript Scripting Guide
223