All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xipki.ca.gateway.conf.SignerConf Maven / Gradle / Ivy

There is a newer version: 6.5.1
Show newest version
// Copyright (c) 2013-2023 xipki. All rights reserved.
// License Apache License 2.0

package org.xipki.ca.gateway.conf;

import org.xipki.util.FileOrBinary;
import org.xipki.util.ValidableConf;
import org.xipki.util.exception.InvalidConfException;

import java.util.List;

/**
 *
 * @author Lijun Liao (xipki)
 * @since 6.0.0
 */

public class SignerConf extends ValidableConf {

  private List certs;

  private String type;

  private String conf;

  public List getCerts() {
    return certs;
  }

  public void setCerts(List certs) {
    this.certs = certs;
  }

  public String getType() {
      return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getConf() {
    return conf;
  }

  public void setConf(String conf) {
    this.conf = conf;
  }

  @Override
  public void validate() throws InvalidConfException {
    notBlank(type, "type");
    notBlank(conf, "conf");
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy