wmJNIc.c
connectCcCert


jint
connectCcCert(
      WmContext *con,
      const char *host,
      const char *cert)
Establishes the connection parameters for a transactional request. Each transaction is stored with the parameters in effect at the time the transaction is created.

Authentication with this certificate is performed at the application layer and is independent of certificates used to establish secure connections like SSL.

Parameters:
WmContext *con - Client Context(Either WM_SYNC_CONTEXT or WM_TRAN_CONTEXT).
const char *host - Server endpoint in the form:host:port.
const char *cert - Full path name of the file containing the certificate to submit. For example, c:\mycert.der if your certificate mycert.der is in c:\.
Returns:
jint - Return 1 if success and 0 otherwise.