Link against: SenServConn.LIB SenUtils.LIB
NetworkServices ReadUserData WriteUserData
#include <SenWsSecurityHeader.h>
Inherits CSenBaseFragment.
Public Types |
|
| enum | TPasswordType { EText = 1, EDigest } |
| PasswordType Enumeration. More... |
|
Public Member Functions |
|
| virtual IMPORT_C | ~CSenWsSecurityHeader () |
| Destructor. |
|
| IMPORT_C HBufC8 * | UsernameTokenL (CSenIdentityProvider &aIdentityProvider) |
| Constructs a username token. |
|
| IMPORT_C HBufC8 * | UsernameTokenL (CSenIdentityProvider &aIdentityProvider, CSenWsSecurityHeader::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 CSenWsSecurityHeader * | NewL () |
| Basic constructor. |
|
| static IMPORT_C CSenWsSecurityHeader * | NewLC () |
| Basic constructor. |
|
| static IMPORT_C CSenWsSecurityHeader * | NewL (const TDesC8 &aData) |
| Basic constructor. |
|
| static IMPORT_C CSenWsSecurityHeader * | NewLC (const TDesC8 &aData) |
| Basic constructor. |
|
| static IMPORT_C CSenWsSecurityHeader * | NewL (const TDesC8 &aData, const TDesC8 &aSecurityNs) |
| Basic constructor. |
|
| static IMPORT_C CSenWsSecurityHeader * | NewLC (const TDesC8 &aData, const TDesC8 &aSecurityNs) |
| 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, CSenWsSecurityHeader::TPasswordType aType, HBufC8 *&aToken) |
| Constructs a username token using a password, too. |
|
| static IMPORT_C TInt | BinarySecurityTokenL (const TDesC8 &aContent, HBufC8 *&aToken) |
| Constructs a BinarySecurityToken. |
|
| static IMPORT_C TInt | BinarySecurityTokenL (const TDesC8 &aContent, const TDesC8 &aValueType, HBufC8 *&aToken) |
| Constructs a BinarySecurityToken. |
|
| 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 | CSenWsSecurityHeader () |
| C++ default constructor. |
|
| IMPORT_C void | BaseConstructL () |
| Basic BaseConstructL function. |
|
| IMPORT_C void | BaseConstructL (const TDesC8 &aData) |
| From CSenBaseFragment Basic BaseConstructL function. |
|
| IMPORT_C void | BaseConstructL (const TDesC8 &aData, const TDesC8 &aSecurityNs) |
| BaseConstructL offering possibility to set XML namespace and localname. |
|
|
|
PasswordType Enumeration. |
|
|
Destructor. |
|
|
C++ default constructor. |
|
||||||||||||
|
BaseConstructL offering possibility to set XML namespace and localname.
Reimplemented from CSenBaseFragment. |
|
|
From CSenBaseFragment Basic BaseConstructL function.
Reimplemented from CSenBaseFragment. |
|
|
Basic BaseConstructL function. |
|
||||||||||||||||
|
Constructs a BinarySecurityToken.
|
|
||||||||||||
|
Constructs a BinarySecurityToken.
|
|
||||||||||||
|
Basic constructor.
Reimplemented from CSenBaseFragment. |
|
|
Basic constructor.
Reimplemented from CSenBaseFragment. |
|
|
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
|