CSenCredential2 Class Reference

Link against: SenServDesc.LIB

Capability Information

Required Capabilities

NetworkServices ReadUserData WriteUserData


#include <
SenCredential2.h>

Inherits CSenFragmentBase.


Detailed Description

Class implements (web) service credential functionality.
Dll SenServDesc.lib
Since:
Series60 3.0

Public Member Functions

virtual IMPORT_C ~CSenCredential2 ()
 Destructor.
virtual IMPORT_C const TDesC8 & Id ()
 Getter for the credential ID.
virtual IMPORT_C TTime & ValidUntil ()
 Getter for the credential expiration time.
virtual IMPORT_C void SetValidUntil (TTime &aTime)
 Setter for the credential expiration time.

Static Public Member Functions

static CSenCredential2NewL ()
 Basic constructor.
static CSenCredential2NewLC ()
 Basic constructor.
static CSenCredential2NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes)
 Basic constructor.
static CSenCredential2NewLC (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes)
 Basic constructor.
static CSenCredential2NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes, TXmlEngElement &aParent)
 Basic constructor.
static CSenCredential2NewLC (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes, TXmlEngElement &aParent)
 Basic constructor.
static CSenCredential2NewL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs, TXmlEngElement &aParent, RSenDocument &aOwnerDocument)
 Basic constructor.
static CSenCredential2NewLC (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttrs, TXmlEngElement &aParent, RSenDocument &aOwnerDocument)
 Basic constructor.
static IMPORT_C CSenCredential2NewL (const CSenCredential2 &aCredential)
 Constructor which copies itself from another credential.
static IMPORT_C CSenCredential2NewLC (const CSenCredential2 &aCredential)
 Constructor which copies itself from another credential.

Protected Member Functions

IMPORT_C CSenCredential2 ()
 C++ default constructor.
virtual IMPORT_C void OnStartElementL (const RTagInfo &aElement, const RAttributeArray &aAttributes, TInt aErrorCode)
 Callback function implementing the XML content handler interface.
IMPORT_C void BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes)
IMPORT_C void BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes, TXmlEngElement &aParent)
IMPORT_C void BaseConstructL (const TDesC8 &aNsUri, const TDesC8 &aLocalName, const TDesC8 &aQName, const RAttributeArray &aAttributes, TXmlEngElement &aParent, RSenDocument &aOwnerDocument)
 By default Symbian 2nd phase constructor is private.
IMPORT_C void BaseConstructL (CSenCredential2 &aCredential)
 By default Symbian 2nd phase constructor is private.

Constructor & Destructor Documentation

virtual IMPORT_C CSenCredential2::~CSenCredential2  )  [virtual]
 

Destructor.

IMPORT_C CSenCredential2::CSenCredential2  )  [protected]
 

C++ default constructor.


Member Function Documentation

IMPORT_C void CSenCredential2::BaseConstructL CSenCredential2 aCredential  )  [protected]
 

By default Symbian 2nd phase constructor is private.

Since:
Series60 4.0
Parameters:
aCredential is the source credential to be copied.
IMPORT_C void CSenCredential2::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:
aNsUri is the XML namespace as UTF-8 descriptor
aLocalName is the XML localname as UTF-8 descriptor
aQName is the XML qualifiedname as UTF-8 descriptor
aAttributes is the list of XML attributes
aParent is the parent element, which may declare other namespaces.
aOwnerDocument is the document which will be the owner of the elements of this credential

Reimplemented from CSenFragmentBase.

IMPORT_C void CSenCredential2::BaseConstructL const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray aAttributes,
TXmlEngElement aParent
[protected]
 
Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace as UTF-8 descriptor
aLocalName is the XML localname as UTF-8 descriptor
aQName is the XML qualifiedname as UTF-8 descriptor
aAttributes is the list of XML attributes
aParent is the parent element, which may declare other namespaces.

Reimplemented from CSenFragmentBase.

