@@ -188,8 +188,9 @@ public WriterProperties setFullCompressionMode(boolean fullCompressionMode) {
188
188
* @param encryptionAlgorithm the type of encryption. It can be one of
189
189
* {@link EncryptionConstants#STANDARD_ENCRYPTION_40},
190
190
* {@link EncryptionConstants#STANDARD_ENCRYPTION_128},
191
- * {@link EncryptionConstants#ENCRYPTION_AES_128}
192
- * or {@link EncryptionConstants#ENCRYPTION_AES_256}.
191
+ * {@link EncryptionConstants#ENCRYPTION_AES_128},
192
+ * {@link EncryptionConstants#ENCRYPTION_AES_256}
193
+ * or {@link EncryptionConstants#ENCRYPTION_AES_GCM}.
193
194
* Optionally {@link EncryptionConstants#DO_NOT_ENCRYPT_METADATA} can be ORed
194
195
* to output the metadata in cleartext.
195
196
* {@link EncryptionConstants#EMBEDDED_FILES_ONLY} can be ORed as well.
@@ -229,8 +230,9 @@ public WriterProperties setStandardEncryption(byte[] userPassword, byte[] ownerP
229
230
* @param encryptionAlgorithm the type of encryption. It can be one of
230
231
* {@link EncryptionConstants#STANDARD_ENCRYPTION_40},
231
232
* {@link EncryptionConstants#STANDARD_ENCRYPTION_128},
232
- * {@link EncryptionConstants#ENCRYPTION_AES_128}
233
- * or {@link EncryptionConstants#ENCRYPTION_AES_256}.
233
+ * {@link EncryptionConstants#ENCRYPTION_AES_128},
234
+ * {@link EncryptionConstants#ENCRYPTION_AES_256}
235
+ * or {@link EncryptionConstants#ENCRYPTION_AES_GCM}.
234
236
* Optionally {@link EncryptionConstants#DO_NOT_ENCRYPT_METADATA} can be ORed
235
237
* to output the metadata in cleartext.
236
238
* {@link EncryptionConstants#EMBEDDED_FILES_ONLY} can be ORed as well.
@@ -271,8 +273,9 @@ public WriterProperties setStandardEncryption(byte[] userPassword, byte[] ownerP
271
273
* @param encryptionAlgorithm the type of encryption. It can be one of
272
274
* {@link EncryptionConstants#STANDARD_ENCRYPTION_40},
273
275
* {@link EncryptionConstants#STANDARD_ENCRYPTION_128},
274
- * {@link EncryptionConstants#ENCRYPTION_AES_128}
275
- * or {@link EncryptionConstants#ENCRYPTION_AES_256}.
276
+ * {@link EncryptionConstants#ENCRYPTION_AES_128},
277
+ * {@link EncryptionConstants#ENCRYPTION_AES_256}
278
+ * or {@link EncryptionConstants#ENCRYPTION_AES_GCM}.
276
279
* Optionally {@link EncryptionConstants#DO_NOT_ENCRYPT_METADATA} can be ORed
277
280
* to output the metadata in cleartext.
278
281
* {@link EncryptionConstants#EMBEDDED_FILES_ONLY} can be ORed as well.
@@ -309,8 +312,9 @@ public WriterProperties setPublicKeyEncryption(Certificate[] certs, int[] permis
309
312
* @param encryptionAlgorithm the type of encryption. It can be one of
310
313
* {@link EncryptionConstants#STANDARD_ENCRYPTION_40},
311
314
* {@link EncryptionConstants#STANDARD_ENCRYPTION_128},
312
- * {@link EncryptionConstants#ENCRYPTION_AES_128}
313
- * or {@link EncryptionConstants#ENCRYPTION_AES_256}.
315
+ * {@link EncryptionConstants#ENCRYPTION_AES_128},
316
+ * {@link EncryptionConstants#ENCRYPTION_AES_256}
317
+ * or {@link EncryptionConstants#ENCRYPTION_AES_GCM}.
314
318
* Optionally {@link EncryptionConstants#DO_NOT_ENCRYPT_METADATA} can be ORed
315
319
* to output the metadata in cleartext.
316
320
* {@link EncryptionConstants#EMBEDDED_FILES_ONLY} can be ORed as well.
0 commit comments