CSenCredential2 Class Reference

class CSenCredential2 : public CSenFragmentBase
Class implements (web) service credential functionality SenServDesc.lib
Since
Series60 3.0

Inherits from

Public Member Functions
~CSenCredential2 ()
IMPORT_C const TDesC8 & Id ()
IMPORT_C CSenCredential2 * NewL ()
IMPORT_C CSenCredential2 * NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C CSenCredential2 * NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)
IMPORT_C CSenCredential2 * NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)
IMPORT_C CSenCredential2 * NewL (const CSenCredential2 &)
IMPORT_C CSenCredential2 * NewLC ()
IMPORT_C CSenCredential2 * NewLC (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C CSenCredential2 * NewLC (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)
IMPORT_C CSenCredential2 * NewLC (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)
IMPORT_C CSenCredential2 * NewLC (const CSenCredential2 &)
IMPORT_C void SetValidUntil ( TTime &)
IMPORT_C TTime & ValidUntil ()
Protected Member Functions
CSenCredential2 ()
IMPORT_C void BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C void BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)
IMPORT_C void BaseConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)
IMPORT_C void BaseConstructL ( CSenCredential2 &)
IMPORT_C void OnStartElementL (const RTagInfo &, const RAttributeArray &, TInt )
Private Member Functions
IMPORT_C void ConstructL (const TDesC8 &)
void SetIdL (const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSenFragmentBase::AddAttributesL(const RAttributeArray &)
CSenFragmentBase::AddAttributesToElementL(TXmlEngElement,const RAttributeArray &)
CSenFragmentBase::AddContentL(const TDesC8 &)
CSenFragmentBase::AddNamespacesL()
CSenFragmentBase::AsDocumentL()
CSenFragmentBase::AsElementL()
CSenFragmentBase::AsXmlL()
CSenFragmentBase::AsXmlUnicodeL()
CSenFragmentBase::BaseConstructL(TXmlEngElement &,RSenDocument &)
CSenFragmentBase::BaseConstructL(const TDesC8 &)
CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &)
CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenFragmentBase::BaseConstructL(const TXmlEngElement &)
CSenFragmentBase::CSenFragmentBase()
CSenFragmentBase::ConsistsOfL(CSenFragmentBase &)
CSenFragmentBase::ConsistsOfL(TXmlEngElement &,TXmlEngElement &)
CSenFragmentBase::ContentL()
CSenFragmentBase::ContentOf(const TDesC8 &)
CSenFragmentBase::ExtractElement()
CSenFragmentBase::GetExtendedInterface(const TInt32)
CSenFragmentBase::LocalName()const
CSenFragmentBase::Namespace(const TDesC8 &)
CSenFragmentBase::NewL(TXmlEngElement &,RSenDocument &)
CSenFragmentBase::NewL(const TDesC8 &)
CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &)
CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenFragmentBase::NewL(const TXmlEngElement &)
CSenFragmentBase::NsPrefix()const
CSenFragmentBase::NsUri()const
CSenFragmentBase::OnContentL(const TDesC8 &,TInt)
CSenFragmentBase::OnDelegateParsingL(CSenFragmentBase &)
CSenFragmentBase::OnDelegateParsingL(const RTagInfo &,const RAttributeArray &,TInt)
CSenFragmentBase::OnEndDocumentL(TInt)
CSenFragmentBase::OnEndElementL(const RTagInfo &,TInt)
CSenFragmentBase::OnEndPrefixMappingL(const RString &,TInt)
CSenFragmentBase::OnError(TInt)
CSenFragmentBase::OnIgnorableWhiteSpaceL(const TDesC8 &,TInt)
CSenFragmentBase::OnProcessingInstructionL(const TDesC8 &,const TDesC8 &,TInt)
CSenFragmentBase::OnResumeParsingFromL(const RTagInfo &,TInt)
CSenFragmentBase::OnSkippedEntityL(const RString &,TInt)
CSenFragmentBase::OnStartDocumentL(const RDocumentParameters &,TInt)
CSenFragmentBase::OnStartPrefixMappingL(const RString &,const RString &,TInt)
CSenFragmentBase::OnWriteEndElementL(const RTagInfo &)
CSenFragmentBase::OnWriteStartElementL(const RTagInfo &,const RAttributeArray &)
CSenFragmentBase::RenameL(const TDesC8 &,const TDesC8 &)
CSenFragmentBase::RenameL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenFragmentBase::RenameLocalNameL(const TDesC8 &)
CSenFragmentBase::RenameNamespaceL(const TDesC8 &)
CSenFragmentBase::RenameNamespaceL(const TDesC8 &,const TDesC8 &)
CSenFragmentBase::RenamePrefixL(const TDesC8 &)
CSenFragmentBase::ResetContentL()
CSenFragmentBase::SetContentHandler(CSenFragmentBase &)
CSenFragmentBase::SetContentL(const TDesC8 &)
CSenFragmentBase::SetContentOfL(const TDesC8 &,const TDesC8 &)
CSenFragmentBase::SetDocument(RSenDocument &)
CSenFragmentBase::SetOwner(CSenFragmentBase &)
CSenFragmentBase::StartSavingContent()
CSenFragmentBase::WriteAsXMLToL(RWriteStream &)
CSenFragmentBase::~CSenFragmentBase()
Private Attributes
HBufC8 * iId
TTime iNotOnOrAfter
Inherited Attributes
CSenFragmentBase::iDocument
CSenFragmentBase::iElement
CSenFragmentBase::iState
CSenFragmentBase::ipContentBuf
CSenFragmentBase::ipContentWriteStream
CSenFragmentBase::ipDelegate
CSenFragmentBase::ipNamespaceArray
CSenFragmentBase::ipOwner
CSenFragmentBase::ipParser

