pl.allegro.tech.hermes.common.ssl.KeystoreProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-common Show documentation
Show all versions of hermes-common Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.common.ssl;
import java.net.URI;
public class KeystoreProperties {
private final String location;
private final String format;
private final String password;
public KeystoreProperties(String location, String format, String password) {
this.location = location;
this.format = format;
this.password = password;
}
public String getLocation() {
return location;
}
public String getFormat() {
return format;
}
public String getPassword() {
return password;
}
public URI getLocationAsURI() {
return URI.create(getLocation());
}
}