sipXcallLib home page


Public Attributes | List of all members
SIPX_SECURITY_INFO Struct Reference

An SIPX_SECURITY_INFO event informs that application layer of the status of a security operation. More...

#include <sipXtapiEvents.h>

Public Attributes

size_t nSize
 the size of this structure in bytes More...
 
char * szSRTPkey
 the negotiated SRTP key, if any. More...
 
void * pCertificate
 pointer to the certificate blob that was used to encrypt and/or sign. More...
 
int nCertificateSize
 size of the certificate blob More...
 
SIPX_SECURITY_EVENT event
 Event code for this SECURITY_INFO message. More...
 
SIPX_SECURITY_CAUSE cause
 Cause code for this SECURITY_INFO message. More...
 
char * szSubjAltName
 Populated for SECURITY_CAUSE_SIGNATURE_NOTIFY. More...
 
char * callId
 Points to a call-id string associated with the event. More...
 
SIPX_CALL hCall
 A call handle associated with the event. More...
 
char * remoteAddress
 A remote address associated with the event. More...
 

Detailed Description

An SIPX_SECURITY_INFO event informs that application layer of the status of a security operation.

This information is passed as part of the sipXtapi callback mechanism. Based on the SIPX_EVENT_CATEGORY, the application developer should cast the pInfo member of your callback to the appropriate structure.

See also
SIPX_EVENT_CALLBACK_PROC
SIPX_EVENT_CATEGORY

Member Data Documentation

char* callId

Points to a call-id string associated with the event.

Can be NULL.

Cause code for this SECURITY_INFO message.

Event code for this SECURITY_INFO message.

SIPX_CALL hCall

A call handle associated with the event.

Can be 0, to signify that the event is not associated with a call.

int nCertificateSize

size of the certificate blob

size_t nSize

the size of this structure in bytes

void* pCertificate

pointer to the certificate blob that was used to encrypt and/or sign.

char* remoteAddress

A remote address associated with the event.

Can be NULL.

char* szSRTPkey

the negotiated SRTP key, if any.

char* szSubjAltName

Populated for SECURITY_CAUSE_SIGNATURE_NOTIFY.