KeystoreParams.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.utils.certificate;

  21. /**
  22.  * KeystoreParams
  23.  *
  24.  * @author Poli Andrea (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class KeystoreParams {

  29.     private byte[] store;
  30.     private String path;
  31.     private String type;
  32.     private String password;
  33.     private String crls;
  34.     private String ocspPolicy;
  35.     private String byokPolicy;
  36.     private String keyAlias;
  37.     private String keyPassword;
  38.    
  39.     private String keyPairPublicKeyPath;
  40.     private byte[] keyPairPublicKey;
  41.     private String keyPairAlgorithm;
  42.    
  43.     private String description;
  44.    
  45.     public byte[] getStore() {
  46.         return this.store;
  47.     }
  48.     public void setStore(byte[] store) {
  49.         this.store = store;
  50.     }
  51.     public String getPath() {
  52.         return this.path;
  53.     }
  54.     public void setPath(String path) {
  55.         this.path = path;
  56.     }
  57.     public String getType() {
  58.         return this.type;
  59.     }
  60.     public void setType(String type) {
  61.         this.type = type;
  62.     }
  63.     public String getPassword() {
  64.         return this.password;
  65.     }
  66.     public void setPassword(String password) {
  67.         this.password = password;
  68.     }
  69.     public String getCrls() {
  70.         return this.crls;
  71.     }
  72.     public void setCrls(String crls) {
  73.         this.crls = crls;
  74.     }
  75.     public String getOcspPolicy() {
  76.         return this.ocspPolicy;
  77.     }
  78.     public void setOcspPolicy(String ocspPolicy) {
  79.         this.ocspPolicy = ocspPolicy;
  80.     }
  81.     public String getByokPolicy() {
  82.         return this.byokPolicy;
  83.     }
  84.     public void setByokPolicy(String byokPolicy) {
  85.         this.byokPolicy = byokPolicy;
  86.     }
  87.     public String getKeyAlias() {
  88.         return this.keyAlias;
  89.     }
  90.     public void setKeyAlias(String keyAlias) {
  91.         this.keyAlias = keyAlias;
  92.     }
  93.     public String getKeyPassword() {
  94.         return this.keyPassword;
  95.     }
  96.     public void setKeyPassword(String keyPassword) {
  97.         this.keyPassword = keyPassword;
  98.     }

  99.     public String getKeyPairPublicKeyPath() {
  100.         return this.keyPairPublicKeyPath;
  101.     }
  102.     public void setKeyPairPublicKeyPath(String keyPairPublicKeyPath) {
  103.         this.keyPairPublicKeyPath = keyPairPublicKeyPath;
  104.     }
  105.     public byte[] getKeyPairPublicKey() {
  106.         return this.keyPairPublicKey;
  107.     }
  108.     public void setKeyPairPublicKey(byte[] keyPairPublicKey) {
  109.         this.keyPairPublicKey = keyPairPublicKey;
  110.     }
  111.     public String getKeyPairAlgorithm() {
  112.         return this.keyPairAlgorithm;
  113.     }
  114.     public void setKeyPairAlgorithm(String keyPairAlgorithm) {
  115.         this.keyPairAlgorithm = keyPairAlgorithm;
  116.     }
  117.    
  118.     public String getDescription() {
  119.         return this.description;
  120.     }
  121.     public void setDescription(String description) {
  122.         this.description = description;
  123.     }
  124. }