equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __STEPBASE_H__ |
|
17 #define __STEPBASE_H__ |
|
18 |
|
19 #include <x509cert.h> |
|
20 #include <testexecuteserverbase.h> |
|
21 #include "tlscacheclient.h" |
|
22 |
|
23 |
|
24 class CStepBase : public CTestStep |
|
25 { |
|
26 |
|
27 public: |
|
28 void InitializeL(); |
|
29 |
|
30 inline const CX509Certificate& Certificate(); |
|
31 HBufC* SubjectLC(); |
|
32 inline RTlsCacheClient& Session(); |
|
33 |
|
34 ~CStepBase(); |
|
35 private: |
|
36 CX509Certificate* iCertificate; |
|
37 RTlsCacheClient iSession; |
|
38 |
|
39 }; |
|
40 |
|
41 inline const CX509Certificate& CStepBase::Certificate() |
|
42 { |
|
43 return *iCertificate; |
|
44 } |
|
45 |
|
46 inline RTlsCacheClient& CStepBase::Session() |
|
47 { |
|
48 return iSession; |
|
49 } |
|
50 |
|
51 #endif /* __STEPBASE_H__ */ |