Adobe 22002486 Digital Signature User Guide - Page 82

Specifying Signing Certificates Origin

Page 82 highlights

Acrobat 9 Family of Products Security Feature User Guide Controlling Signing with Seed Values Specifying Signing Certificates Origin 82 Table 11 Seed values: certSpec properties Property Type Description subject array of certificate objects One or more subjects that are acceptable for signing. The subject property identifies specific individuals (as certificate owners) that can sign. Access to the physical, DER-encoded certificate is required. It is identified by a path to a discrete file in the format of ["/c/test/root.cer"]. subjectDN array of certificate objects (Acrobat 8.0) Each object specifies a subject distinguished name (DN) acceptable for signing. More than one DN may be specified, but a signing certificate must satisfy at least one of the DNs by containing all the attributes specified in the matching DN. DN attribute restrictions are specified by adding them as properties. The properties' key names can either be the corresponding attributes' friendly names or OIDs (as defined in RFC 3280). The properties' value must be of type string. For more information about the various attributes and their types, refer to RFC 3280. url string A URL that can be used to enroll for a new certificate if a matching one is not found, such as https://aardvark.corp.example.com/. Works in conjunction with urlType (if present). A degenerate use of this property is when the URL points to a Web service that is a digital ID store such as a roaming ID server. In that case, the URL indicates that as long as the signer has a digital ID from that Web service, it is acceptable for signing. urlType string (Acrobat 8.0) The url type. If this attribute isn't present, it's assumed that the url points to a HTML site. There are two supported types: HTML: An HTML website. Acrobat uses the Web browser to display its contents. ASSP: A URL to a web service using the ASSP protocol for roaming ID servers. 5.10.1 Specifying Signing Certificates Origin Authors can limit potential signers to individuals or groups as follows:  subject limits potential signers to only those specified individuals. Signers could be limited to one or more people.  issuer limits signers to those with certificates that chain up to a common, shared issuer. For example, all of a company's employees may use the company's certificate as an intermediate certificate and that certificate could be used as the issuer.  subjectDN limits signers to those with certificates that match all the attributes of one of the listed DNs. For example:  {cn:"Alice", ou:"Engineering", o:"Acme Inc"}. For details about the friendly names of DN attributes (cn, o, ou, and so on), refer to the RDN Object in the JavaScript for Acrobat API Reference.  {cn:"Joe Smith", ou:"Engineering", 2.5.4.43:"JS"}, where OID 2.5.4.43 is used to carry out matching for the "Initials" attribute. The following is sample code to define the above DN: var subjectDN = {cn:"Joe Smith", ou:"Engineering"}; subjectDN["2.4.5.43"] = "JS"; Attributes whose value is of type DirectoryString or IA5String can be specified as shown in the example above, whereas all other value types, e.g. dateOfBirth whose value is of type GeneralizedTime, the value needs to be specified as a hex encoded binary string. To specify a certificate:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189

Acrobat 9 Family of Products
Controlling Signing with Seed Values
Security Feature User Guide
Specifying Signing Certificates Origin
82
5.10.1
Specifying Signing Certificates Origin
Authors can limit potential signers to individuals or groups as follows:
subject
limits potential signers to only those specified individuals. Signers could be limited to one or
more people.
issuer
limits signers to those with certificates that chain up to a common, shared issuer. For example,
all of a company’s employees may use the company’s certificate as an intermediate certificate and that
certificate could be used as the issuer.
subjectDN
limits signers to those with certificates that match all the attributes of one of the listed
DNs. For example:
{cn:”Alice”, ou:”Engineering”, o:”Acme Inc”}
. For details about the friendly names
of DN attributes (cn, o, ou, and so on), refer to the RDN Object in the
JavaScript for Acrobat API
Reference
.
{cn:”Joe Smith”, ou:”Engineering”, 2.5.4.43:”JS”}
, where OID 2.5.4.43 is used to
carry out matching for the “Initials” attribute.
The following is sample code to define the above DN:
var subjectDN = {cn:”Joe Smith”, ou:”Engineering”};
subjectDN[“2.4.5.43”] = “JS”;
Attributes whose value is of type
DirectoryString
or
IA5String
can be specified as shown in the
example above, whereas all other value types, e.g. dateOfBirth whose value is of type GeneralizedTime,
the value needs to be specified as a hex encoded binary string.
To specify a certificate:
subject
array of
certificate
objects
One or more subjects that are acceptable for signing. The subject property identifies
specific individuals (as certificate owners) that can sign. Access to the physical,
DER-encoded certificate is required. It is identified by a path to a discrete file in the
format of [
"/c/test/root.cer"
].
subjectDN
array of
certificate
objects
(Acrobat 8.0) Each object specifies a subject distinguished name (DN) acceptable for
signing. More than one DN may be specified, but a signing certificate must satisfy at
least one of the DNs by containing all the attributes specified in the matching DN.
DN attribute restrictions are specified by adding them as properties. The properties’
key names can either be the corresponding attributes’ friendly names or OIDs (as
defined in RFC 3280). The properties’ value must be of type string.
For more information about the various attributes and their types, refer to RFC 3280.
url
string
A URL that can be used to enroll for a new certificate if a matching one is not found,
such as
. Works in conjunction with
urlType
(if present).
A degenerate use of this property is when the URL points to a Web service that is a
digital ID store such as a roaming ID server. In that case, the URL indicates that as long
as the signer has a digital ID from that Web service, it is acceptable for signing.
urlType
string
(Acrobat 8.0) The
url
type. If this attribute isn’t present, it’s assumed that the
url
points to a HTML site. There are two supported types:
HTML
: An HTML website. Acrobat uses the Web browser to display its contents.
ASSP
: A URL to a web service using the ASSP protocol for roaming ID servers.
Table 11
Seed values: certSpec properties
Property
Type
Description