|
1 /* |
|
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 #ifndef SEN_IDWSF_CRAMMD5_SASL_MECHANISM_H |
|
26 #define SEN_IDWSF_CRAMMD5_SASL_MECHANISM_H |
|
27 |
|
28 // INCLUDES |
|
29 #include <hash.h> |
|
30 |
|
31 #include "sensecuritymechanism.h" |
|
32 #include "senidwsfplainsaslmechanism.h" |
|
33 |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 class CMessageDigest; |
|
37 class MSenSaslMessage; |
|
38 |
|
39 // CLASS DECLARATION |
|
40 class CSenIdWsfCrammd5SaslMechanism : public CSenIdWsfPlainSaslMechanism |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 static CSenIdWsfCrammd5SaslMechanism* NewL( |
|
45 MSenCoreServiceManager& aServiceManager); |
|
46 static CSenIdWsfCrammd5SaslMechanism* NewLC( |
|
47 MSenCoreServiceManager& aServiceManager); |
|
48 |
|
49 virtual ~CSenIdWsfCrammd5SaslMechanism(); |
|
50 |
|
51 // New functions |
|
52 |
|
53 virtual const TDesC8& Name(); |
|
54 virtual TInt HandleResponseL(MSenSaslMessage& aResponse, |
|
55 MSenSaslMessage& aNewRequest); |
|
56 |
|
57 protected: // Data |
|
58 CSenIdWsfCrammd5SaslMechanism(MSenCoreServiceManager& aServiceManager); |
|
59 }; |
|
60 |
|
61 #endif // SEN_IDWSF_CRAMMD5_SASL_MECHANISM_H |
|
62 |
|
63 // End of File |