Skip to content

Commit d14821b

Browse files
authored
Merge pull request #7 from Jocomol/master
V1.0.5.1
2 parents 2c498fe + cc9ecc1 commit d14821b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>lib</artifactId>
55
<groupId>BatchPDFSign</groupId>
6-
<version>1.0.5</version>
6+
<version>1.0.5.1</version>
77
<packaging>jar</packaging>
88
<distributionManagement>
99
<repository>

lib/src/main/java/BatchPDFSign/lib/BatchPDFSign.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Signs PDF files and retains PDF/A conformity.
1616
* @author Pep Marxuach, jmarxuach
1717
* @author Joe Meier, Jocomol, joelmeier08@gmail.com
18-
* @version 1.0.5
18+
* @version 1.0.5.1
1919
*/
2020
public class BatchPDFSign {
2121

@@ -68,7 +68,7 @@ public void signFile() throws IOException, GeneralSecurityException {
6868
readPrivateKeyFromPKCS12(pkcs12FileName, PkcsPassword);
6969
PdfReader reader = new PdfReader(pdfInputFileName);
7070
ITSAClient tsaClient = new TSAClientBouncyCastle("https://freetsa.org/tsr");
71-
StampingProperties properties = new StampingProperties().preserveEncryption().useAppendMode();
71+
StampingProperties properties = new StampingProperties().preserveEncryption();
7272
PdfSigner signer = new PdfSigner(reader, new FileOutputStream(pdfOutputFileName), properties);
7373
IExternalDigest digest = new BouncyCastleDigest();
7474
BouncyCastleProvider provider = new BouncyCastleProvider();

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>BatchPDFSign</artifactId>
55
<groupId>multi</groupId>
6-
<version>1.0.5</version>
6+
<version>1.0.5.1</version>
77
<packaging>pom</packaging>
88
<modules>
99
<module>lib</module>

portable/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>Portable</artifactId>
55
<groupId>BatchPDFSign</groupId>
6-
<version>1.0.5</version>
6+
<version>1.0.5.1</version>
77
<packaging>jar</packaging>
88
<dependencies>
99
<dependency>

portable/src/main/java/BatchPDFSign/portable/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* This method is called when the jar is executed. It shows the help if parameters weren't given correctly.
1111
* If the correct parameters were given, it creates a BatchPDFSign Object and calls the signFile(); function on it.
1212
* @author Joe Meier, Jocomol, joelmeier08@gmail.com
13-
* @version 1.0.5
13+
* @version 1.0.5.1
1414
*/
1515
public class Main {
1616
public static void main(String[] args){

0 commit comments

Comments
 (0)