12
Security
Digital IDs and Certification Methods
Creating a Digital ID (Default Certificate Security)
If you would like to create a certificate for a new user, invoke the
securityHandler
object’s
newUser
method, which supports enrollment with the
Adobe.PPKLite
and
Adobe.PPKMS
security handlers by creating a new self-sign credential, and prevents the
user from overwriting the file. It accepts the following parameters:
●
●
●
cPassword
: the password needed to access the digital ID file
cDIPath
: the location of the digital ID file
oRDN
: the
relative distinguished name
(represented as an
RDN
object) containing the
issuer or subject name for the certificate
●
oCPS
: the certificate policy information, which is a generic object containing the
following properties:
–
oid
: the certificate policy object identifier
–
url
: URL pointing to detailed policy information
–
notice
: shortened version of detailed policy information
●
bUI
: determines whether to use the user interface to enroll the new user
The relative distinguished name is a generic object containing the properties shown below
in
Table 12.5:
T
ABLE
12.5
RDN Object
Property
Description
Country or region
Common name
Organization name
Organization unit
Email address
c
cn
o
ou
e
220
Acrobat JavaScript Scripting Guide