TPBPassword Class Reference

class TPBPassword

Class representing both 8 and 16 bit descriptor passwords. Internally these are stored as 8 bit passwords.

Public Member Functions
TPBPassword (const TDesC8 &)
TPBPassword (const TDesC16 &)
IMPORT_C const TDesC8 & Password (void)
Private Attributes
TPtrC8 iPassword

Constructor & Destructor Documentation

TPBPassword(const TDesC8 &)

IMPORT_C TPBPassword ( const TDesC8 & aPassword )

Sets the password.

Constructs a TPBPassword object with an 8 bit descriptor.

Internally this is represented as an octet byte sequence (aka 8 bit TPtrC8 descriptor).

Parameters

const TDesC8 & aPassword A const reference to an 8 bit descriptor. representing the users initial password.

TPBPassword(const TDesC16 &)

IMPORT_C TPBPassword ( const TDesC16 & aPassword )

Sets the password.

Constructs a TPBPassword object with a 16 bit descriptor.

Internally this is represented as an octet byte sequence (aka 8 bit TPtrC8 descriptor).

Parameters

const TDesC16 & aPassword A const reference to a 16 bit descriptor representing the users initial password.

Member Functions Documentation

Password(void)

IMPORT_C const TDesC8 & Password ( void ) const

Gets the password.

Gets a const reference to an 8 bit descriptor representing the users initial password (which could have been either 8 or 16 bit).

Parameters

void

Member Data Documentation

TPtrC8 iPassword

TPtrC8 iPassword [private]