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 // STEPBASE.H |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file cachestepbase.h |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 #ifndef __CACHESTEPBASE_H__ |
|
24 #define __CACHESTEPBASE_H__ |
|
25 |
|
26 #include <x509cert.h> |
|
27 #include "tlscacheclient.h" |
|
28 #include "tlsstepbase.h" |
|
29 |
|
30 |
|
31 //class CCacheStepBase : public CTestStep |
|
32 class CCacheStepBase : public CTlsStepBase |
|
33 { |
|
34 |
|
35 public: |
|
36 void InitializeL(); |
|
37 |
|
38 inline const CX509Certificate& Certificate(); |
|
39 HBufC* SubjectLC(); |
|
40 inline RTlsCacheClient& Session(); |
|
41 |
|
42 ~CCacheStepBase(); |
|
43 private: |
|
44 CX509Certificate* iCertificate; |
|
45 RTlsCacheClient iSession; |
|
46 |
|
47 }; |
|
48 |
|
49 inline const CX509Certificate& CCacheStepBase::Certificate() |
|
50 { |
|
51 return *iCertificate; |
|
52 } |
|
53 |
|
54 inline RTlsCacheClient& CCacheStepBase::Session() |
|
55 { |
|
56 return iSession; |
|
57 } |
|
58 |
|
59 #endif /* __CACHESTEPBASE_H__ */ |