BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::DigestCredential Struct Reference

#include <endpoint.hpp>

Public Member Functions

void fromPj (const pjsip_digest_credential &prm)
 
pjsip_digest_credential toPj () const
 

Data Fields

std::string realm
 
StringToStringMap otherParam
 
std::string username
 
std::string nonce
 
std::string uri
 
std::string response
 
std::string algorithm
 
std::string cnonce
 
std::string opaque
 
std::string qop
 
std::string nc
 

Detailed Description

This structure describe credential used in Authorization and Proxy-Authorization header for digest authentication scheme.

Member Function Documentation

◆ fromPj()

void pj::DigestCredential::fromPj ( const pjsip_digest_credential prm)

Convert from pjsip

◆ toPj()

pjsip_digest_credential pj::DigestCredential::toPj ( ) const

Convert to pjsip

Field Documentation

◆ realm

std::string pj::DigestCredential::realm

Realm of the credential

◆ otherParam

StringToStringMap pj::DigestCredential::otherParam

Other parameters.

◆ username

std::string pj::DigestCredential::username

Username parameter.

◆ nonce

std::string pj::DigestCredential::nonce

Nonce parameter.

◆ uri

std::string pj::DigestCredential::uri

URI parameter.

◆ response

std::string pj::DigestCredential::response

Response digest.

◆ algorithm

std::string pj::DigestCredential::algorithm

Algorithm.

◆ cnonce

std::string pj::DigestCredential::cnonce

Cnonce.

◆ opaque

std::string pj::DigestCredential::opaque

Opaque value.

◆ qop

std::string pj::DigestCredential::qop

Quality of protection.

◆ nc

std::string pj::DigestCredential::nc

Nonce count.


The documentation for this struct was generated from the following file:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.