Class com::mapd::common::SockTransportProperties

class SockTransportProperties

Public Functions

com.mapd.common.SockTransportProperties.SockTransportProperties(String truststore_name, String truststore_passwd)

public constructor (for backward compatibility)

TTransport com.mapd.common.SockTransportProperties.openClientTransport(String server_host, int port)
TTransport com.mapd.common.SockTransportProperties.openHttpsClientTransport(String server_host, int port)
TTransport com.mapd.common.SockTransportProperties.openHttpClientTransport(String server_host, int port)
TServerTransport com.mapd.common.SockTransportProperties.openServerTransport(int port)

Public Static Functions

static SockTransportProperties com.mapd.common.SockTransportProperties.getUnencryptedClient()

Unencrypted Client method

static SockTransportProperties com.mapd.common.SockTransportProperties.getEncryptedClientDefaultTrustStore(boolean validate_server_name)

Encrypted Client method

static SockTransportProperties com.mapd.common.SockTransportProperties.getEncryptedClientSpecifiedTrustStore(String trustStoreName, String trustStorePassword)
static SockTransportProperties com.mapd.common.SockTransportProperties.getEncryptedClientSpecifiedTrustStore(String trustStoreName, String trustStorePassword, boolean validate_server_name)
static SockTransportProperties com.mapd.common.SockTransportProperties.getEncryptedServer(String keyStoreName, String keyStorePassword)

Server methods

static SockTransportProperties com.mapd.common.SockTransportProperties.getUnecryptedServer()

Private Functions

com.mapd.common.SockTransportProperties.SockTransportProperties(TransportType tT, String store_name, String passwd, boolean validate_server_name)

private constructors called from public static methods

com.mapd.common.SockTransportProperties.SockTransportProperties(TransportType transportType, boolean validate_server_name)
void com.mapd.common.SockTransportProperties.initializeAcceptedIssuers(KeyStore trust_store)

end private constructors

TTransport com.mapd.common.SockTransportProperties.openBinaryEncrypted(String server_host, int port)
TServerTransport com.mapd.common.SockTransportProperties.openServerTransportEncrypted(int port)

Private Members

TrustManager [] com.mapd.common.SockTransportProperties.trustManagers
TransportType com.mapd.common.SockTransportProperties.transportType = null
KeyManager [] com.mapd.common.SockTransportProperties.keyManagers
String com.mapd.common.SockTransportProperties.key_store_name = null
char [] com.mapd.common.SockTransportProperties.key_store_password = null
enum TransportType

End static method

Public Members

com.mapd.common.SockTransportProperties.TransportType.encryptedServer
com.mapd.common.SockTransportProperties.TransportType.unencryptedServer
com.mapd.common.SockTransportProperties.TransportType.unencryptedClient
com.mapd.common.SockTransportProperties.TransportType.encryptedClientDefaultTrustStore
com.mapd.common.SockTransportProperties.TransportType.encryptedClientSpecifiedTrustStore