|
1 /* |
|
2 * Copyright (c) 2000 - 2010 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: Provides file handling functions. |
|
15 * |
|
16 */ |
|
17 #ifndef __VPNAGILEPROVISIONDEFS_H__ |
|
18 #define __VPNAGILEPROVISIONDEFS_H__ |
|
19 |
|
20 #include <e32base.h> |
|
21 |
|
22 |
|
23 _LIT(KAgileProvisionPolicyFileName, "agileVPN.pol"); |
|
24 _LIT(KAgileProvisionPinFileName, "agileVPN.pin"); |
|
25 _LIT(KAgileProvisionCertificateFileName, "agileVPN-User.cer"); |
|
26 _LIT(KAgileProvisionServiceNameSpace, "agileVPNProvisionService"); |
|
27 _LIT8(KCRLF, "\r\n"); |
|
28 _LIT8(KHTTPprefix, "https://"); |
|
29 _LIT8(KServiceSuffix, "/AWS/AgileVPNProvisionService.asmx"); |
|
30 _LIT8(KPolicyRequestPrefix, "<xdb:GetConf xmlns:xdb=\""); |
|
31 _LIT8(KCertificatRequestPrefix, "<xdb:GetCertificate xmlns:xdb=\""); |
|
32 _LIT8 (KSoapActionGetPolicySuffix, "/GetConf"); |
|
33 _LIT8 (KSoapActionGetCertificateSuffix, "/GetCertificate"); |
|
34 _LIT(KPolFileExtension, ".pol"); |
|
35 |
|
36 _LIT8(KSoapAction, "http://vpn.agileprovision/GetConf"); |
|
37 _LIT8(KRequest, "<xdb:GetConf xmlns:xdb=\"http://vpn.agileprovision\"/>"); |
|
38 |
|
39 _LIT8(KSoapActionCert, "http://vpn.agileprovision/GetCertificate"); |
|
40 |
|
41 _LIT8(KRequest1, "<xdb:GetCertificate xmlns:xdb=\"http://vpn.agileprovision\"><xdb:certreq>"); |
|
42 _LIT8(KRequest2, "</xdb:certreq></xdb:GetCertificate>"); |
|
43 |
|
44 |
|
45 #endif // __VPNAGILEPROVISIONDEFS_H__ |
|
46 |
|
47 |
|
48 |