/
Public_key_security_handler_additional.pm6
25 lines (19 loc) · 1.47 KB
/
Public_key_security_handler_additional.pm6
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
use v6;
# generated by: ../../etc/make-modules.p6 --role-name=ISO_32000::Public_key_security_handler_additional ../../resources/ISO_32000/Public_key_security_handler_additional_entries.json
#| PDF 32000-1:2008 Table 23 – Additional encryption dictionary entries for public-key security handlers
role ISO_32000::Public_key_security_handler_additional {
method Recipients {...};
method P {...};
}
=begin pod
=head1 Methods (Entries)
=head2 Recipients [array]
- (Required when SubFilter is adbe.pkcs7.s3 or adbe.pkcs7.s4; PDF 1.3)An array of byte-strings, where each string is a PKCS7 object listing recipients who have been granted equal access rights to the document. The data contained in the PKCS7 object shall include both a cryptographic key that is used to decrypt the encrypted data and the access permissions (see Table 24) that apply to the recipient list. There is only one PKCS7 object per unique set of access permissions; if a recipient appears in more than one list, the permissions used is those in the first matching list.
When SubFilter is adbe.pkcs7.s5, recipient lists is specified in the crypt filter dictionary; see
Table 27
.
=head2 P [integer]
- (Required) A set of flags specifying which operations is permitted when the document is opened with user access. If bit 2 is set to 1, all other bits are ignored and all operations are permitted. If bit 2 is set to 0, permission for operations are based on the values of the remaining flags defined in
Table 24
.
=end pod