Skip to content

Commit

Permalink
Merge pull request #7 from Jocomol/master
Browse files Browse the repository at this point in the history
V1.0.5.1
  • Loading branch information
jmarxuach authored Jul 23, 2020
2 parents 2c498fe + cc9ecc1 commit d14821b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>lib</artifactId>
<groupId>BatchPDFSign</groupId>
<version>1.0.5</version>
<version>1.0.5.1</version>
<packaging>jar</packaging>
<distributionManagement>
<repository>
Expand Down
4 changes: 2 additions & 2 deletions lib/src/main/java/BatchPDFSign/lib/BatchPDFSign.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Signs PDF files and retains PDF/A conformity.
* @author Pep Marxuach, jmarxuach
* @author Joe Meier, Jocomol, joelmeier08@gmail.com
* @version 1.0.5
* @version 1.0.5.1
*/
public class BatchPDFSign {

Expand Down Expand Up @@ -68,7 +68,7 @@ public void signFile() throws IOException, GeneralSecurityException {
readPrivateKeyFromPKCS12(pkcs12FileName, PkcsPassword);
PdfReader reader = new PdfReader(pdfInputFileName);
ITSAClient tsaClient = new TSAClientBouncyCastle("https://freetsa.org/tsr");
StampingProperties properties = new StampingProperties().preserveEncryption().useAppendMode();
StampingProperties properties = new StampingProperties().preserveEncryption();
PdfSigner signer = new PdfSigner(reader, new FileOutputStream(pdfOutputFileName), properties);
IExternalDigest digest = new BouncyCastleDigest();
BouncyCastleProvider provider = new BouncyCastleProvider();
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>BatchPDFSign</artifactId>
<groupId>multi</groupId>
<version>1.0.5</version>
<version>1.0.5.1</version>
<packaging>pom</packaging>
<modules>
<module>lib</module>
Expand Down
2 changes: 1 addition & 1 deletion portable/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>Portable</artifactId>
<groupId>BatchPDFSign</groupId>
<version>1.0.5</version>
<version>1.0.5.1</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion portable/src/main/java/BatchPDFSign/portable/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* This method is called when the jar is executed. It shows the help if parameters weren't given correctly.
* If the correct parameters were given, it creates a BatchPDFSign Object and calls the signFile(); function on it.
* @author Joe Meier, Jocomol, joelmeier08@gmail.com
* @version 1.0.5
* @version 1.0.5.1
*/
public class Main {
public static void main(String[] args){
Expand Down

0 comments on commit d14821b

Please sign in to comment.