OPAL
Version 3.18.8
|
#include <h235auth.h>
Public Member Functions | |
H235AuthSimpleMD5 () | |
PObject * | Clone () const |
virtual const char * | GetName () const |
virtual H225_CryptoH323Token * | CreateCryptoToken (bool digits) |
virtual ValidationResult | ValidateCryptoToken (const H225_CryptoH323Token &cryptoToken, const PBYTEArray &rawPDU) |
virtual PBoolean | IsCapability (const H235_AuthenticationMechanism &mechansim, const PASN_ObjectId &algorithmOID) |
virtual PBoolean | SetCapability (H225_ArrayOf_AuthenticationMechanism &mechansim, H225_ArrayOf_PASN_ObjectId &algorithmOIDs) |
virtual PBoolean | IsSecuredPDU (unsigned rasPDU, PBoolean received) const |
![]() | |
H235Authenticator () | |
virtual void | PrintOn (ostream &strm) const |
virtual PBoolean | PrepareTokens (PASN_Array &clearTokens, PASN_Array &cryptoTokens, unsigned rasPDU) |
virtual H235_ClearToken * | CreateClearToken (unsigned rasPDU) |
virtual H235_ClearToken * | CreateClearToken () |
virtual H225_CryptoH323Token * | CreateCryptoToken (bool digits, unsigned rasPDU) |
virtual PBoolean | Finalise (PBYTEArray &rawPDU) |
virtual ValidationResult | ValidateTokens (const PASN_Array &clearTokens, const PASN_Array &cryptoTokens, const PBYTEArray &rawPDU) |
virtual ValidationResult | ValidateClearToken (const H235_ClearToken &clearToken) |
virtual PBoolean | UseGkAndEpIdentifiers () const |
void | Enable (PBoolean enab=true) |
void | Disable () |
bool | IsEnabled () const |
const PString & | GetRemoteId () const |
void | SetRemoteId (const PString &id) |
const PString & | GetLocalId () const |
void | SetLocalId (const PString &id) |
const PString & | GetPassword () const |
void | SetPassword (const PString &pw) |
Application | GetApplication () |
Get Authentication Application. More... | |
Additional Inherited Members | |
![]() | |
enum | ValidationResult { e_OK = 0, e_Absent, e_Error, e_InvalidTime, e_BadPassword, e_ReplyAttack, e_Disabled } |
enum | Application { GKAdmission, EPAuthentication, LRQOnly, AnyApplication } |
![]() | |
PINDEX | AddCapabilityIfNeeded (unsigned mechanism, const PString &oid, H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs) |
PDECLARE_MUTEX (mutex) | |
![]() | |
bool | m_enabled |
PString | remoteId |
PString | localId |
PString | password |
unsigned | sentRandomSequenceNumber |
unsigned | lastRandomSequenceNumber |
unsigned | lastTimestamp |
int | timestampGracePeriod |
Application | usage |
Authenticator's Application. More... | |
This class embodies a simple MD5 based authentication. The users password is concatenated with the 4 byte timestamp and 4 byte random fields and an MD5 generated and sent/verified
H235AuthSimpleMD5::H235AuthSimpleMD5 | ( | ) |
PObject* H235AuthSimpleMD5::Clone | ( | ) | const |
|
virtual |
Reimplemented from H235Authenticator.
|
virtual |
Implements H235Authenticator.
|
virtual |
Implements H235Authenticator.
|
virtual |
Reimplemented from H235Authenticator.
|
virtual |
Implements H235Authenticator.
|
virtual |
Reimplemented from H235Authenticator.