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 voidSetValidUntil(TTime &)
IMPORT_C TTime &ValidUntil()
Protected Member Functions
IMPORT_C voidStartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
Private Member Functions
CSenCredential()
IMPORT_C voidConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
IMPORT_C voidConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, CSenElement &)
IMPORT_C voidConstructL(CSenCredential &)
voidSetIdL(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_CCSenCredential()[private]

C++ default constructor.

~CSenCredential()

IMPORT_C~CSenCredential()[virtual]

Destructor.

Member Functions Documentation

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

IMPORT_C voidConstructL(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 & aNsUriis the XML namespace as UTF-8 descriptor
const TDesC8 & aLocalNameis the XML localname as UTF-8 descriptor
const TDesC8 & aQNameis the XML qualifiedname as UTF-8 descriptor
const RAttributeArray & aAttributesis the list of XML attributes

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

IMPORT_C voidConstructL(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 & aNsUriis the XML namespace as UTF-8 descriptor
const TDesC8 & aLocalNameis the XML localname as UTF-8 descriptor
const TDesC8 & aQNameis the XML qualifiedname as UTF-8 descriptor
const RAttributeArray & aAttributesis the list of XML attributes
CSenElement & aParentis the parent element, which may declare other namespaces.

ConstructL(CSenCredential &)

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

Parameters

CSenCredential & aCredentialis 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 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttributesThe 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 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttributesThe attributes of the new element
CSenElement & aParentThe 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 & aCredentialcredential 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 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttributesThe 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 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttributesThe attributes of the new element
CSenElement & aParentThe 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 & aCredentialcredential to copy from.

SetIdL(const TDesC8 &)

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

Parameters

const TDesC8 & aIdis the unique ID for this Credential

SetValidUntil(TTime &)

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

Parameters

TTime & aTimeThe new expiration time

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

IMPORT_C voidStartElementL(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 & aNsUriThe namespace URI of the new element
const TDesC8 & aLocalNameThe local name of the new element
const TDesC8 & aQNameThe qualified name of the new element
const RAttributeArray & aAttributesThe 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]