CSenCredential2 Class Reference

#include <mw/SenCredential2.h>

Link against: SenServDesc.lib

class CSenCredential2 : public CSenFragmentBase

Inherits from

  • CSenCredential2
    Public Member Functions
    virtual ~CSenCredential2()
    virtual 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 &)
    virtual IMPORT_C voidSetValidUntil(TTime &)
    virtual IMPORT_C TTime &ValidUntil()
    Protected Member Functions
    CSenCredential2()
    IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &)
    IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &)
    IMPORT_C voidBaseConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &, const RAttributeArray &, TXmlEngElement &, RSenDocument &)
    IMPORT_C voidBaseConstructL(CSenCredential2 &)
    virtual IMPORT_C voidOnStartElementL(const RTagInfo &, const RAttributeArray &, TInt)
    Inherited Attributes
    CSenFragmentBase::iDocument
    CSenFragmentBase::iElement
    CSenFragmentBase::iState
    CSenFragmentBase::ipContentBuf
    CSenFragmentBase::ipContentWriteStream
    CSenFragmentBase::ipDelegate
    CSenFragmentBase::ipNamespaceArray
    CSenFragmentBase::ipOwner
    CSenFragmentBase::ipParser
    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()

    Detailed Description

    Class implements (web) service credential functionality
    Since
    Series60 3.0

    Constructor & Destructor Documentation

    CSenCredential2 ( )

    IMPORT_CCSenCredential2()[protected]

    C++ default constructor.

    ~CSenCredential2 ( )

    IMPORT_C~CSenCredential2()[virtual]

    Destructor.

    Member Function Documentation

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

    IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
    const TDesC8 &aLocalName,
    const TDesC8 &aQName,
    const RAttributeArray &aAttributes
    )[protected]

    Reimplemented from CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace as UTF-8 descriptor
    aLocalNameis the XML localname as UTF-8 descriptor
    aQNameis the XML qualifiedname as UTF-8 descriptor
    aAttributesis the list of XML attributes

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

    IMPORT_C voidBaseConstructL(const TDesC8 &aNsUri,
    const TDesC8 &aLocalName,
    const TDesC8 &aQName,
    const RAttributeArray &aAttributes,
    TXmlEngElement &aParent
    )[protected]

    Reimplemented from CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &)

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace as UTF-8 descriptor
    aLocalNameis the XML localname as UTF-8 descriptor
    aQNameis the XML qualifiedname as UTF-8 descriptor
    aAttributesis the list of XML attributes
    aParentis the parent element, which may declare other namespaces.

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

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

    Reimplemented from CSenFragmentBase::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &,RSenDocument &)

    By default Symbian 2nd phase constructor is private.

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace as UTF-8 descriptor
    aLocalNameis the XML localname as UTF-8 descriptor
    aQNameis the XML qualifiedname as UTF-8 descriptor
    aAttributesis the list of XML attributes
    aParentis the parent element, which may declare other namespaces.
    aOwnerDocumentis the document which will be the owner of the elements of this credential

    BaseConstructL ( CSenCredential2 & )

    IMPORT_C voidBaseConstructL(CSenCredential2 &aCredential)[protected]

    By default Symbian 2nd phase constructor is private.

    Since
    Series60 4.0
    ParameterDescription
    aCredentialis the source credential to be copied.

    Id ( )

    IMPORT_C const TDesC8 &Id()[virtual]

    Getter for the credential ID.

    Since
    Series60 4.0

    Returns: the ID

    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]

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

    Basic constructor.

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace of this credential
    aLocalNameis the XML localname of this credential

    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]

    Reimplemented from CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &)

    Basic constructor.

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace of this credential
    aLocalNameis the XML localname of this credential
    aParentis 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]

    Reimplemented from CSenFragmentBase::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,TXmlEngElement &,RSenDocument &)

    Basic constructor.

    Since
    Series60 4.0
    ParameterDescription
    aNsUriis the XML namespace of this fragment
    aLocalNameis the XML localname of this fragment
    aAttrsare the XML attributes of this fragment
    aParentis the parent XML element of this fragment
    aOwnerDocumentis 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
    ParameterDescription
    aCredentialcredential to copy from.

    Returns: new CSenCredential instance pointer

    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
    ParameterDescription
    aNsUriis the XML namespace of this credential
    aLocalNameis the XML localname of this credential

    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
    ParameterDescription
    aNsUriis the XML namespace of this credential
    aLocalNameis the XML localname of this credential
    aParentis 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
    ParameterDescription
    aNsUriis the XML namespace of this fragment
    aLocalNameis the XML localname of this fragment
    aAttrsare the XML attributes of this fragment
    aParentis the parent XML element of this fragment
    aOwnerDocumentis 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
    ParameterDescription
    aCredentialcredential to copy from.

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

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

    IMPORT_C voidOnStartElementL(const RTagInfo &aElement,
    const RAttributeArray &aAttributes,
    TIntaErrorCode
    )[protected, virtual]

    Reimplemented from CSenFragmentBase::OnStartElementL(const RTagInfo &,const RAttributeArray &,TInt)

    Callback function implementing the XML content handler interface. Inheriting classes can override these.
    Since
    Series60 3.1

    See also: MContentHandler

    SetValidUntil ( TTime & )

    IMPORT_C voidSetValidUntil(TTime &aTime)[virtual]

    Setter for the credential expiration time.

    Since
    Series60 4.0
    ParameterDescription
    aTimeThe new expiration time

    ValidUntil ( )

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

    Returns: the the expiration time