CSenCredential Class Reference

#include <mw/SenCredential.h>

Link against: SenServDesc.lib

class CSenCredential : public CSenBaseFragment

Inherits from

  • CSenCredential
    Public Member Functions
    virtual ~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
    virtual IMPORT_C voidStartElementL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
    Inherited Attributes
    CSenBaseFragment::iState
    CSenBaseFragment::iWs
    CSenBaseFragment::iXmlReader
    CSenBaseFragment::ipElement
    CSenBaseFragment::ipOwner
    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()

    Detailed Description

    Class implements (web) service credential functionality
    Since
    Series60 3.0

    Constructor & Destructor Documentation

    ~CSenCredential ( )

    IMPORT_C~CSenCredential()[virtual]

    Destructor.

    Member Function Documentation

    Id ( )

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

    Returns: the ID

    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]

    Reimplemented from CSenBaseFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)

    Two-phase constructor.
    Since
    Series60 3.0
    ParameterDescription
    aNsUriThe namespace URI of the new element
    aLocalNameThe local name of the new element
    aQNameThe qualified name of the new element
    aAttributesThe attributes of the new element

    Returns: new CSenCredential instance pointer Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.

    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]

    Reimplemented from CSenBaseFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)

    Constructor with a possibility to set a parent.
    Since
    Series60 3.0
    ParameterDescription
    aNsUriThe namespace URI of the new element
    aLocalNameThe local name of the new element
    aQNameThe qualified name of the new element
    aAttributesThe attributes of the new element
    aParentThe parent element of the new element

    Returns: new CSenCredential instance pointer Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.

    NewL ( const CSenCredential & )

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

    Returns: new CSenCredential instance pointer

    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
    ParameterDescription
    aNsUriThe namespace URI of the new element
    aLocalNameThe local name of the new element
    aQNameThe qualified name of the new element
    aAttributesThe attributes of the new element

    Returns: new CSenCredential instance pointer, which is left on cleanup stack. Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.

    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
    ParameterDescription
    aNsUriThe namespace URI of the new element
    aLocalNameThe local name of the new element
    aQNameThe qualified name of the new element
    aAttributesThe attributes of the new element
    aParentThe parent element of the new element

    Returns: new CSenCredential instance pointer, which is left on cleanup stack. Leave codes: KErrSenInvalidCharacters if aLocalName or aQName contains illegal characters. KErrSenZeroLengthDescriptor if aLocalName or aQName is zero length.

    NewLC ( const CSenCredential & )

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

    Returns: new CSenCredential instance pointer, which is left on cleanup stack.

    SetValidUntil ( TTime & )

    IMPORT_C voidSetValidUntil(TTime &aTime)
    Setter for the credential expiration time.
    Since
    Series60 3.0
    ParameterDescription
    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]

    Reimplemented from CSenBaseFragment::StartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)

    From CSenDomFragment Callback function which implement the XML content handler interface.
    Since
    Series60 3.0
    ParameterDescription
    aNsUriThe namespace URI of the new element
    aLocalNameThe local name of the new element
    aQNameThe qualified name of the new element
    aAttributesThe attributes of the new element

    ValidUntil ( )

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

    Returns: the the expiration time