BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

pj_stun_msgint_attr Struct Reference

Data Fields

pj_stun_attr_hdr hdr
 
pj_uint8_t hmac [20]
 

Detailed Description

This structure describes STUN MESSAGE-INTEGRITY attribute. The MESSAGE-INTEGRITY attribute contains an HMAC-SHA1 [10] of the STUN message. The MESSAGE-INTEGRITY attribute can be present in any STUN message type. Since it uses the SHA1 hash, the HMAC will be 20 bytes.

Field Documentation

pj_stun_attr_hdr pj_stun_msgint_attr::hdr

Standard STUN attribute header.

pj_uint8_t pj_stun_msgint_attr::hmac[20]

The 20 bytes hmac value.


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.