Skip to content

Commit 83f84e5

Browse files
committed
Update project to latest tag verificafirma-crypto-beans-1.6.0
1 parent 08561ff commit 83f84e5

File tree

4 files changed

+80
-5
lines changed

4 files changed

+80
-5
lines changed

pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
33
<artifactId>verificafirma-crypto-beans</artifactId>
4-
<version>1.5.1-SNAPSHOT</version>
4+
<version>1.6.0</version>
55
<packaging>jar</packaging>
66
<name>Verifica firma crypto beans</name>
77
<description>Libreria contenente i beans che integrano i modelli pojo per la verifica firma con microservizio crypto</description>
88

99
<parent>
1010
<groupId>it.eng.parer</groupId>
1111
<artifactId>parer-pom</artifactId>
12-
<version>6.4.0</version>
12+
<version>6.4.1</version>
1313
</parent>
1414

1515

@@ -24,19 +24,19 @@
2424
<jaxb.api.version>2.3.0</jaxb.api.version>
2525
</properties>
2626

27-
<scm>
27+
<scm>
2828
<developerConnection>scm:git:https://github.com/RegioneER/parer-verificafirma-crypto-beans.git</developerConnection>
2929
<tag>HEAD</tag>
3030
</scm>
3131

32-
<distributionManagement>
32+
<distributionManagement>
3333
<repository>
3434
<id>github</id>
3535
<url>https://maven.pkg.github.com/RegioneER/parer-verificafirma-crypto-beans</url>
3636
</repository>
3737
</distributionManagement>
3838

39-
<repositories>
39+
<repositories>
4040
<repository>
4141
<id>github</id>
4242
<url>https://maven.pkg.github.com/RegioneER/parer-framework-parerpom</url>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
/*
2+
* Engineering Ingegneria Informatica S.p.A.
3+
*
4+
* Copyright (C) 2023 Regione Emilia-Romagna
5+
* <p/>
6+
* This program is free software: you can redistribute it and/or modify it under the terms of
7+
* the GNU Affero General Public License as published by the Free Software Foundation,
8+
* either version 3 of the License, or (at your option) any later version.
9+
* <p/>
10+
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11+
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12+
* See the GNU Affero General Public License for more details.
13+
* <p/>
14+
* You should have received a copy of the GNU Affero General Public License along with this program.
15+
* If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
18+
package it.eng.parer.crypto.model;
19+
20+
import java.io.Serializable;
21+
import java.net.URI;
22+
23+
import org.apache.commons.lang3.StringUtils;
24+
25+
import jakarta.validation.constraints.NotNull;
26+
27+
/**
28+
* Modello per i file p7m su un URI (tendenzialmente utilizzando le PRE-SIGNED
29+
* URL dell'object storage).
30+
*/
31+
public class CryptoSignedP7mUri implements Serializable {
32+
33+
private static final long serialVersionUID = 6539537678266529865L;
34+
35+
@NotNull(message = "URI del documento firmato p7m deve essere valorizzato correttamente")
36+
private URI uri;
37+
38+
private String originalFileName;
39+
40+
public CryptoSignedP7mUri() {
41+
super();
42+
}
43+
44+
public CryptoSignedP7mUri(URI uri) {
45+
super();
46+
this.uri = uri;
47+
this.originalFileName = StringUtils.EMPTY;
48+
}
49+
50+
public CryptoSignedP7mUri(URI uri, String originalFileName) {
51+
super();
52+
this.uri = uri;
53+
this.originalFileName = originalFileName;
54+
}
55+
56+
public URI getUri() {
57+
return uri;
58+
}
59+
60+
public void setUri(URI uri) {
61+
this.uri = uri;
62+
}
63+
64+
public String getOriginalFileName() {
65+
return originalFileName;
66+
}
67+
68+
public void setOriginalFileName(String originalFileName) {
69+
this.originalFileName = originalFileName;
70+
}
71+
72+
}

src/main/java/it/eng/parer/crypto/model/verifica/input/CryptoDataToValidateDataUri.java

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
*/
3131
public class CryptoDataToValidateDataUri implements Serializable {
3232

33+
private static final long serialVersionUID = 2129598057865119908L;
34+
3335
@NotNull(message = "Il percorso del componente principale deve essere valorizzate correttamente")
3436
private URI contenuto;
3537
private List<URI> firme;

src/test/java/it/eng/parer/crypto/model/TestReport.java

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public class TestReport {
4747
*
4848
* @throws JAXBException
4949
*/
50+
@SuppressWarnings({ "rawtypes", "unchecked" })
5051
@Test
5152
public void testMarshaller() throws JAXBException {
5253

0 commit comments

Comments
 (0)