Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:

Inherited from CX509DomainName:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

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

Description

Second-phase constructor.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

[Top]


Member functions


Rep()const

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< TPtrC16 > &

The array of pointer descriptors.