Link against: senmessages.lib
#include <SenWsSecurityHeader2.h>
Inherits CSenFragmentBase.
Public Types |
|
enum | TPasswordType { EText = 1, EDigest } |
PasswordType Enumeration. More... |
|
Public Member Functions |
|
virtual IMPORT_C | ~CSenWsSecurityHeader2 () |
Destructor. |
|
IMPORT_C HBufC8 * | UsernameTokenL (CSenIdentityProvider &aIdentityProvider) |
Constructs a username token. |
|
IMPORT_C HBufC8 * | UsernameTokenL (CSenIdentityProvider &aIdentityProvider, CSenWsSecurityHeader2::TPasswordType aType) |
Constructs a username token. |
|
virtual IMPORT_C TPtrC8 | XmlNs () |
Basic getter for XML namespace of the WS security header. |
|
virtual IMPORT_C TPtrC8 | XmlNsPrefix () |
Basic getter for XML namespace prefix of the WS security header. |
|
Static Public Member Functions |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewL (RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewLC (RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewL (const TDesC8 &aData, RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewLC (const TDesC8 &aData, RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewL (const TDesC8 &aData, const TDesC8 &aSecurityNs, RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C CSenWsSecurityHeader2 * | NewLC (const TDesC8 &aData, const TDesC8 &aSecurityNs, RSenDocument aDocument, TXmlEngElement aElement) |
Basic constructor. |
|
static IMPORT_C TInt | UsernameTokenL (const TDesC8 &aUsername, HBufC8 *&aToken) |
Constructs a username token. |
|
static IMPORT_C TInt | UsernameTokenL (const TDesC8 &aUsername, const TDesC8 &aPassword, HBufC8 *&aToken) |
Constructs a username token using a password, too. |
|
static IMPORT_C TInt | UsernameTokenL (const TDesC8 &aUsername, const TDesC8 &aPassword, CSenWsSecurityHeader2::TPasswordType aType, HBufC8 *&aToken) |
Constructs a username token using a password, too. |
|
static IMPORT_C TInt | TimestampL (const TDesC8 &aCreated, const TDesC8 &aExpires, HBufC8 *&aTimestamp) |
Constructs a timestamp. |
|
static IMPORT_C TInt | TimestampL (const TDesC8 &aCreated, HBufC8 *&aTimestamp) |
Constructs a timestamp. |
|
Protected Member Functions |
|
IMPORT_C | CSenWsSecurityHeader2 () |
C++ default constructor. |
|
IMPORT_C void | BaseConstructL (RSenDocument aDocument, TXmlEngElement aElement) |
Basic BaseConstructL function. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aData, RSenDocument aDocument, TXmlEngElement aElement) |
From CSenBaseFragment Basic BaseConstructL function. |
|
IMPORT_C void | BaseConstructL (const TDesC8 &aData, const TDesC8 &aSecurityNs, RSenDocument aDocument, TXmlEngElement aElement) |
From CSenBaseFragment Basic BaseConstructL function. |
|
PasswordType Enumeration. |
|
Destructor. |
|
C++ default constructor. |
|
From CSenBaseFragment Basic BaseConstructL function.
|
|
From CSenBaseFragment Basic BaseConstructL function.
|
|
Basic BaseConstructL function. |
|
Basic constructor.
|
|
Basic constructor.
|
|
Basic constructor.
|
|
Basic constructor.
|
|
Basic constructor.
|
|
Basic constructor.
|
|
Constructs a timestamp.
|
|
Constructs a timestamp.
|
|
Constructs a username token using a password, too.
|
|
Constructs a username token using a password, too.
|
|
Constructs a username token. This method does not add the <Password> element, since it is optional for basic username tokens.
|
|
Constructs a username token.
<wsse:UsernameToken> <wsse:Username> username </wsse:Username> <wsse:Password> password </wsse:Password> </wsse:UsernameToken>" If the password type is wsse:Password:Digest, then the password element will be declared as follows: <wsse:Password Type="wsse:PasswordDigest"> The above token assumes, that wsse namespace is declared in top level of the security header.
|
|
Constructs a username token.
The above token assumes, that wsse namespace is declared in top level of the security header.
|
|
Basic getter for XML namespace of the WS security header. Subclasses should override this to use different namespace
|
|
Basic getter for XML namespace prefix of the WS security header. Subclasses should override this to use different namespace prefix
|