WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJNATH Reference

#include <stun_msg.h>

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

◆ hdr

pj_stun_attr_hdr pj_stun_msgint_attr::hdr

Standard STUN attribute header.

◆ hmac

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.