wim/inc/WimOpcode.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Operation codes for WimClient and WimServer message passing
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef WIMOPCODE_H
       
    20 #define WIMOPCODE_H
       
    21 
       
    22 // Opcodes used in message passing between client and server
       
    23 enum TWimServRqst
       
    24     {
       
    25     ENon,               // Opcode has not been assigned yet
       
    26     /* -- WIM management ---------------------------------------------------- */
       
    27     EWimInitialize,     // Initialize WIM
       
    28     ECancelWimInitialize, //Cancel Initialize WIM
       
    29     EGetWIMCount,       // WIM query operations code
       
    30     EGetWIMRefs,        // Get the array of Wim structures
       
    31     EGetWIMInfo,        // Get WIM info (manufacturer etc.)
       
    32     EIsWIMOpen,         // WIM operations code
       
    33     ECloseWIMAfter,     // Set closing time for WIM
       
    34     EGetCloseWIMAfter,  // Get value for WIM closing timeout
       
    35     EWimTimeRemaining,  // Time that WIM is still open   
       
    36     EWIMClose,          // Closes the WIM
       
    37     ENotifyOnRemoval,   // Notify client when the token has been removed
       
    38     ECancelNotifyOnRemoval, // Cancel NotifyOnRemoval request  
       
    39     EFreeMemory,        // Free the address list
       
    40     EFreeWIMMemoryLst,  // Free the address list
       
    41     EFreeMemoryLst,     // Free the address list
       
    42     
       
    43     /* -- PIN & Key management ---------------------------------------------- */
       
    44     EGetPINCount,       // Get count of PINs in WIM
       
    45     EGetPINRefs,        // Get the array of Pin structures
       
    46     EGetPINInfo,        // Get PIN info
       
    47     EGetPINsInfo,
       
    48     EIsPinBlocked,      // Check if PIN is blocked or not
       
    49     EIsDisabledPinBlocked,    
       
    50     EChangePINReq,      // Change the PIN value
       
    51     ECancelChangePin,   //Cancel change Pin value
       
    52     EEnablePINReq,      // Enable PIN
       
    53     ECancelEnablePin,   //Cancel enable pin
       
    54     EUnblockPinReq,     // Unblock blocked PIN
       
    55     ECancelUnblockPin,  //Cancel unblock pin
       
    56     EVerifyPinReq,      // Verify PIN
       
    57     ECancelVerifyPin,   //Cancel verify pin
       
    58     EVerifyDisabledPinReq, //Verify Disabled PIN
       
    59     ECancelDisabledPin, //Cancel disabled pin
       
    60     EGetKeyDetails,     // Get Key details based on public key
       
    61     EGetKeyList,        // Get list of keys in WIM
       
    62     EDoesPvKeyExist,    // Check if private key exists
       
    63     ERetrieveAuthObjsInfo,   // Get the auth Obj info
       
    64     
       
    65     /* -- Certificate management -------------------------------------------- */
       
    66     EGetWIMCertLst,     // Get the certifcate list
       
    67     EGetCertCount,      // Get the certificate count
       
    68     EGetWIMCertDetails, // Get the certificate details
       
    69     EGetCertExtras,     // Get certificate extra data
       
    70     EStoreCertificate,  // Store certificate to card
       
    71     ERemoveCertificate, // Remove certificate from card
       
    72     EExportPublicKey,   // Export public key of certificate
       
    73     
       
    74     /* -- Digital signature ------------------------------------------------- */
       
    75     ESignTextReq,       // Sign some text
       
    76 
       
    77     /* -- OMA Provisioning -------------------------------------------------- */
       
    78     EGetOMAFileSize,    // Get OMA Provisioning file size
       
    79     EGetOMAFile,        // Get OMA Provisioning file
       
    80    
       
    81     /* -- Java Proisioning ---------------------------------------------------*/
       
    82     EGetACIFFileSize,
       
    83     EGetACIFFile,
       
    84     EGetACFFileSize,
       
    85     EGetACFFile,
       
    86     EGetLabelAndPath,
       
    87      
       
    88     /* -- Trust Settings Store ---------------------------------------------- */
       
    89     EGetTrustSettings,          // Get trust settings for given certificate
       
    90     ESetApplicability,          // Set applicability for given certificate
       
    91     ESetTrust,                  // Set trust flag for given certificate
       
    92     ESetDefaultTrustSettings,   // Set default settings for given certificate
       
    93     ERemoveTrustSettings,       // Remove trust settings of given certificate
       
    94     ECancelTrustSettings        // Cancel any issued asynchronous call
       
    95     };
       
    96 
       
    97 #endif      // WIMOPCODE_H
       
    98 // End of File