classes/CSSHSession.cpp
std::string CSSHSession::getHMACIn()
    {
        std::string hmacIn;
        const char *hmac = ssh_get_hmac_in(m_session);
        if (hmac == NULL)
        {
            throw Exception(*this, __func__);
        }
        hmacIn.assign(&hmac[0], &hmac[std::strlen(hmac)]);
        return (hmacIn);
    }
//
// Return string representing name of current session input HMAC algorithm.
//
Return string representing name of current session input HMAC algorithm.
Return string representing name of current session input HMAC algorithm .
std::string CSSHSession::getHMACIn()
    {
        std::string hmacIn;
        const char *hmac = ssh_get_hmac_in(m_session);
        if (hmac == NULL)
        {
            throw Exception(*this, __func__);
        }
        hmacIn.assign(&hmac[0], &hmac[std::strlen(hmac)]);
        return (hmacIn);
    }
std :: string CSSHSession :: getHMACIn ( ) { std :: string hmacIn ; const char * hmac = ssh_get_hmac_in ( m_session ) ; if ( hmac == NULL ) { throw Exception ( * this , __func__ ) ; } hmacIn . assign ( & hmac [ 0 ] , & hmac [ std :: strlen ( hmac ) ] ) ; return ( hmacIn ) ; }
Return string representing name of current session input HMAC algorithm.
Return string representing name of current session input HMAC algorithm .