|
OPAL
Version 3.10.10
|
#include <h235auth.h>
Public Types | |
| enum | ValidationResult { e_OK = 0, e_Absent, e_Error, e_InvalidTime, e_BadPassword, e_ReplyAttack, e_Disabled } |
Public Member Functions | |
| H235Authenticator () | |
| virtual void | PrintOn (ostream &strm) const |
| virtual const char * | GetName () const =0 |
| virtual PBoolean | PrepareTokens (PASN_Array &clearTokens, PASN_Array &cryptoTokens) |
| virtual H235_ClearToken * | CreateClearToken () |
| virtual H225_CryptoH323Token * | CreateCryptoToken (bool digits) |
| 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 ValidationResult | ValidateCryptoToken (const H225_CryptoH323Token &cryptoToken, const PBYTEArray &rawPDU) |
| virtual PBoolean | IsCapability (const H235_AuthenticationMechanism &mechansim, const PASN_ObjectId &algorithmOID)=0 |
| virtual PBoolean | SetCapability (H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs)=0 |
| virtual PBoolean | UseGkAndEpIdentifiers () const |
| virtual PBoolean | IsSecuredPDU (unsigned rasPDU, PBoolean received) const |
| virtual PBoolean | IsActive () const |
| void | Enable (PBoolean enab=true) |
| void | Disable () |
| 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) |
Protected Member Functions | |
| PBoolean | AddCapability (unsigned mechanism, const PString &oid, H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs) |
Protected Attributes | |
| PBoolean | enabled |
| PString | remoteId |
| PString | localId |
| PString | password |
| unsigned | sentRandomSequenceNumber |
| unsigned | lastRandomSequenceNumber |
| unsigned | lastTimestamp |
| int | timestampGracePeriod |
| PMutex | mutex |
This abtract class embodies an H.235 authentication mechanism. NOTE: descendants must have a Clone() function for correct operation.
| H235Authenticator::H235Authenticator | ( | ) |
|
protected |
Referenced by SetPassword().
|
virtual |
Reimplemented in H235AuthCAT.
|
virtual |
Reimplemented in H235AuthSimpleMD5.
|
inline |
References enabled.
|
inline |
References enabled.
|
virtual |
|
inline |
References localId.
|
pure virtual |
Implemented in H235AuthCAT, and H235AuthSimpleMD5.
|
inline |
References password.
|
inline |
References remoteId.
|
virtual |
|
pure virtual |
Implemented in H235AuthCAT, and H235AuthSimpleMD5.
|
virtual |
Reimplemented in H235AuthCAT, and H235AuthSimpleMD5.
|
virtual |
|
virtual |
|
pure virtual |
Implemented in H235AuthCAT, and H235AuthSimpleMD5.
|
inline |
References localId.
|
inline |
References AddCapability(), and password.
|
inline |
References remoteId.
|
virtual |
|
virtual |
Reimplemented in H235AuthCAT.
|
virtual |
Reimplemented in H235AuthSimpleMD5.
|
virtual |
|
protected |
|
protected |
|
protected |
Referenced by GetLocalId(), and SetLocalId().
|
protected |
|
protected |
Referenced by GetPassword(), and SetPassword().
|
protected |
Referenced by GetRemoteId(), and SetRemoteId().
|
protected |
|
protected |