|
OPAL
Version 3.18.8
|
#include <remote.h>
Inherits PObject.
Public Member Functions | |
| IAX2Encryption () | |
| void | SetEncryptionOn (PBoolean newState=true) |
| void | SetEncryptionKey (PString &newKey) |
| void | SetChallengeKey (PString &newKey) |
| const PString & | EncryptionKey () const |
| const PString & | ChallengeKey () const |
| PBoolean | IsEncrypted () const |
Protected Member Functions | |
| void | CalculateAesKeys () |
Protected Attributes | |
| PString | encryptionKey |
| PString | challengeKey |
| PBoolean | encryptionEnabled |
A class that holds the state variables on encryption - is it on, and the two keys.
| IAX2Encryption::IAX2Encryption | ( | ) |
Constructor, which sets encrytpion to the default value of "OFF"
|
protected |
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
| const PString& IAX2Encryption::ChallengeKey | ( | ) | const |
Get the value of the challenge key
| const PString& IAX2Encryption::EncryptionKey | ( | ) | const |
Get the value of the encrption key - or password key
| PBoolean IAX2Encryption::IsEncrypted | ( | ) | const |
Report if the encryption is enabled (or turned on)
| void IAX2Encryption::SetChallengeKey | ( | PString & | newKey | ) |
Set the challenge used in encryption process
| void IAX2Encryption::SetEncryptionKey | ( | PString & | newKey | ) |
Set the password/key used in encryption process
| void IAX2Encryption::SetEncryptionOn | ( | PBoolean | newState = true | ) |
Set the flag that indicates this communication session is all encrypted..
|
protected |
string to use for decryption/encryption of this frame
|
protected |
Flag to specify if encryption is happening
|
protected |
string to use for decryption/encryption of this frame