BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

pj_stun_req_cred_info Struct Reference

Data Fields

pj_str_t realm
 
pj_str_t username
 
pj_str_t nonce
 
pj_str_t auth_key
 

Detailed Description

This structure contains the credential information that is found and used to authenticate incoming requests. Application may use this information when generating authentication for the outgoing response.

Field Documentation

pj_str_t pj_stun_req_cred_info::auth_key

Authentication key that was used to authenticate the incoming request. This key is created with pj_stun_create_key(), and it can be used to encode the credential of the outgoing response.

pj_str_t pj_stun_req_cred_info::nonce

Optional NONCE.

pj_str_t pj_stun_req_cred_info::realm

The REALM value found in the incoming request. If short term credential is used, the value will be empty.

pj_str_t pj_stun_req_cred_info::username

The USERNAME value found in the incoming request.


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

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.