/// <summary>
        /// Set the digest type
        /// </summary>
        /// <param name="digestType"></param>
        /// <returns></returns>
        public SSHAgentClient SetDigestType(SSHAgentAuthenticator.DigestType digestType)
        {
            if (CurrentAuthenticator is SSHAgentAuthenticator auth)
            {
                auth.SetDigestType(digestType);
            }

            return(this);
        }
 /// <summary>
 /// Construct a client with a local public key file and existing HTTP Client
 /// </summary>
 /// <param name="endpoint"></param>
 /// <param name="username"></param>
 /// <param name="publicKeyPath"></param>
 /// <param name="agentSocketPath"></param>
 /// <param name="digestType"></param>
 public SSHAgentClient(HttpClient httpClient, String endpoint, String username, String publicKeyPath, String agentSocketPath = "", SSHAgentAuthenticator.DigestType digestType = SSHAgentAuthenticator.DigestType.SSH_RSA_SHA256) :
     base(httpClient, endpoint, new SSHAgentAuthenticator(username, publicKeyPath, agentSocketPath, digestType))
 {
 }