Adobe 22002486 Digital Signature User Guide - Page 73

Giving Signers the Option to Lock a Document

Page 73 highlights

Acrobat 9 Family of Products Security Feature User Guide Controlling Signing with Seed Values Giving Signers the Option to Lock a Document 73 Figure 57 Seed values: Custom legal attestations 5. Highlight the JavaScript and choose Control + Enter or choose the Enter key on the numeric keypad. When someone signs the field, the certifying workflow is invoked and only the specified mdp settings will be available (Figure 56). 6. Run the JavaScript, save the document, and test the field. Example 5.1 Seed value: mdp // Obtain the signature field object: var f = this.getField("mySigFieldName"); f.signatureSetSeedValue( { mdp: "defaultAndComments", legalAttestations: ["Approved by Management", "Signed by Procurement"] } ) 5.3 Giving Signers the Option to Lock a Document While certifying a document allows authors and signers to restrict certain document features, for example, subsequent signing and filling out forms, these permissions are set at the document level and cannot become more restrictive as signatures are applied. Acrobat 9 provides a seed value that adds a Lock Document checkbox to the signing dialog when the configured field is selected for signing. This allows any signer to completely lock the document from further changes. The author is given the choice of requiring their seed value to be honored by the signing application or to be an optional recommendation. This is provided through the use of the required flags bitfield to indicate whether or not the seed value is optional or mandatory. The options are as follows:  true: A value of true indicates that the desired action is that the document should be locked at the time of signing. If the Ff entry indicates that LockDocument is not a required constraint, the user can choose to override this at the time of signing. Otherwise the document must be locked after signing.

  • 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
Giving Signers the Option to Lock a Document
73
Figure 57
Seed values: Custom legal attestations
5.
Highlight the JavaScript and choose
Control + Enter
or choose the
Enter
key on the numeric keypad.
When someone signs the field, the certifying workflow is invoked and only the specified
mdp
settings
will be available (
Figure 56
).
6.
Run the JavaScript, save the document, and test the field.
Example 5.1
Seed value: mdp
// Obtain the signature field object:
var f = this.getField("mySigFieldName");
f.signatureSetSeedValue(
{
mdp: "defaultAndComments",
legalAttestations: ["Approved by Management", "Signed by Procurement"]
} )
5.3
Giving Signers the Option to Lock a Document
While certifying a document allows authors and signers to restrict certain document features, for example,
subsequent signing and filling out forms, these permissions are set at the document level and cannot
become more restrictive as signatures are applied. Acrobat 9 provides a seed value that adds a
Lock
Document
checkbox to the signing dialog when the configured field is selected for signing. This allows
any signer to completely lock the document from further changes.
The author is given the choice of requiring their seed value to be honored by the signing application or to
be an optional recommendation. This is provided through the use of the required flags bitfield to indicate
whether or not the seed value is optional or mandatory. The options are as follows:
true
: A value of true indicates that the desired action is that the document should be locked at the time
of signing. If the Ff entry indicates that LockDocument is not a required constraint, the user can choose
to override this at the time of signing. Otherwise the document must be locked after signing.