vpnengine/dmadpki/inc/dmadddf_lits.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     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:   String literals for OMA DM PKI use
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADDDF_LITS_H__
       
    21 #define __DMADDDF_LITS_H__
       
    22 
       
    23 
       
    24 //------------------------------------------------------------------------------------------------
       
    25 // DDF version
       
    26 //------------------------------------------------------------------------------------------------
       
    27 _LIT8(KDmAdDdfVersion, "1.0"); 
       
    28 
       
    29 //------------------------------------------------------------------------------------------------
       
    30 // ./NokiaPKI Type property
       
    31 //------------------------------------------------------------------------------------------------
       
    32 _LIT8(KDmAdNokiaPkiRootTypeProperty, "com.nokia.devman/1.0/pki"); 
       
    33 
       
    34 //------------------------------------------------------------------------------------------------
       
    35 // URIs
       
    36 //------------------------------------------------------------------------------------------------
       
    37 _LIT8(KDmAdOwnAdUriForGetLuidAllocLFix, "NokiaPKI/Cert");  // URI not object group level?
       
    38 _LIT8(KDmAdOwnAdUriForPrivateKeys, "NokiaPKI/PrivKey");  
       
    39 _LIT8(KDmAdOwnAdUriForPKCS12, "NokiaPKI/PKCS12");
       
    40 
       
    41     //------- root -----------------
       
    42 _LIT8(KDmAdNodeNokiaPki, "NokiaPKI");
       
    43 
       
    44     //------- common -----------------
       
    45 _LIT8(KDmAdNodeRt, "");
       
    46 _LIT8(KDmAdNodeGeneral, "General");
       
    47 
       
    48 _LIT8(KDmAdLeafCertApplications, "CertApplications");
       
    49 _LIT8(KDmAdLeafLogon, "Logon");
       
    50 _LIT8(KDmAdLeafLogoff, "Logoff");
       
    51 _LIT8(KDmAdLeafKeyStore, "KeyStore");
       
    52 _LIT8(KDmAdLeafCertStore, "CertStore");
       
    53 
       
    54 
       
    55 _LIT8(KDmAdLeafContent, "Content");
       
    56 _LIT8(KDmAdLeafSubjectName, "SubjectName");
       
    57 _LIT8(KDmAdLeafKeyId, "KeyID");
       
    58 _LIT8(KDmAdLeafKeyLength, "KeyLength");
       
    59 _LIT8(KDmAdLeafKeyURI, "KeyURI");
       
    60 
       
    61     //------- Cert -----------------
       
    62 _LIT8(KDmAdNodeCert, "Cert");
       
    63 _LIT8(KDmAdLeafType, "Type");
       
    64 _LIT8(KDmAdLeafFormat, "Format");
       
    65 _LIT8(KDmAdLeafSerialNumber, "SerialNumber");
       
    66 _LIT8(KDmAdLeafIssuerName, "IssuerName");
       
    67 _LIT8(KDmAdLeafFingerprintAlg, "FingerprintAlg");
       
    68 _LIT8(KDmAdLeafFingerprintValue, "FingerprintValue");
       
    69 _LIT8(KDmAdLeafValidityBegin, "ValidityBegin");
       
    70 _LIT8(KDmAdLeafValidityEnd, "ValidityEnd");
       
    71 _LIT8(KDmAdLeafSubjectAltName, "SubjectAltName");
       
    72 _LIT8(KDmAdLeafKeyUsage, "KeyUsage");
       
    73 _LIT8(KDmAdLeafDeletable, "Deletable");
       
    74 _LIT8(KDmAdLeafTrusted, "Trusted");
       
    75 _LIT8(KDmAdLeafApplicability, "Applicability");
       
    76 
       
    77     //------- CertReq -----------------
       
    78 _LIT8(KDmAdNodeCertReq, "CertReq");
       
    79 _LIT8(KDmAdLeafRfc822Name, "RFC822Name");
       
    80 
       
    81     //------- PrivKey -----------------
       
    82 _LIT8(KDmAdNodePrivKey, "PrivKey");
       
    83 _LIT8(KDmAdLeafKeyType, "KeyType");
       
    84 
       
    85     //------- PKCS#12 -----------------
       
    86 _LIT8(KDmAdNodePKCS12, "PKCS12");
       
    87 _LIT8(KDmAdLeafPKCS12Password, "Password");
       
    88 // Note: Nodes "Deletable" (KDmAdLeafDeletable),
       
    89 // "Applicability" (KDmAdLeafApplicability) and 
       
    90 // "Content" (KDmAdLeafContent) are valid in PKCS#12 
       
    91 // context as well.
       
    92 
       
    93 //------------------------------------------------------------------------------------------------
       
    94 // URI descriptions
       
    95 //------------------------------------------------------------------------------------------------
       
    96     //------- root -----------------
       
    97 _LIT8(KDmAdDescNodeNokiaPki, "NokiaPKI");
       
    98 
       
    99     //------- common -----------------
       
   100 _LIT8(KDmAdDescNodeRt, "Placeholder for one set of settings");
       
   101 _LIT8(KDmAdDescNodeGeneral, "General");
       
   102 
       
   103 _LIT8(KDmAdDescLeafCertApplications, "CertApplications");
       
   104 _LIT8(KDmAdDescLeafLogon, "Logon");
       
   105 _LIT8(KDmAdDescLeafLogoff, "Logoff");
       
   106 _LIT8(KDmAdDescLeafKeyStore, "KeyStore");
       
   107 _LIT8(KDmAdDescLeafCertStore, "CertStore");
       
   108 
       
   109 _LIT8(KDmAdDescLeafType, "Type");
       
   110 _LIT8(KDmAdDescLeafContent, "Content");
       
   111 _LIT8(KDmAdDescLeafStatus, "Status");
       
   112 _LIT8(KDmAdDescLeafIssuerName, "IssuerName");
       
   113 _LIT8(KDmAdDescLeafSubjectName, "SubjectName");
       
   114 _LIT8(KDmAdDescLeafSubjectAltName, "SubjectAltName");
       
   115 _LIT8(KDmAdDescLeafRfc822Name, "RFC822Name");
       
   116 _LIT8(KDmAdDescLeafKeyId, "KeyID");
       
   117 _LIT8(KDmAdDescLeafKeyLength, "KeyLength");
       
   118 
       
   119     //------- Cert -----------------
       
   120 _LIT8(KDmAdDescNodeCert, "Cert");
       
   121 _LIT8(KDmAdDescLeafFormat, "Format");
       
   122 _LIT8(KDmAdDescLeafSerialNumber, "SerialNumber");
       
   123 _LIT8(KDmAdDescLeafFingerprintAlg, "FingerprintAlg");
       
   124 _LIT8(KDmAdDescLeafFingerprintValue, "FingerprintValue");
       
   125 _LIT8(KDmAdDescLeafValidityBegin, "ValidityBegin");
       
   126 _LIT8(KDmAdDescLeafValidityEnd, "ValidityEnd");
       
   127 _LIT8(KDmAdDescLeafKeyURI, "KeyURI");
       
   128 _LIT8(KDmAdDescLeafKeyUsage, "KeyUsage");
       
   129 _LIT8(KDmAdDescLeafDeletable, "Deletable");
       
   130 _LIT8(KDmAdDescLeafTrusted, "Trusted");
       
   131 _LIT8(KDmAdDescLeafApplicability, "Applicability");
       
   132 
       
   133     //------- CertReq -----------------
       
   134 _LIT8(KDmAdDescNodeCertReq, "CertReq");
       
   135 _LIT8(KDmAdDescLeafKeyUri, "KeyURI");
       
   136 
       
   137     //------- PrivKey -----------------
       
   138 _LIT8(KDmAdDescNodePrivKey, "PrivKey");
       
   139 _LIT8(KDmAdDescLeafKeyType, "KeyType");
       
   140 _LIT8(KDmAdDescLeafKeyFormat, "KeyFormat");
       
   141 
       
   142     //------- PKCS#12 -----------------
       
   143 _LIT8(KDmAdDescNodePKCS12, "PKCS12");
       
   144 _LIT8(KDmAdDescLeafPKCS12Password, "Password");
       
   145 
       
   146 //------------------------------------------------------------------------------------------------
       
   147 // ChildURIListL constants
       
   148 //------------------------------------------------------------------------------------------------
       
   149 _LIT8(KDmAdListOfNokiaPkiChildren, "Logon/Logoff/KeyStore/CertStore/General/Cert/CertReq/PrivKey/PKCS12");
       
   150 _LIT8(KDmAdListOfCertXChildren, "Type/Format/SerialNumber/IssuerName/FingerprintAlg/FingerprintValue/ValidityBegin/ValidityEnd/SubjectName/SubjectAltName/KeyURI/KeyID/KeyUsage/Deletable/Trusted/Applicability/Content");
       
   151 _LIT8(KDmAdListOfCertReqXChildren, "SubjectName/RFC822Name/KeyURI/KeyLength/Content");
       
   152 _LIT8(KDmAdListOfPrivKeyXChildren, "KeyType/KeyLength/KeyID");
       
   153 
       
   154 _LIT8(KDmAdListOfPKCS12XChildren, "Password/Deletable/Applicability/Content");
       
   155 
       
   156 _LIT8(KDmAdListOfPkiGeneralChildren, "CertApplications");
       
   157 
       
   158 //------------------------------------------------------------------------------------------------
       
   159 // TDFFormat - EBool
       
   160 //------------------------------------------------------------------------------------------------
       
   161 _LIT8(KDmAdDfFormatBoolTrue, "True" );
       
   162 _LIT8(KDmAdDfFormatBoolFalse, "False" );
       
   163 
       
   164 #endif