code: public boolean setPublicKey (PublicKey key)
      {
          if (SecureUtil.ciphersSupported(key)) {
              _publicKey = key;
              return true;
          }
          return false;
      }
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