8#define RESIPROCATE_SUBSYSTEM ReTurnSubsystem::RETURN
30 r << userName <<
":" << realm <<
":" << password;
38 if(ha1Hex.
size() != 32)
40 throw ConfigParse::Exception(
"H(A1) password field must contain 32 character hex string", __FILE__, __LINE__);
UserAuthData(const resip::Data &userName, const resip::Data &realm, const resip::Data &ha1)
static UserAuthData createFromHex(const resip::Data &userName, const resip::Data &realm, const resip::Data &ha1Hex)
static UserAuthData createFromPassword(const resip::Data &userName, const resip::Data &realm, const resip::Data &password)
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
size_type size() const noexcept
Returns the number of bytes in this Data.
Data fromHex() const
Returns the binary form of the hexadecimal string in this Data.
Used to accumlate data written to the stream in a DigestBuffer and convert the data to Digest.
dcm! – add UnusedChecking(_enum) below;