CSenCredential Class Reference

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

Inherits from

Public Member Functions
~CSenCredential ()
IMPORT_C const TDesC8 & Id ()
IMPORT_C CSenCredential * NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C CSenCredential * NewL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C CSenCredential * NewL (const CSenCredential &)
IMPORT_C CSenCredential * NewLC (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C CSenCredential * NewLC (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C CSenCredential * NewLC (const CSenCredential &)
IMPORT_C void SetValidUntil ( TTime &)
IMPORT_C TTime & ValidUntil ()
Protected Member Functions
IMPORT_C void StartElementL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
Private Member Functions
CSenCredential ()
IMPORT_C void ConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C void ConstructL (const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C void ConstructL ( CSenCredential &)
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()
CSenBaseFragment::AllocContentSaverL()
CSenBaseFragment::AsElement()
CSenBaseFragment::AsXmlL()
CSenBaseFragment::AsXmlUnicodeL()
CSenBaseFragment::BaseConstructL(CSenXmlReader &)
CSenBaseFragment::BaseConstructL(const CSenElement &)
CSenBaseFragment::BaseConstructL(const TDesC8 &)
CSenBaseFragment::BaseConstructL(const TDesC8 &,const TDesC8 &)
CSenBaseFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenBaseFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)
CSenBaseFragment::BuildFrom(const TDesC8 &)
CSenBaseFragment::CSenBaseFragment()
CSenBaseFragment::CharactersL(const TDesC8 &,TInt,TInt)
CSenBaseFragment::ConsistsOfL(MSenFragment &)
CSenBaseFragment::Content()
CSenBaseFragment::ContentOf(const TDesC8 &)
CSenBaseFragment::DelegateParsingL(MSenFragment &)
CSenBaseFragment::DelegateParsingL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenBaseFragment::DetachL()
CSenBaseFragment::EndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::EnsureNamespace(const TDesC8 &)
CSenBaseFragment::ExtractElement()
CSenBaseFragment::LocalName()const
CSenBaseFragment::Namespace(const TDesC8 &)
CSenBaseFragment::NewL(const CSenElement &)
CSenBaseFragment::NewL(const TDesC8 &)
CSenBaseFragment::NewL(const TDesC8 &,const TDesC8 &)
CSenBaseFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::NsPrefix()const
CSenBaseFragment::NsUri()const
CSenBaseFragment::ParseL(const TDesC8 &)
CSenBaseFragment::ParseWithL(CSenXmlReader &)
CSenBaseFragment::Reader()
CSenBaseFragment::ResetContentL()
CSenBaseFragment::ResumeParsingFromL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::SaveNamespacesL(const RAttributeArray &,TBool)
CSenBaseFragment::SetAttributesL(const RAttributeArray &)
CSenBaseFragment::SetContentOfL(const TDesC8 &,const TDesC8 &)
CSenBaseFragment::SetOwner(MSenFragment &)
CSenBaseFragment::SetReader(CSenXmlReader &)
CSenBaseFragment::StartEntity(TDesC8 &)
CSenBaseFragment::WriteAsXMLToL(RWriteStream &)
CSenBaseFragment::WriteEndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::WriteStartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenBaseFragment::~CSenBaseFragment()
Private Attributes
HBufC8 * iId
TTime iNotOnOrAfter
Inherited Attributes
CSenBaseFragment::iState
CSenBaseFragment::iWs
CSenBaseFragment::iXmlReader
CSenBaseFragment::ipElement
CSenBaseFragment::ipOwner

Constructor & Destructor Documentation

CSenCredential()

IMPORT_C CSenCredential ( ) [private]

C++ default constructor.

~CSenCredential()

IMPORT_C ~CSenCredential ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C void ConstructL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [private]
By default Symbian 2nd phase constructor is private.
Since
Series60 3.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

ConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)

IMPORT_C void ConstructL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
CSenElement & aParent
) [private]
By default Symbian 2nd phase constructor is private.
Since
Series60 3.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
CSenElement & aParent is the parent element, which may declare other namespaces.

ConstructL(CSenCredential &)

IMPORT_C void ConstructL ( CSenCredential & aCredential ) [private]
By default Symbian 2nd phase constructor is private.
Since
Series60 3.0

Parameters

CSenCredential & aCredential is the source credential to be copied.

Id()

IMPORT_C const TDesC8 & Id ( )
Getter for the credential ID.
Since
Series60 3.0

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

IMPORT_C CSenCredential * NewL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [static]
Two-phase constructor.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri The namespace URI of the new element
const TDesC8 & aLocalName The local name of the new element
const TDesC8 & aQName The qualified name of the new element
const RAttributeArray & aAttributes The attributes of the new element

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

IMPORT_C CSenCredential * NewL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
CSenElement & aParent
) [static]
Constructor with a possibility to set a parent.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri The namespace URI of the new element
const TDesC8 & aLocalName The local name of the new element
const TDesC8 & aQName The qualified name of the new element
const RAttributeArray & aAttributes The attributes of the new element
CSenElement & aParent The parent element of the new element

NewL(const CSenCredential &)

IMPORT_C CSenCredential * NewL ( const CSenCredential & aCredential ) [static]
Constructor which copies itself from another credential.
Since
Series60 3.0

Parameters

const CSenCredential & aCredential credential to copy from.

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

IMPORT_C CSenCredential * NewLC ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [static]
Two-phase constructor.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri The namespace URI of the new element
const TDesC8 & aLocalName The local name of the new element
const TDesC8 & aQName The qualified name of the new element
const RAttributeArray & aAttributes The attributes of the new element

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

IMPORT_C CSenCredential * NewLC ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes,
CSenElement & aParent
) [static]
Constructor with a possibility to set a parent.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri The namespace URI of the new element
const TDesC8 & aLocalName The local name of the new element
const TDesC8 & aQName The qualified name of the new element
const RAttributeArray & aAttributes The attributes of the new element
CSenElement & aParent The parent element of the new element

NewLC(const CSenCredential &)

IMPORT_C CSenCredential * NewLC ( const CSenCredential & aCredential ) [static]
Constructor which copies itself from another credential.
Since
Series60 3.0

Parameters

const CSenCredential & aCredential credential to copy from.

SetIdL(const TDesC8 &)

void SetIdL ( const TDesC8 & aId ) [private]
Setter for Credential ID
Since
Series60 3.0

Parameters

const TDesC8 & aId is the unique ID for this Credential

SetValidUntil(TTime &)

IMPORT_C void SetValidUntil ( TTime & aTime )
Setter for the credential expiration time.
Since
Series60 3.0

Parameters

TTime & aTime The new expiration time

StartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)

IMPORT_C void StartElementL ( const TDesC8 & aNsUri,
const TDesC8 & aLocalName,
const TDesC8 & aQName,
const RAttributeArray & aAttributes
) [protected, virtual]
From CSenDomFragment Callback function which implement the XML content handler interface.
Since
Series60 3.0

Parameters

const TDesC8 & aNsUri The namespace URI of the new element
const TDesC8 & aLocalName The local name of the new element
const TDesC8 & aQName The qualified name of the new element
const RAttributeArray & aAttributes The attributes of the new element

ValidUntil()

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

Member Data Documentation

HBufC8 * iId

HBufC8 * iId [private]

TTime iNotOnOrAfter

TTime iNotOnOrAfter [private]