com.quorum.tessera.ssl.context.model.SSLContextProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security Show documentation
Show all versions of security Show documentation
Tessera is a stateless Java system that is used to enable the encryption, decryption, and distribution of private transactions for Quorum.
package com.quorum.tessera.ssl.context.model;
import java.nio.file.Path;
import java.util.List;
public class SSLContextProperties {
private String address;
private Path keyStore;
private char[] keyStorePassword;
private Path key;
private Path certificate;
private Path trustStore;
private char[] trustStorePassword;
private List trustedCertificates;
private Path knownHosts;
public SSLContextProperties(
String address,
Path keyStore,
char[] keyStorePassword,
Path key,
Path certificate,
Path trustStore,
char[] trustStorePassword,
List trustedCertificates,
Path knownHosts) {
this.address = address;
this.keyStore = keyStore;
this.keyStorePassword = keyStorePassword;
this.key = key;
this.certificate = certificate;
this.trustStore = trustStore;
this.trustStorePassword = trustStorePassword;
this.trustedCertificates = trustedCertificates;
this.knownHosts = knownHosts;
}
public String getAddress() {
return address;
}
public Path getKeyStore() {
return keyStore;
}
public char[] getKeyStorePassword() {
return keyStorePassword;
}
public Path getKey() {
return key;
}
public Path getCertificate() {
return certificate;
}
public Path getTrustStore() {
return trustStore;
}
public char[] getTrustStorePassword() {
return trustStorePassword;
}
public List getTrustedCertificates() {
return trustedCertificates;
}
public Path getKnownHosts() {
return knownHosts;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy