com.secpod.action
Class ClientAction.InstallCert

java.lang.Object
  extended by com.secpod.action.ClientAction.InstallCert
Enclosing class:
ClientAction

public class ClientAction.InstallCert
extends java.lang.Object

This class is a Certificate Installer


Constructor Summary
ClientAction.InstallCert()
           
 
Method Summary
 int trustCert(java.lang.String url, java.lang.String password)
          This function should be called for trusting a certificate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientAction.InstallCert

public ClientAction.InstallCert()
Method Detail

trustCert

public int trustCert(java.lang.String url,
                     java.lang.String password)
              throws java.lang.Exception
This function should be called for trusting a certificate

Parameters:
url - The URL link
password - The password to key store file, default is "changeit"
Returns:
int Error code. 0 is success, -1 is failure
Throws:
java.lang.Exception