Constructor & Destructor Documentation

CSenCredential2()

IMPORT_C CSenCredential2 ( ) [protected]

C++ default constructor.

~CSenCredential2()

IMPORT_C ~CSenCredential2 ( ) [virtual]

Destructor.

Member Functions Documentation

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C void BaseConstructL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [protected]
Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace as UTF-8 descriptor
const TDesC8 & aLocalName is the XML localname as UTF-8 descriptor
const TDesC8 & aQName is the XML qualifiedname as UTF-8 descriptor
const RAttributeArray & aAttributes is the list of XML attributes

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)

IMPORT_C void BaseConstructL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
TXmlEngElement & aParent
) [protected]
Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace as UTF-8 descriptor
const TDesC8 & aLocalName is the XML localname as UTF-8 descriptor
const TDesC8 & aQName is the XML qualifiedname as UTF-8 descriptor
const RAttributeArray & aAttributes is the list of XML attributes
TXmlEngElement & aParent is the parent element, which may declare other namespaces.

BaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)

IMPORT_C void BaseConstructL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
TXmlEngElement & aParent,
RSenDocument & aOwnerDocument
) [protected]

By default Symbian 2nd phase constructor is private.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace as UTF-8 descriptor
const TDesC8 & aLocalName is the XML localname as UTF-8 descriptor
const TDesC8 & aQName is the XML qualifiedname as UTF-8 descriptor
const RAttributeArray & aAttributes is the list of XML attributes
TXmlEngElement & aParent is the parent element, which may declare other namespaces.
RSenDocument & aOwnerDocument is the document which will be the owner of the elements of this credential

BaseConstructL(CSenCredential2 &)

IMPORT_C void BaseConstructL ( CSenCredential2 & aCredential ) [protected]

By default Symbian 2nd phase constructor is private.

Since
Series60 4.0

Parameters

CSenCredential2 & aCredential is the source credential to be copied.

ConstructL(const TDesC8 &)

IMPORT_C void ConstructL ( const TDesC8 & aLocalName ) [private]

By default Symbian 2nd phase constructor is private.

BaseConstructL for setting XML localname for this Credential.
Since
Series60 4.0

Parameters

const TDesC8 & aLocalName XML localname for this Credential

Id()

IMPORT_C const TDesC8 & Id ( ) [virtual]

Getter for the credential ID.

Since
Series60 4.0

NewL()

