Home --> Documentations --> PJNATH Reference
Go to the documentation of this file.
19#ifndef __PJNATH_STUN_AUTH_H__
20#define __PJNATH_STUN_AUTH_H__
pj_status_t pj_stun_authenticate_response(const pj_uint8_t *pkt, unsigned pkt_len, const pj_stun_msg *msg, const pj_str_t *key)
pj_stun_auth_cred_type Definition: stun_auth.h:68
pj_stun_auth_type Definition: stun_auth.h:45
void pj_stun_create_key(pj_pool_t *pool, pj_str_t *key, const pj_str_t *realm, const pj_str_t *username, pj_stun_passwd_type data_type, const pj_str_t *data)
pj_status_t pj_stun_authenticate_request(const pj_uint8_t *pkt, unsigned pkt_len, const pj_stun_msg *msg, pj_stun_auth_cred *cred, pj_pool_t *pool, pj_stun_req_cred_info *info, pj_stun_msg **p_response)
pj_stun_passwd_type Definition: stun_auth.h:91
void pj_stun_auth_cred_dup(pj_pool_t *pool, pj_stun_auth_cred *dst, const pj_stun_auth_cred *src)
void pj_stun_req_cred_info_dup(pj_pool_t *pool, pj_stun_req_cred_info *dst, const pj_stun_req_cred_info *src)
pj_bool_t pj_stun_auth_valid_for_msg(const pj_stun_msg *msg)
@ PJ_STUN_AUTH_CRED_STATIC Definition: stun_auth.h:74
@ PJ_STUN_AUTH_CRED_DYNAMIC Definition: stun_auth.h:82
@ PJ_STUN_AUTH_NONE Definition: stun_auth.h:49
@ PJ_STUN_AUTH_SHORT_TERM Definition: stun_auth.h:54
@ PJ_STUN_AUTH_LONG_TERM Definition: stun_auth.h:59
@ PJ_STUN_PASSWD_HASHED Definition: stun_auth.h:102
@ PJ_STUN_PASSWD_PLAIN Definition: stun_auth.h:95
Definition: stun_auth.h:114
pj_str_t username Definition: stun_auth.h:140
struct pj_stun_auth_cred::@2::@4 dyn_cred
pj_bool_t(* verify_nonce)(const pj_stun_msg *msg, void *user_data, const pj_str_t *realm, const pj_str_t *username, const pj_str_t *nonce) Definition: stun_auth.h:280
pj_stun_passwd_type data_type Definition: stun_auth.h:145
pj_status_t(* get_password)(const pj_stun_msg *msg, void *user_data, const pj_str_t *realm, const pj_str_t *username, pj_pool_t *pool, pj_stun_passwd_type *data_type, pj_str_t *data) Definition: stun_auth.h:256
void * user_data Definition: stun_auth.h:170
pj_stun_auth_cred_type type Definition: stun_auth.h:118
struct pj_stun_auth_cred::@2::@3 static_cred
pj_str_t data Definition: stun_auth.h:152
pj_str_t nonce Definition: stun_auth.h:157
pj_status_t(* get_auth)(void *user_data, pj_pool_t *pool, pj_str_t *realm, pj_str_t *nonce) Definition: stun_auth.h:194
pj_status_t(* get_cred)(const pj_stun_msg *msg, void *user_data, pj_pool_t *pool, pj_str_t *realm, pj_str_t *username, pj_str_t *nonce, pj_stun_passwd_type *data_type, pj_str_t *data) Definition: stun_auth.h:224
pj_str_t realm Definition: stun_auth.h:135
Definition: stun_msg.h:1172
Definition: stun_auth.h:299
pj_str_t username Definition: stun_auth.h:309
pj_str_t realm Definition: stun_auth.h:304
pj_str_t auth_key Definition: stun_auth.h:322
pj_str_t nonce Definition: stun_auth.h:314
|
PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.
|