equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 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 the License "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 |
|
19 #include "truststatus.h" |
|
20 #include "serialiser.h" |
|
21 #include "deserialiser.h" |
|
22 |
|
23 /// from swi/sistruststatus.h |
|
24 const TUint32 TrustStatus::KOcspNotPerformed = 10; |
|
25 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
|
26 const TUint32 TrustStatus::KValidationStatusUnknown = 0; |
|
27 #endif |
|
28 const TUint32 TrustStatus::KValidatedToAnchor = 50; |
|
29 const TUint32 TrustStatus::KPackageInRom = 60; |
|
30 |
|
31 TrustStatus::TrustStatus () |
|
32 { |
|
33 } |
|
34 |
|
35 TrustStatus::~TrustStatus() |
|
36 { |
|
37 } |
|
38 |
|
39 void TrustStatus::Internalize(Deserialiser& des) |
|
40 { |
|
41 des >> iValidationStatus |
|
42 >> iRevocationStatus |
|
43 >> iResultDate |
|
44 >> iLastCheckDate |
|
45 >> iQuaratined |
|
46 >> iQuaratinedDate; |
|
47 } |
|
48 |
|
49 void TrustStatus::Externalize(Serialiser& ser) |
|
50 { |
|
51 ser << iValidationStatus |
|
52 << iRevocationStatus |
|
53 << iResultDate |
|
54 << iLastCheckDate |
|
55 << iQuaratined |
|
56 << iQuaratinedDate; |
|
57 } |
|
58 |
|
59 |