IMPORT_C CSenCredential2 * NewL ( ) [static]

Basic constructor.

Since
Series60 4.0

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C CSenCredential2 * NewL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this credential
const TDesC8 & aLocalName is the XML localname of this credential
const TDesC8 & aQName
const RAttributeArray & aAttributes

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)

IMPORT_C CSenCredential2 * NewL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
TXmlEngElement & aParent
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this credential
const TDesC8 & aLocalName is the XML localname of this credential
const TDesC8 & aQName
const RAttributeArray & aAttributes
TXmlEngElement & aParent is the parent XML element of this credential

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)

IMPORT_C CSenCredential2 * NewL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttrs,
TXmlEngElement & aParent,
RSenDocument & aOwnerDocument
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this fragment
const TDesC8 & aLocalName is the XML localname of this fragment
const TDesC8 & aQName
const RAttributeArray & aAttrs are the XML attributes of this fragment
TXmlEngElement & aParent is the parent XML element of this fragment
RSenDocument & aOwnerDocument is the document which will be the owner of the elements of this fragment

NewL(const CSenCredential2 &)

IMPORT_C CSenCredential2 * NewL ( const CSenCredential2 & aCredential ) [static]

Constructor which copies itself from another credential.

Since
Series60 4.0

Parameters

const CSenCredential2 & aCredential credential to copy from.

NewLC()

IMPORT_C CSenCredential2 * NewLC ( ) [static]

Basic constructor.

Since
Series60 4.0

NewLC(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C CSenCredential2 * NewLC ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this credential
const TDesC8 & aLocalName is the XML localname of this credential
const TDesC8 & aQName
const RAttributeArray & aAttributes

NewLC(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)

IMPORT_C CSenCredential2 * NewLC ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
TXmlEngElement & aParent
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this credential
const TDesC8 & aLocalName is the XML localname of this credential
const TDesC8 & aQName
const RAttributeArray & aAttributes
TXmlEngElement & aParent is the parent XML element of this credential

NewLC(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)

IMPORT_C CSenCredential2 * NewLC ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttrs,
TXmlEngElement & aParent,
RSenDocument & aOwnerDocument
) [static]

Basic constructor.

Since
Series60 4.0

Parameters

const TDesC8 & aNsUri is the XML namespace of this fragment
const TDesC8 & aLocalName is the XML localname of this fragment
const TDesC8 & aQName
const RAttributeArray & aAttrs are the XML attributes of this fragment
TXmlEngElement & aParent is the parent XML element of this fragment
RSenDocument & aOwnerDocument is the document which will be the owner of the elements of this fragment

NewLC(const CSenCredential2 &)

IMPORT_C CSenCredential2 * NewLC ( const CSenCredential2 & aCredential ) [static]

Constructor which copies itself from another credential.

Since
Series60 4.0

Parameters

const CSenCredential2 & aCredential credential to copy from.

OnStartElementL(const RTagInfo &, const RAttributeArray &, TInt)

IMPORT_C void OnStartElementL ( const RTagInfo & aElement,
const RAttributeArray & aAttributes,
TInt aErrorCode
) [protected, virtual]
Callback function implementing the XML content handler interface. Inheriting classes can override these.
Since
Series60 3.1
MContentHandler

Parameters

const RTagInfo & aElement
const RAttributeArray & aAttributes
TInt aErrorCode

SetIdL(const TDesC8 &)

void SetIdL ( const TDesC8 & aId ) [private]

Setter for Credential ID

Since
Series60 4.0

Parameters

const TDesC8 & aId is the unique ID for this Credential

SetValidUntil(TTime &)

IMPORT_C void SetValidUntil ( TTime & aTime ) [virtual]

Setter for the credential expiration time.

Since
Series60 4.0

Parameters

TTime & aTime The new expiration time

ValidUntil()

IMPORT_C TTime & ValidUntil ( ) [virtual]
Getter for the credential expiration time.
Since
Series60 3.0

Member Data Documentation

HBufC8 * iId

HBufC8 * iId [private]

TTime iNotOnOrAfter

TTime iNotOnOrAfter [private]