equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CHTTPSCERTINFO_H |
|
19 #define CHTTPSCERTINFO_H |
|
20 |
|
21 #include <ssl.h> |
|
22 #include <signed.h> |
|
23 #include "mnativesecureconnectioninformation.h" |
|
24 |
|
25 class CHttpsCertInfo : public CBase, public MNativeSecureConnectionInformation |
|
26 { |
|
27 public: |
|
28 IMPORT_C static CHttpsCertInfo* NewL(const CX509Certificate& aCertInfo, HBufC* aCipherSuite); |
|
29 IMPORT_C ~CHttpsCertInfo(); |
|
30 public:// from MNativeSecureConnectionInformation |
|
31 void GetSecurityInfoL(CDesCArray& aStringResult, TTime& aStartTime, TTime& aEndTime); |
|
32 private: |
|
33 HBufC* SerializeDistinguishedNameLC(const CX500DistinguishedName& aDN); |
|
34 CHttpsCertInfo(const CX509Certificate& aCertInfo, HBufC* aCipherSuite); |
|
35 void ConstructL(); |
|
36 private: |
|
37 const CX509Certificate& iCertInfo; |
|
38 HBufC* iSubject; |
|
39 HBufC* iIssuer; |
|
40 HBufC& iCipherSuite; |
|
41 }; |
|
42 |
|
43 #endif // CHTTPSCERTINFO_H |