DigestServiceParams.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.pdd.config;


  21. import java.io.Serializable;
  22. import java.time.Instant;

  23. import org.openspcoop2.core.id.IDServizio;
  24. import org.openspcoop2.utils.digest.DigestType;

  25. /**
  26.  * DigestServiceParamsDriver
  27.  *
  28.  * @author Burlon Tommaso (tommaso.burlon@link.it)
  29.  * @author $Author$
  30.  * @version $Rev$, $Date$
  31.  */
  32. public class DigestServiceParams implements Serializable {
  33.     private static final long serialVersionUID = 1L;
  34.    
  35.     private IDServizio idServizio;
  36.     private DigestType digestAlgorithm;
  37.     private byte[] seed;
  38.     private Instant dataRegistrazione;
  39.     private Integer durata;
  40.     private Long serialNumber;
  41.    
  42.     public IDServizio getIdServizio() {
  43.         return this.idServizio;
  44.     }
  45.     public void setIdServizio(IDServizio idServizio) {
  46.         this.idServizio = idServizio;
  47.     }
  48.     public DigestType getDigestAlgorithm() {
  49.         return this.digestAlgorithm;
  50.     }
  51.     public void setDigestAlgorithm(DigestType digestAlgorithm) {
  52.         this.digestAlgorithm = digestAlgorithm;
  53.     }
  54.     public byte[] getSeed() {
  55.         return this.seed;
  56.     }
  57.     public void setSeed(byte[] seed) {
  58.         this.seed = seed;
  59.     }
  60.     public Instant getDataRegistrazione() {
  61.         return this.dataRegistrazione;
  62.     }
  63.     public void setDataRegistrazione(Instant dataRegistrazione) {
  64.         this.dataRegistrazione = dataRegistrazione;
  65.     }
  66.     public Integer getDurata() {
  67.         return this.durata;
  68.     }
  69.     public void setDurata(Integer durata) {
  70.         this.durata = durata;
  71.     }
  72.     public Long getSerialNumber() {
  73.         return this.serialNumber;
  74.     }
  75.     public void setSerialNumber(Long serialNumber) {
  76.         this.serialNumber = serialNumber;
  77.     }
  78.    
  79. }