CX509RFC822NameSubtree Class Reference

class CX509RFC822NameSubtree : public CX509DomainName

A full or partial RFC 822 email address.

The address may not contain the local host name as this is optional.

The object is initialised with 8-bit encoded binary data, which is parsed into a series of sub domains and an optional local host.

Inherits from

Member Functions Documentation

AddLocalHostL(TInt &)

TBool AddLocalHostL ( TInt & aPos ) [protected]

Adds a local host.

Parameters

TInt & aPos The position from which to start decoding.

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aBinaryData ) [protected, virtual]

Second-phase constructor.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

IsValidChar(const TChar &)

TBool IsValidChar ( const TChar & aChar ) const [protected, virtual]

Tests whether the character is valid.

Parameters

const TChar & aChar The character to be tested.

NewL(const TDesC8 &)

IMPORT_C CX509RFC822NameSubtree * NewL ( const TDesC8 & aBinaryData ) [static]

Creates an RFC 822 email address object from the specified buffer containing the binary coded representation.

The data is parsed into a series of sub domains and an optional local host.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewLC(const TDesC8 &)

IMPORT_C CX509RFC822NameSubtree * NewLC ( const TDesC8 & aBinaryData ) [static]

Creates an RFC 822 email address object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack. The data is parsed into a series of sub domains and an optional local host.

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

Rep()

IMPORT_C const RArray < TPtrC > & Rep ( ) const

Gets a reference to the array of pointer descriptors representing the subdomains of the RFC 822 email address.