|
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 BOOL | PrepareTokens (PASN_Array &clearTokens, PASN_Array &cryptoTokens) |
virtual H235_ClearToken * | CreateClearToken () |
virtual H225_CryptoH323Token * | CreateCryptoToken () |
virtual BOOL | 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 BOOL | IsCapability (const H235_AuthenticationMechanism &mechansim, const PASN_ObjectId &algorithmOID)=0 |
virtual BOOL | SetCapability (H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs)=0 |
virtual BOOL | UseGkAndEpIdentifiers () const |
virtual BOOL | IsSecuredPDU (unsigned rasPDU, BOOL received) const |
virtual BOOL | IsActive () const |
void | Enable (BOOL 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 |
BOOL | AddCapability (unsigned mechanism, const PString &oid, H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs) |
Protected Attributes |
BOOL | enabled |
PString | remoteId |
PString | localId |
PString | password |
unsigned | sentRandomSequenceNumber |
unsigned | lastRandomSequenceNumber |
unsigned | lastTimestamp |
int | timestampGracePeriod |
PMutex | mutex |