code: public boolean setPublicKey (String key)
      {
          return key == null ? false : setPublicKey(SecureUtil.stringToRSAPublicKey(key));
      }
docs: Sets the public key that will be used by this client to create a secure authentication
  channel with the server if the ciphers are supported.  This should be done before any call
  to <code>logon</code>.
  
  @return true if the key is set