equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2008 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: Class definition of CDmAdPKCS12Parms |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __DMADPKCS12PARMS_H__ |
|
22 #define __DMADPKCS12PARMS_H__ |
|
23 |
|
24 #include <e32base.h> |
|
25 #include <securitydefs.h> |
|
26 |
|
27 #include "pkidefs.h" |
|
28 |
|
29 |
|
30 class CDmAdPKCS12Parms : public CBase |
|
31 { |
|
32 public: |
|
33 static CDmAdPKCS12Parms* NewL(); |
|
34 static CDmAdPKCS12Parms* NewLC(); |
|
35 ~CDmAdPKCS12Parms(); |
|
36 |
|
37 TBool Deletable() const; |
|
38 void SetDeletable(TBool aDeletable); |
|
39 |
|
40 const RArray<TUid>& Applicability() const; |
|
41 void SetApplicabilityL(const RArray<TUid>& aApplicability); |
|
42 |
|
43 TPtrC8 Content() const; |
|
44 void SetContentL(const TDesC8& aContent); |
|
45 |
|
46 TPtrC8 Password() const; |
|
47 void SetPasswordL(const TDesC8& aPassword); |
|
48 |
|
49 private: |
|
50 CDmAdPKCS12Parms(); |
|
51 |
|
52 private: |
|
53 TBool iDeletable; |
|
54 TBool iTrusted; |
|
55 RArray<TUid> iApplicability; |
|
56 HBufC8* iContent; //CertificateDer; |
|
57 HBufC8* iPassword; |
|
58 }; |
|
59 |
|
60 #endif |