Container class for security attributes. More...
#include <sipXtapi.h>
Public Member Functions | |
SIPX_SECURITY_ATTRIBUTES () | |
Constructor. More... | |
SIPX_SECURITY_ATTRIBUTES (const SIPX_SECURITY_ATTRIBUTES &ref) | |
Copy constructor. More... | |
virtual | ~SIPX_SECURITY_ATTRIBUTES () |
Destructor. More... | |
SIPX_SECURITY_ATTRIBUTES & | operator= (const SIPX_SECURITY_ATTRIBUTES &ref) |
Assignment operator. More... | |
void | setSrtpKey (const char *szKey, const int length) |
Sets the symmetric SRTP key. More... | |
void | setSmimeKey (const char *szKey, const int length) |
Sets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP. More... | |
void | setSecurityLevel (SIPX_SRTP_LEVEL security) |
Sets the S/MIME & SRTP security level. More... | |
const char * | getSrtpKey () const |
Gets the symmetric SRTP key. More... | |
const char * | getSmimeKey () const |
Gets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP. More... | |
const int | getSrtpKeyLength () const |
Gets the symmetric SRTP key length. More... | |
const int | getSmimeKeyLength () const |
Gets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP. More... | |
const int | getSecurityLevel () const |
Sets the S/MIME & SRTP security level. More... | |
const char * | getCertDbLocation () const |
Gets the Certificate Database location (set internally to the location specified in the call to sipxConfigSetSecurityParameters() ) More... | |
Private Member Functions | |
void | copyData (const SIPX_SECURITY_ATTRIBUTES &ref) |
Private Attributes | |
SIPX_SRTP_LEVEL | nSrtpLevel |
char | szSrtpKey [MAX_SRTP_KEY_LENGTH] |
int | nSrtpKeyLength |
char | szSmimeKeyDer [MAX_SMIME_KEY_LENGTH] |
int | nSmimeKeyLength |
char | dbLocation [256] |
char | szMyCertNickname [32] |
char | szCertDbPassword [MAX_PASSWORD_LENGTH] |
Friends | |
class | SecurityHelper |
The security help can set private values of this class. More... | |
Container class for security attributes.
|
inline |
Constructor.
|
inline |
Copy constructor.
|
inlinevirtual |
Destructor.
|
inlineprivate |
|
inline |
Gets the Certificate Database location (set internally to the location specified in the call to sipxConfigSetSecurityParameters() )
|
inline |
Sets the S/MIME & SRTP security level.
|
inline |
Gets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP.
|
inline |
Gets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP.
|
inline |
Gets the symmetric SRTP key.
|
inline |
Gets the symmetric SRTP key length.
|
inline |
Assignment operator.
|
inline |
Sets the S/MIME & SRTP security level.
|
inline |
Sets the public key of the remote party, which is used to encrypt the S/MIME container for the SDP.
|
inline |
Sets the symmetric SRTP key.
If this is not supplied by the user, sipXtapi will generate a random key.
|
friend |
The security help can set private values of this class.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |