Skip to content

Commit

Permalink
Release 1.13.0 (#2)
Browse files Browse the repository at this point in the history
* [skip ci] Update project to latest tag cryptolibrary-1.13.0

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update SNAPSHOT version

* [maven-release-plugin] prepare release cryptolibrary-1.13.0

* [maven-release-plugin] prepare for next development iteration

---------

Co-authored-by: parerworker <DevPARER@regione.emilia-romagna.it>
Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
3 people authored Sep 17, 2024
1 parent 5a9ddb5 commit 7ace557
Show file tree
Hide file tree
Showing 46 changed files with 228 additions and 197 deletions.
53 changes: 41 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@
<parent>
<groupId>it.eng.parer</groupId>
<artifactId>parer-pom</artifactId>
<version>4.2.0</version>
<version>6.4.0</version>
</parent>
<groupId>it.eng.parer</groupId>
<artifactId>cryptolibrary</artifactId>
<version>1.12.8-SNAPSHOT</version>
<version>1.13.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>cryptolibrary</name>
<description>Progetto CRYPTOLIBRARY</description>

<distributionManagement>
<distributionManagement>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/RegioneER/parer-cryptolibrary</url>
</repository>
</distributionManagement>
<repositories>

<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/RegioneER/parer-framework-parerpom</url>
Expand All @@ -32,6 +31,7 @@
</repository>
</repositories>


<properties>
<project.build.sourceEncoding>windows-1252</project.build.sourceEncoding>
<maven.javadoc.skip>true</maven.javadoc.skip>
Expand Down Expand Up @@ -67,12 +67,12 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
<version>2.16.1</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.3</version>
<version>4.5.14</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
Expand Down Expand Up @@ -102,7 +102,7 @@
<dependency>
<groupId>it.eng.parer</groupId>
<artifactId>eng-mityclib-xades</artifactId>
<version>1.0.2</version>
<version>1.1.0</version>
<exclusions>
<exclusion>
<groupId>xalan</groupId>
Expand All @@ -113,16 +113,45 @@
<dependency>
<groupId>it.eng.parer</groupId>
<artifactId>eng-sec-provider</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
</dependencies>

<scm>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>2.16.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>1.8</target>
<source>1.8</source>
</configuration>
</plugin>
</plugins>
</build>

<scm>
<developerConnection>scm:git:https://github.com/RegioneER/parer-cryptolibrary.git</developerConnection>
<tag>HEAD</tag>
</scm>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/eng/crypto/CryptoConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Classe che setta i parametri di configurazione del sistema
*
* @author Rigo Michele
*
*
* @version 0.1
*/
public class CryptoConfiguration implements Serializable {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/eng/crypto/CryptoConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Costanti del sistema
*
* @author Rigo Michele
*
*
* @version 0.1
*/
public class CryptoConstants {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/eng/crypto/TSAConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* Classe che setta i parametri di configurazione per una TSA
*
* @author Rigo Michele
*
*
* @version 0.1
*/
public class TSAConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/it/eng/crypto/ca/ICertificateAuthority.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* Espone i metodi di gestione della certification authority root
*
* @author Rigo Michele
*
*
* @version 0.1
*/
public interface ICertificateAuthority {
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/it/eng/crypto/controller/ISignerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface ISignerController {
*
* @param input
* bean contenente le informazioni necessarie all'esecuzione
*
*
* @return true se il controllo può essere effettuato
*/
public boolean canExecute(InputBean input);
Expand All @@ -47,9 +47,9 @@ public interface ISignerController {
* bean contenente le informazioni necessarie all'esecuzione
* @param output
* bean contenente le proprietà valorizzate dal controller in seguito all'esecuzione
*
*
* @return true se il controllo è stato superato
*
*
* @throws ExceptionController
*/
public boolean execute(InputBean input, OutputBean output) throws ExceptionController;
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/it/eng/crypto/controller/ITimeStampController.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ public interface ITimeStampController {
*
* @param file
* file contenente il documento e la marca temporale
*
*
* @return informazioni relative alla marca temporale
*
*
* @throws FileNotFoundException
* @throws CryptoSignerException
*/
Expand All @@ -49,9 +49,9 @@ public interface ITimeStampController {
*
* @param file
* file contenente il documento e la marca temporale
*
*
* @return informazioni relative alla marca temporale
*
*
* @throws FileNotFoundException
* @throws CryptoSignerException
*/
Expand All @@ -66,9 +66,9 @@ public DocumentAndTimeStampInfoBean[] checkTimeStamps(File file)
* file contenente il documento e la marca temporale
* @param timeStampExtensionChain
* lista dei timestamp che estendono le marche temporali
*
*
* @return informazioni relative alle marche temporali
*
*
* @throws FileNotFoundException
* @throws CryptoSignerException
*/
Expand All @@ -82,9 +82,9 @@ public DocumentAndTimeStampInfoBean[] checkTimeStamps(File file, File... timeSta
* file contenente il documento
* @param detachedTimeStamp
* file contente la marca temporale del documento
*
*
* @return informazioni relative alle marche temporali
*
*
* @throws CryptoSignerException
* @throws FileNotFoundException
*/
Expand All @@ -101,9 +101,9 @@ public DocumentAndTimeStampInfoBean[] checkTimeStamps(File file, File detachedTi
* file contente le marche temporali del documento
* @param timeStampExtensionChain
* lista dei timestamp che estendono le marche temporali
*
*
* @return informazioni relative alle marche temporali
*
*
* @throws FileNotFoundException
* @throws CryptoSignerException
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface ITimeStampValidator {
*
* @param timeStamp
* @param timeStampValidity
*
*
* @return true se la marca temporale in input è attualmente valida
*/
public boolean isTimeStampCurrentlyValid(TimeStampToken timeStamp, TimeStampValidityBean timeStampValidity);
Expand All @@ -56,7 +56,7 @@ public interface ITimeStampValidator {
* estensione del timestamp
* @param timeStampExtensionValidity
* periodo di validità dell'estensione del timestamp
*
*
* @return
*/
public boolean isTimeStampExtended(TimeStampToken timeStampToValidate,
Expand All @@ -73,7 +73,7 @@ public boolean isTimeStampExtended(TimeStampToken timeStampToValidate,
* periodo di validità del timestamp
* @param referenceDate
* data di riferimento
*
*
* @return
*/
public boolean isTimeStampValidAtDate(TimeStampToken timeStamp, TimeStampValidityBean timeStampValidity,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ public void setControllers(List<ISignerController> controllers) {
*
* @param input
* bean contenente le informazioni in input per eseguire i controlli
*
*
* @return
*
*
* @throws ExceptionController
*/
public OutputSignerBean executeControll(InputSignerBean input) throws ExceptionController {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public void setControllers(List<ISignerController> controllers) {
*
* @param input
* bean contenente le informazioni in input per eseguire i controlli
*
*
* @return
*
*
* @throws ExceptionController
*/
public OutputTimeStampBean executeControll(InputTimeStampBean input) throws ExceptionController {
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/it/eng/crypto/controller/bean/ContentBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Bean d'appoggio contenente il riferimento ai file sbustati e informazioni sul fatto che questi possano contenere a
* loro volta delle firme
*
*
* @author Stefano Zennaro
*
*/
Expand All @@ -33,7 +33,7 @@ public class ContentBean {

/**
* Recupera il contenuto sbustato
*
*
* @return il contenuto sbustato
*/
public File getContentFile() {
Expand All @@ -42,7 +42,7 @@ public File getContentFile() {

/**
* Definisce il contenuto sbustato
*
*
* @param contentFile
*/
public void setContentFile(File contentFile) {
Expand All @@ -51,7 +51,7 @@ public void setContentFile(File contentFile) {

/**
* Restituisce true se il contenuto può essere ulteriormente firmato
*
*
* @return
*/
public boolean isPossiblySigned() {
Expand All @@ -60,7 +60,7 @@ public boolean isPossiblySigned() {

/**
* Definisce se il contenuto può essere ulteriormente firmato
*
*
* @param possiblySigned
*/
public void setPossiblySigned(boolean possiblySigned) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public enum TimeStampTokenType {
*
* @Deprecated è preferibile affidarsi ad un controllo esterno per verificare correttamente la data attuale
* {@link it.eng.crypto.controller.ITimeStampValidator ITimeStampValidator})
*
*
* @return true se il certificato del timestamp è attualmente valido
*/
public boolean isCurrentlyValid() {
Expand All @@ -133,10 +133,10 @@ public boolean isCurrentlyValid() {
* @Deprecated è preferibile affidarsi ad un controllo esterno per verificare correttamente la data
* {@link it.eng.crypto.controller.ITimeStampValidator ITimeStampValidator}) Controlla se il
* timestampToken contiene un certificato valido alla data di riferimento in ingresso
*
*
* @param date
* data di riferimento per il controllo
*
*
* @return true se il certificato del timestamp era valido alla data considerata
*/
public boolean isValidAtDate(Date date) {
Expand Down
Loading

0 comments on commit 7ace557

Please sign in to comment.