Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509RFC822NameSubtree

class CX509RFC822NameSubtree : public CX509DomainName;

Description

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.

Derivation

Members

Defined in CX509RFC822NameSubtree:
ConstructL(), NewL(), NewLC(), Rep()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CX509DomainName:
IsValidChar(), IsValidString(), IsWithinSubtree(), Name(), iName, iRep


Construction and destruction


NewL()

static IMPORT_C CX509RFC822NameSubtree *NewL(const TDesC8 &aBinaryData);

Description

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.

Return value

CX509RFC822NameSubtree *

The new RFC 822 email address object.


NewLC()

static IMPORT_C CX509RFC822NameSubtree *NewLC(const TDesC8 &aBinaryData);

Description

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.

Return value

CX509RFC822NameSubtree *

The new RFC 822 email address object.


ConstructL()

protected: virtual void ConstructL(const TDesC8 &aBinaryData);

Description

Second-phase constructor.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

[Top]


Member functions


Rep()

IMPORT_C const RArray< TPtrC > &Rep() const;

Description

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

Return value

const RArray< TPtrC > &

The array of pointer descriptors.