PcapPlusPlus  Next
pcpp::LdapBindRequestLayer::SaslAuthentication Struct Reference

#include <LdapLayer.h>

Public Member Functions

bool operator== (const SaslAuthentication &other) const
 
bool operator!= (const SaslAuthentication &other) const
 

Public Attributes

std::string mechanism
 The SASL mechanism.
 
std::vector< uint8_t > credentials
 Encoded SASL credentials.
 

Detailed Description

A struct to represent SASL authentication

Member Function Documentation

◆ operator!=()

bool pcpp::LdapBindRequestLayer::SaslAuthentication::operator!= ( const SaslAuthentication other) const
inline

Inequality operator overload for this struct

Parameters
[in]otherThe value to compare with
Returns
False if both values are equal, true otherwise

◆ operator==()

bool pcpp::LdapBindRequestLayer::SaslAuthentication::operator== ( const SaslAuthentication other) const
inline

Equality operator overload for this struct

Parameters
[in]otherThe value to compare with
Returns
True if both values are equal, false otherwise