public class ConnectionConfiguration extends Object
The ActivID Mobile SDK connects to an ActivID AS instance for authentication and provisioning purpose. This class enables the application consuming the SDK to configure some of the connection settings:
Constructor and Description |
---|
ConnectionConfiguration() |
Modifier and Type | Method and Description |
---|---|
HostnameVerifier |
getHostnameVerifier()
Returns the host name verifier for the connection
|
X509TrustManager |
getTrustManager()
Returns the trust manager for the connection
|
void |
setHostnameVerifier(HostnameVerifier customHostNameVerifier)
Sets the host name verifier for the connection
|
void |
setTrustManager(X509TrustManager trustManager)
Sets the trust manager for the connection
|
public X509TrustManager getTrustManager()
public void setTrustManager(X509TrustManager trustManager)
trustManager
- the connection's trust managerpublic HostnameVerifier getHostnameVerifier()
public void setHostnameVerifier(HostnameVerifier customHostNameVerifier)
customHostNameVerifier
- the connection's host name verifierCopyright © 2005-2020 HID Global Corporation/ASSA ABLOY AB.