classes/CSSHSession.cpp
std::string CSSHSession::getCipherIn()
    {
        std::string cipherIn;
        const char *cipher = ssh_get_cipher_in(m_session);
        if (cipher == NULL)
        {
            throw Exception(*this, __func__);
        }
        cipherIn.assign(&cipher[0], &cipher[std::strlen(cipher)]);
        return (cipherIn);
    }
//
// Return string representing name of current session input cipher.
//
Return string representing name of current session input cipher.
Return string representing name of current session input cipher .
std::string CSSHSession::getCipherIn()
    {
        std::string cipherIn;
        const char *cipher = ssh_get_cipher_in(m_session);
        if (cipher == NULL)
        {
            throw Exception(*this, __func__);
        }
        cipherIn.assign(&cipher[0], &cipher[std::strlen(cipher)]);
        return (cipherIn);
    }
std :: string CSSHSession :: getCipherIn ( ) { std :: string cipherIn ; const char * cipher = ssh_get_cipher_in ( m_session ) ; if ( cipher == NULL ) { throw Exception ( * this , __func__ ) ; } cipherIn . assign ( & cipher [ 0 ] , & cipher [ std :: strlen ( cipher ) ] ) ; return ( cipherIn ) ; }
Return string representing name of current session input cipher.
Return string representing name of current session input cipher .