IMPORT_C void CSenCredential2::BaseConstructL const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray aAttributes
[protected]
 
Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace as UTF-8 descriptor
aLocalName is the XML localname as UTF-8 descriptor
aQName is the XML qualifiedname as UTF-8 descriptor
aAttributes is the list of XML attributes

Reimplemented from CSenFragmentBase.

virtual IMPORT_C const TDesC8& CSenCredential2::Id  )  [virtual]
 

Getter for the credential ID.

Since:
Series60 4.0
Returns:
the ID
static IMPORT_C CSenCredential2* CSenCredential2::NewL const CSenCredential2 aCredential  )  [static]
 

Constructor which copies itself from another credential.

Since:
Series60 4.0
Parameters:
aCredential credential to copy from.
Returns:
new CSenCredential instance pointer
static CSenCredential2* 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:
aNsUri is the XML namespace of this fragment
aLocalName is the XML localname of this fragment
aPrefix is the prefix of this fragment
aAttrs are the XML attributes of this fragment
aParent is the parent XML element of this fragment
aOwnerDocument is the document which will be the owner of the elements of this fragment

Reimplemented from CSenFragmentBase.

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

Basic constructor.

Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace of this credential
aLocalName is the XML localname of this credential
aPrefix is the prefix of this credential
aAttrs are the XML attributes of this credential
aParent is the parent XML element of this credential

Reimplemented from CSenFragmentBase.

static CSenCredential2* CSenCredential2::NewL const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray aAttributes
[static]
 

Basic constructor.

Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace of this credential
aLocalName is the XML localname of this credential
aPrefix is the prefix of this credential
aAttrs are the XML attributes of this credential

Reimplemented from CSenFragmentBase.

static CSenCredential2* CSenCredential2::NewL  )  [static]
 

Basic constructor.

Since:
Series60 4.0
static IMPORT_C CSenCredential2* CSenCredential2::NewLC const CSenCredential2 aCredential  )  [static]
 

Constructor which copies itself from another credential.

Since:
Series60 4.0
Parameters:
aCredential credential to copy from.
Returns:
new CSenCredential instance pointer, which is left on cleanup stack.
static CSenCredential2* 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:
aNsUri is the XML namespace of this fragment
aLocalName is the XML localname of this fragment
aPrefix is the prefix of this fragment
aAttrs are the XML attributes of this fragment
aParent is the parent XML element of this fragment
aOwnerDocument is the document which will be the owner of the elements of this fragment
static CSenCredential2* CSenCredential2::NewLC const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray aAttributes,
TXmlEngElement aParent
[static]
 

Basic constructor.

Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace of this credential
aLocalName is the XML localname of this credential
aPrefix is the prefix of this credential
aAttrs are the XML attributes of this credential
aParent is the parent XML element of this credential
static CSenCredential2* CSenCredential2::NewLC const TDesC8 &  aNsUri,
const TDesC8 &  aLocalName,
const TDesC8 &  aQName,
const RAttributeArray aAttributes
[static]
 

Basic constructor.

Since:
Series60 4.0
Parameters:
aNsUri is the XML namespace of this credential
aLocalName is the XML localname of this credential
aPrefix is the prefix of this credential
aAttrs are the XML attributes of this credential
static CSenCredential2* CSenCredential2::NewLC  )  [static]
 

Basic constructor.

Since:
Series60 4.0
virtual IMPORT_C void CSenCredential2::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
See also:
MContentHandler

Reimplemented from CSenFragmentBase.

virtual IMPORT_C void CSenCredential2::SetValidUntil TTime &  aTime  )  [virtual]
 

Setter for the credential expiration time.

Since:
Series60 4.0
Parameters:
aTime The new expiration time
virtual IMPORT_C TTime& CSenCredential2::ValidUntil  )  [virtual]
 

Getter for the credential expiration time.

Since:
Series60 3.0
Returns:
the the expiration time

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top