HP-UX C SIP Stack Programmer's Guide (Novembery 2007)

ix
Bad Syntax Parameter 164
Bad Syntax Header 165
Bad Syntax Start Line 165
Handling Bad Syntax Messages 165
Fixing Bad Syntax Messages 168
Bad Syntax Events (Callbacks) 168
Bad Syntax API 169
Working With Multipart MIME 174
Message Multipart Body Structure 175
Content-Type Header 177
Headers in the Body Part object 178
Parsing a Multipart Body 179
Creating a Multipart Body 181
Encoding a Multipart Body 183
Body String 183
10 Authentication
Introduction 185
Shared Secret 185
Digest Authentication with MD5 185
Authentication Process 185
Authenticator Object 186
Client Authentication Implementation 187
Client Authenticator Callbacks 187
Authentication Object Control 192
Authenticating a Message in Advance 193
Client Authentication for Stand-alone Transaction 196
Client Authentication with Multiple Proxies 196
Server Authentication Implementation 197
Applying the Server Authentication Mechanism 197
Server Authentication Process 198
Server Authentication Functions and Callbacks 201
Authenticator Functions for Server Usage 208