Adobe 22002486 Digital Signature User Guide - Page 69

Supported Seed Values

Page 69 highlights

Acrobat 9 Family of Products Security Feature User Guide Controlling Signing with Seed Values Supported Seed Values 69 5.1.2 Supported Seed Values Note: The examples in this document demonstrate the simplest case. For more information, refer to the Acrobat JavaScript Scripting Guide and JavaScript for Acrobat API Reference. Table 8 Seed values: Object properties and descriptions Property certspec digestMethod filter Type object array of strings string Description A seed value CertificateSpecifier Object. For details, see "Specifying Certificate Properties for Signing" on page 80. (Acrobat 8.0) An array of acceptable digest methods to use while signing. These are only applicable if the digital ID contains RSA public and private keys. If they contain DSA public/private keys, then the value is always SHA1. Valid values include: MD5, SHA1 (default), SHA256, SHA384, SHA512, and RIPEMD160. The language-independent name of the signature handler to be used when signing. flags version legalAttestations number real array of strings A set of bit flags controlling which of the following properties are required. The value is the logical OR of the following values, which are set if the corresponding property is required: 1: filter 2: subFilter 4: version 8: reasons 16: legalAttestations (Acrobat 8.0) 32: shouldAddRevInfo (Acrobat 8.0) 64: digestMethod (Acrobat 8.0) 128: lockDocument 256: appearanceFilter Usage: 1 specifies filter, 3 specifies filter and sub-filter, and 11 specifies filter, sub-filter, and reasons. If this field is not present, all properties are optional. For more details, refer to the PDF Reference. See version (above). (Optional) The minimum required capability of the signature field seed value dictionary parser. A value of 1 specifies that the parser must be able to recognize all seed value dictionary entries specified in PDF 1.5. A value of 2 specifies that it must be able to recognize all seed value dictionary entries specified in PDF 1.7 and earlier. A value of 3 specifies that it must be able to recognize all seed value dictionary entries specified in PDF1.7-ADBE-3 and earlier. The Ff (flags above) entry indicates whether this is a required constraint. For more details, refer to the PDF Reference. (Acrobat 7.0) A list of legal attestations that the user can use when creating an MDP (certified) signature. mdp string (Acrobat 7.0) The modification, detection, and prevention (MDP) setting to use when signing the field. Values include: allowNone default defaultAndComments While allowAll is a legal value, it cancels out the effect of mdp and no certification signature can be used for this field.

  • 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
Supported Seed Values
69
5.1.2
Supported Seed Values
Note:
The examples in this document demonstrate the simplest case. For more information, refer to
the
Acrobat JavaScript Scripting Guide
and
JavaScript for Acrobat API Reference
.
Table 8
Seed values: Object properties and descriptions
Property
Type
Description
certspec
object
A seed value CertificateSpecifier Object. For details, see
“Specifying Certificate Properties for
Signing” on page 80
.
digestMethod
array of
strings
(Acrobat 8.0) An array of acceptable digest methods to use while signing. These are only applicable if the
digital ID contains RSA public and private keys. If they contain DSA public/private keys, then the value is
always SHA1. Valid values include: MD5, SHA1 (default), SHA256, SHA384, SHA512, and RIPEMD160.
filter
string
The language-independent name of the signature handler to be used when signing.
flags
number
A set of bit flags controlling which of the following properties are required. The value is the logical OR of
the following values, which are set if the corresponding property is required:
1
: filter
2
: subFilter
4
: version
8
: reasons
16
: legalAttestations (Acrobat 8.0)
32
: shouldAddRevInfo (Acrobat 8.0)
64
: digestMethod (Acrobat 8.0)
128
: lockDocument
256
: appearanceFilter
Usage: 1 specifies filter, 3 specifies filter and sub-filter, and 11 specifies filter, sub-filter, and reasons. If this
field is not present, all properties are optional.
For more details, refer to the
PDF Reference
.
version
real
See version (above). (Optional) The minimum required capability of the signature field seed value
dictionary parser. A value of 1 specifies that the parser must be able to recognize all seed value
dictionary entries specified in PDF 1.5. A value of 2 specifies that it must be able to recognize all seed
value dictionary entries specified in PDF 1.7 and earlier. A value of 3 specifies that it must be able to
recognize all seed value dictionary entries specified in PDF1.7-ADBE-3 and earlier.
The Ff (flags above) entry indicates whether this is a required constraint.
For more details, refer to the
PDF Reference
.
legalAttestations
array of
strings
(Acrobat 7.0) A list of legal attestations that the user can use when creating an MDP (certified) signature.
mdp
string
(Acrobat 7.0) The modification, detection, and prevention (MDP) setting to use when signing the field.
Values include:
allowNone
default
defaultAndComments
While
allowAll
is a legal value, it cancels out the effect of
mdp
and no certification signature can be
used for this field.