
net.dona.doip.client.transport.ConnectionOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of doip-sdk Show documentation
Show all versions of doip-sdk Show documentation
DOIP Software Development Kit that implements DOIP v2 Specification.
package net.dona.doip.client.transport;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.util.List;
/**
* Options for a connection to a DOIP server.
*/
public class ConnectionOptions {
/**
* The IP address of the DOIP server.
*/
public String address;
/**
* The port of the DOIP server.
*/
public int port;
/**
* Connection timeout in ms.
*/
public Integer connectTimeoutMs;
/**
* Read timeout in ms.
*/
public Integer readTimeoutMs;
/**
* The identifier of the server; if present {@link #trustedServerPublicKeys} should also be provided.
*/
public String serverId;
/**
* A list of public keys that will be trusted for this server.
*/
public List trustedServerPublicKeys;
/**
* The identifier for the client; if present, will be used along with {@link #clientPublicKey} and {@link #clientPrivateKey}
* to produce a client-side TLS certificate to be used for the connection.
*/
public String clientId;
public PublicKey clientPublicKey;
public PrivateKey clientPrivateKey;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy