#include <remote.h>
Public Member Functions | |
IAX2Encryption () | |
void | SetEncryptionOn (BOOL newState=TRUE) |
void | SetEncryptionKey (PString &newKey) |
void | SetChallengeKey (PString &newKey) |
const PString & | EncryptionKey () const |
const PString & | ChallengeKey () const |
const BOOL | IsEncrypted () const |
Protected Member Functions | |
void | CalculateAesKeys () |
Protected Attributes | |
PString | encryptionKey |
PString | challengeKey |
BOOL | encryptionEnabled |
|
Constructor, which sets encrytpion to the default value of "OFF" |
|
Do the calculation of the encrypt and decrypt AES 128 keys. If neither, or only 1 of the encrypt/challenge keys are defined, do nothing |
|
Get the value of the challenge key |
|
Get the value of the encrption key - or password key |
|
Report if the encryption is enabled (or turned on) |
|
Set the challenge used in encryption process |
|
Set the password/key used in encryption process |
|
Set the flag that indicates this communication session is all encrypted.. |
|
string to use for decryption/encryption of this frame |
|
Flag to specify if encryption is happening |
|
string to use for decryption/encryption of this frame |