Add the following EBNF figure and embedded attachment above EXAMPLE 1:
-
-
-📎
-
+
+
+
+ 📎
+ Figure 1a - EBNF diagram for a PDF integer object
+
+
Change EXAMPLE 1 as follows:
@@ -276,10 +281,13 @@ However, a
Add the following EBNF figure and embedded attachment above EXAMPLE 2:
-
-
-📎
-
+
+
+
+ 📎
+ Figure 1b - EBNF diagram for a PDF real object
+
+
Change EXAMPLE 2 as follows:
@@ -691,6 +699,28 @@ and the file encryption key as the key. ...
NOTE This algorithm, when applied to the user password string, produces the file encryption key used to encrypt or decrypt string and stream data according to 7.6.3.3, "Algorithm 1.A: Encryption of data using the AES algorithms". Parts of this algorithm are also used in the algorithms described in 7.6.4.4, "Password algorithms".
+
7.6.4.3.4 Algorithm 2.B: Computing a hash (revision 6 and later)
+
+
Change bullet (a) as follows:
+
+
+
+
+ Make a new string, K1, consisting of 64 repetitions of the sequence: input password, K, the 48-byte user key. The 48 byte user key is only used when checking the owner password or creating the owner key. If checking the user password or creating the user key, K1 is the concatenation of the input password and K.
+
+
+
Make a new string K0 as follows:
+
+
When checking the owner password or creating the owner key, K0 is the concatenation of the input password, K, and the 48-byte user key.
+
Otherwise, K0 is the concatenation of the input password and K.
+
+
Next, set K1 to 64 repetitions of K0.
+
+
+
...
+
+
+
7.6.4.4.9 Algorithm 10: Computing the encryption dictionary's Perms (permissions) value (Security handlers of revision 6)
Change bullet (f) as follows:
@@ -830,12 +860,12 @@ there is no way to specify that metadata is to be left unencrypted in these case
Move Figure 5 from subclause 7.7.2 to after the first paragraph, and update Figure 5 as follows:
-
-
-
+
+
+ Figure 5 - Structure of a PDF document
-
-
+
+
7.7.2 Document catalog dictionary
diff --git a/docs/assets/figure5-document-structure.svg b/docs/32000-2-2020/figure5-document-structure.svg
similarity index 100%
rename from docs/assets/figure5-document-structure.svg
rename to docs/32000-2-2020/figure5-document-structure.svg