OPAL  Version 3.18.8
H235AuthCAT Class Reference

#include <h235auth.h>

Inheritance diagram for H235AuthCAT:
Collaboration diagram for H235AuthCAT:

Public Member Functions

 H235AuthCAT ()
 
PObject * Clone () const
 
virtual const char * GetName () const
 
virtual H235_ClearToken * CreateClearToken ()
 
virtual ValidationResult ValidateClearToken (const H235_ClearToken &clearToken)
 
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
 
- Public Member Functions inherited from H235Authenticator
 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 H225_CryptoH323Token * CreateCryptoToken (bool digits, unsigned rasPDU)
 
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 ValidateCryptoToken (const H225_CryptoH323Token &cryptoToken, const PBYTEArray &rawPDU)
 
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

- Public Types inherited from H235Authenticator
enum  ValidationResult {
  e_OK = 0, e_Absent, e_Error, e_InvalidTime,
  e_BadPassword, e_ReplyAttack, e_Disabled
}
 
enum  Application { GKAdmission, EPAuthentication, LRQOnly, AnyApplication }
 
- Protected Member Functions inherited from H235Authenticator
PINDEX AddCapabilityIfNeeded (unsigned mechanism, const PString &oid, H225_ArrayOf_AuthenticationMechanism &mechansims, H225_ArrayOf_PASN_ObjectId &algorithmOIDs)
 
 PDECLARE_MUTEX (mutex)
 
- Protected Attributes inherited from H235Authenticator
bool m_enabled
 
PString remoteId
 
PString localId
 
PString password
 
unsigned sentRandomSequenceNumber
 
unsigned lastRandomSequenceNumber
 
unsigned lastTimestamp
 
int timestampGracePeriod
 
Application usage
 Authenticator's Application. More...
 

Detailed Description

This class embodies a RADIUS compatible based authentication (aka Cisco Access Token or CAT). The users password is concatenated with the 4 byte timestamp and 1 byte random fields and an MD5 generated and sent/verified via the challenge field.

Constructor & Destructor Documentation

H235AuthCAT::H235AuthCAT ( )

Member Function Documentation

PObject* H235AuthCAT::Clone ( ) const
virtual H235_ClearToken* H235AuthCAT::CreateClearToken ( )
virtual

Reimplemented from H235Authenticator.

virtual const char* H235AuthCAT::GetName ( ) const
virtual

Implements H235Authenticator.

virtual PBoolean H235AuthCAT::IsCapability ( const H235_AuthenticationMechanism &  mechansim,
const PASN_ObjectId &  algorithmOID 
)
virtual

Implements H235Authenticator.

virtual PBoolean H235AuthCAT::IsSecuredPDU ( unsigned  rasPDU,
PBoolean  received 
) const
virtual

Reimplemented from H235Authenticator.

virtual PBoolean H235AuthCAT::SetCapability ( H225_ArrayOf_AuthenticationMechanism &  mechansim,
H225_ArrayOf_PASN_ObjectId &  algorithmOIDs 
)
virtual

Implements H235Authenticator.

virtual ValidationResult H235AuthCAT::ValidateClearToken ( const H235_ClearToken &  clearToken)
virtual

Reimplemented from H235Authenticator.


The documentation for this class was generated from the following file: