|
1 /* |
|
2 * Copyright (c) 2006 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: The inl file of DevTokenDataTypes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // Data types used by the device tokens server |
|
20 |
|
21 inline CDevTokenKeyInfo::CDevTokenKeyInfo() : |
|
22 CKeyInfoBase() |
|
23 { |
|
24 } |
|
25 |
|
26 inline CDevTokenKeyInfo::~CDevTokenKeyInfo() |
|
27 { |
|
28 } |
|
29 |
|
30 inline void CDevTokenKeyInfo::CleanupPushL() |
|
31 { |
|
32 CleanupStack::PushL(this); |
|
33 } |
|
34 |
|
35 inline TInt CDevTokenKeyInfo::Handle() const |
|
36 { |
|
37 return iHandle; |
|
38 } |
|
39 |
|
40 inline void CDevTokenKeyInfo::SetAccessType(TInt aAccessType) |
|
41 { |
|
42 iAccessType = aAccessType; |
|
43 } |
|
44 |
|
45 inline const TInteger& CDevTokenDHParams::N() const |
|
46 { |
|
47 return iN; |
|
48 } |
|
49 |
|
50 inline const TInteger& CDevTokenDHParams::G() const |
|
51 { |
|
52 return iG; |
|
53 } |
|
54 |
|
55 inline const TDesC& CDevTokenCertInfo::Label() const |
|
56 { |
|
57 return iLabel; |
|
58 } |
|
59 |
|
60 inline TInt CDevTokenCertInfo::Reference() const |
|
61 { |
|
62 return iCertificateId; |
|
63 } |
|
64 |
|
65 inline const TKeyIdentifier& CDevTokenCertInfo::SubjectKeyId() const |
|
66 { |
|
67 return iSubjectKeyId; |
|
68 } |
|
69 |
|
70 inline const TKeyIdentifier& CDevTokenCertInfo::IssuerKeyId() const |
|
71 { |
|
72 return iIssuerKeyId; |
|
73 } |
|
74 |
|
75 inline TCertificateFormat CDevTokenCertInfo::CertificateFormat() const |
|
76 { |
|
77 return iFormat; |
|
78 } |
|
79 |
|
80 inline TCertificateOwnerType CDevTokenCertInfo::CertificateOwnerType() const |
|
81 { |
|
82 return iCertificateOwnerType; |
|
83 } |
|
84 |
|
85 inline TInt CDevTokenCertInfo::Size() const |
|
86 { |
|
87 return iSize; |
|
88 } |
|
89 |
|
90 inline TInt CDevTokenCertInfo::CertificateId() const |
|
91 { |
|
92 return iCertificateId; |
|
93 } |
|
94 |
|
95 inline TBool CDevTokenCertInfo::IsDeletable() const |
|
96 { |
|
97 return iDeletable; |
|
98 } |
|
99 |
|
100 |
|
101 //EOF |
|
102 |