RPacketContext::TProtocolConfigOptionV2 Class Reference

class RPacketContext::TProtocolConfigOptionV2 : public TPacketBase

Holds authentication data encapsulated in TAuthInfo , as well as further data that may be required for CHAP protocol authentication, such a challenge and response, since version 2 of the API.

Can contain the DNS server names, the username, password, and CHAP associated data.

Normal authentication uses only TAuthInfo::iUsername and TAuthInfo::iPassword . The other parameters are for secure authentication.

The maximum combined length of the TAuthInfo::iUsername and the secure information (iPassword or iResponse) is 50 bytes.

Rather than keep the Protocol Config Option as a buffer it is encapsulated as a class. This enables data extraction to occur easily.

Supported from v7.0S.

Inherits from

Constructor & Destructor Documentation

TProtocolConfigOptionV2()

IMPORT_C TProtocolConfigOptionV2 ( )

Constructor for TProtocolConfigOptionV2 class

This class will hold authentication data encapsulated in TAuthInfo as well as further data that may be required for CHAP protocol authentication, such a challenge and response

Member Data Documentation

TAuthInfo iAuthInfo

TAuthInfo iAuthInfo

Authentication data.

TAuthData iChallenge

TAuthData iChallenge

The pseudorandom data that is chosen by the client.

TDnsInfoV2 iDnsAddresses

TDnsInfoV2 iDnsAddresses

Primary and secondary DNS server names since version 2 of the API.

TUint8 iId

TUint8 iId

A one byte identifier that is chosen by the client.

TMiscProtocolBuffer iMiscBuffer

TMiscProtocolBuffer iMiscBuffer

TAuthData iResponse

TAuthData iResponse

Calculated by the client with the MD5 algorithm using iChallenge, iId and iPassword.