pjsip logo pjsip.org
Open source SIP stack and media stack for presence, im/instant messaging, and multimedia communication

HOME

SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port

FAQ

Documentation

Licensing

Download

Development (Trac)

Projects using pjsip

Mailing List

Open Source Links


About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono
<bennylp@pjsip.org>


 

Home --> Documentations --> PJSIP Reference

pjsip_cred_info Struct Reference
[Authentication API's]

#include <sip_auth.h>


Detailed Description

This structure describes credential information. A credential information is a static, persistent information that identifies username and password required to authorize to a specific realm.

Note that since PJSIP 0.7.0.1, it is possible to make a credential that is valid for any realms, by setting the realm to star/wildcard character, i.e. realm = pj_str("*");.

Data Fields

pj_str_t realm
pj_str_t scheme
pj_str_t username
int data_type
pj_str_t data
union {
   struct {
      pj_str_t   k
      pj_str_t   op
      pj_str_t   amf
      pjsip_cred_cb   cb
   }   aka
ext


Field Documentation

Realm. Use "*" to make a credential that can be used to authenticate against any challenges.

Scheme (e.g. "digest").

Type of data (0 for plaintext passwd).

The data, which can be a plaintext password or a hashed digest.

Permanent subscriber key.

Operator variant key.

Authentication Management Field

Callback to create AKA digest.

struct { ... } pjsip_cred_info::aka

Digest AKA credential information. Note that when AKA credential is being used, the data field of this pjsip_cred_info is not used, but it still must be initialized to an empty string. Please see Digest AKAv1 and AKAv2 Authentication API for more information.

union { ... } pjsip_cred_info::ext

Extended data


The documentation for this struct was generated from the following file:
  • sip_auth.h

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
(C)2003-2008 Benny Prijono