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.
Public Member Functions | |
---|---|
TProtocolConfigOptionV2 () |
Inherited Functions | |
---|---|
TPacketBase::ExtensionId()const | |
TPacketBase::TPacketBase() |
Public Attributes | |
---|---|
TAuthInfo | iAuthInfo |
TAuthData | iChallenge |
TDnsInfoV2 | iDnsAddresses |
TUint8 | iId |
TMiscProtocolBuffer | iMiscBuffer |
TAuthData | iResponse |
Inherited Attributes | |
---|---|
TPacketBase::iExtensionId |
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
TDnsInfoV2 | iDnsAddresses |
Primary and secondary DNS server names since version 2 of the API.
TAuthData | iResponse |
Calculated by the client with the MD5 algorithm using iChallenge, iId and iPassword.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.