public class CryptshareConnection
extends java.lang.Object
Client instances.| Constructor and Description |
|---|
CryptshareConnection(WebServiceUri serverUrl)
Constructs a
CryptshareConnection that connects to Cryptshare Server using the API as client product. |
CryptshareConnection(WebServiceUri serviceUri,
java.lang.String productId,
java.lang.String productKey,
java.lang.String clientVersion,
int requiredLanguagePackMajorVersion)
Constructs a
CryptshareConnection that connects to Cryptshare Server using custom client product properties. |
CryptshareConnection(WebServiceUri serviceUri,
java.lang.String productId,
java.lang.String productKey,
java.lang.String clientVersion,
int requiredLanguagePackMajorVersion,
java.net.URI proxyUrl)
Constructs a
CryptshareConnection that connects to Cryptshare Server using custom client product properties,
and a specified proxy server. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClientPlatform()
Returns the client platform description that is sent to the server.
|
java.lang.String |
getClientVersion()
Returns the client version information string that is sent to the server.
|
java.lang.String |
getProductId()
Returns the product ID that identifies the client product.
|
int |
getRequiredLanguagePackMajorVersion()
Returns the major version of the language packs that is required by current version of the requesting product.
|
WebServiceUri |
getWebServiceUri()
Returns the
WebServiceUri that is used for the web service requests. |
void |
setClientPlatform(java.lang.String clientPlatform)
Sets the client platform description that is sent to the server.
|
void |
setClientVersion(java.lang.String clientVersion)
Sets the client version information string that is sent to the server.
|
void |
setProductId(java.lang.String productId)
Sets the product ID that identifies the client product.
|
void |
setProductKey(java.lang.String productKey)
Sets the product key that identifies the client product.
|
void |
setRequiredLanguagePackMajorVersion(int requiredLanguagePackMajorVersion)
Sets the major version of the language packs that is required by current version of the requesting product.
|
public CryptshareConnection(WebServiceUri serverUrl)
CryptshareConnection that connects to Cryptshare Server using the API as client product.
No proxy is used.serverUrl - The WebServiceUri that specifies the Cryptshare Server URL.public CryptshareConnection(WebServiceUri serviceUri, java.lang.String productId, java.lang.String productKey, java.lang.String clientVersion, int requiredLanguagePackMajorVersion)
CryptshareConnection that connects to Cryptshare Server using custom client product properties.
No proxy is used.serviceUri - The WebServiceUri that specifies the Cryptshare Server URL.productId - The ID of the Cryptshare product.productKey - The key of the Cryptshare product.clientVersion - The client version information string that is sent to the server.requiredLanguagePackMajorVersion - The major language pack version that is required by the product.public CryptshareConnection(WebServiceUri serviceUri, java.lang.String productId, java.lang.String productKey, java.lang.String clientVersion, int requiredLanguagePackMajorVersion, java.net.URI proxyUrl)
CryptshareConnection that connects to Cryptshare Server using custom client product properties,
and a specified proxy server.serviceUri - The WebServiceUri that specifies the Cryptshare Server URL.productId - The ID of the Cryptshare product.productKey - The key of the Cryptshare product.clientVersion - The client version information string that is sent to the server.requiredLanguagePackMajorVersion - The major language pack version that is required by the product.proxyUrl - the URI of the proxy server to use. If URI is null, the system
proxy, if available, will be used.public java.lang.String getProductId()
public void setProductId(java.lang.String productId)
productId - The product ID.public void setProductKey(java.lang.String productKey)
productKey - The product key.public java.lang.String getClientVersion()
public void setClientVersion(java.lang.String clientVersion)
clientVersion - The client version.public java.lang.String getClientPlatform()
public void setClientPlatform(java.lang.String clientPlatform)
clientPlatform - The client platform description.public int getRequiredLanguagePackMajorVersion()
public void setRequiredLanguagePackMajorVersion(int requiredLanguagePackMajorVersion)
requiredLanguagePackMajorVersion - The required language pack major version.public WebServiceUri getWebServiceUri()
WebServiceUri that is used for the web service requests.