CertManMMIProts.h 20.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2005
*
*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
*
*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*******************************************************************************
 *  Modification Notice:
 *  --------------------------
 *  This software is modified by MediaTek Inc. and the information contained
 *  herein is confidential. The software may not be copied and the information
 *  contained herein may not be used or disclosed except with the written
 *  permission of MediaTek Inc. (C) 2001
 *
 *******************************************************************************/
 /*****************************************************************************
 *
 * Filename:
 * ---------
 *  CertManMMIProts.h
 *
 * Project:
 * --------
 * 
 *
 * Description:
 * ------------
 * This file contains declaration of all the functions
 *
 * Author:
 * ------------
 * -------
 *
 *==============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
 *------------------------------------------------------------------------------
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!! 
 *============================================================================== 
************************************************************************************/

#ifdef __PLUTO_MMI_PACKAGE__
#ifndef MMI_CERTMAN_PROTS_H
#define MMI_CERTMAN_PROTS_H

#ifdef __CERTMAN_SUPPORT__
#include "CertManMMITypes.h"
#include "MMIDataType.h"
#include "certman_defs.h"
#include "certman_struct.h"
#include "gui_data_types.h"
#include "mmi_frm_events_gprot.h"
#include "stack_config.h"
#include "MMI_features.h"
#include "kal_general_types.h"
#include "mmi_frm_input_gprot.h"
#include "mmi_frm_history_gprot.h"
#include "wgui_touch_screen.h"
#include "mmi_frm_scenario_gprot.h"

/* Define whether a prompt should be shown to user that no client certificate has been
found when a list of client certificate is asked. If the macro is ON then no prompt is 
shown */
#define __MMI_CERTMAN_DONT_SHOW_CLIENT_CERT_PROMPT__

extern mmi_certman_context_struct g_mmi_certman_context;

/**************************************************************************/
/*****************************IMPORT CERTIFICATES**************************/
/**************************************************************************/
extern void mmi_certman_import_init(void *msg);
extern void mmi_certman_start_import(void *filename);
extern void mmi_certman_import_state(void *);
extern void mmi_certman_handle_error(certman_error_enum error, mmi_id grp);
extern void mmi_certman_pre_entry_get_decryption_password(void);
extern void mmi_certman_decryption_pwd_lsk(void);
extern void mmi_certman_get_decryption_password(void);
extern void mmi_certman_check_decryption_pwd(U8 *pwd);
extern void mmi_certman_decr_pwd_length_validation(U8 *text_p, U8 *cursor_p, S32 length);
extern void mmi_certman_display_file_info(void);
extern void mmi_certman_pre_entry_display_file_info(void);
extern void mmi_certman_certificates_detail(void);
extern void mmi_certman_save_certificate(void);
extern void mmi_certman_display_certificate_contents(void);
extern void mmi_certman_display_certificate_rsk(void);
extern void mmi_certman_save_file(void);
extern void mmi_certman_get_certificate_inputs(void);
extern void mmi_certman_exit_certificate_inputs(void);
extern void mmi_certman_highlight_certificate_input_inline_item(S32 index);
extern void mmi_certman_certificate_input_inline_struct(void);
extern void mmi_certman_entry_select_key_usage_screen(void);
extern void mmi_certman_show_password_editer(void);
extern U16 mmi_certman_get_item_img_hdlr(S32 item_index, U8 state, PU8 *img_buff_p);
extern void mmi_certman_import_deinit(void);
extern void mmi_certman_exit_pwd_screen(void);
extern void mmi_certman_discard_file(void);
extern void mmi_certman_discard_certificate(void);
extern void mmi_certman_check_label(void);
extern void mmi_certman_import_certificate_validation(void);
extern void mmi_certman_import_certificate_validation_rsk(void);
extern void mmi_certman_check_certificate_expiry(void);
extern void mmi_certman_check_certificate_expiry_rsk(void);
extern void mmi_certman_exit_from_import(void);
extern void mmi_certman_display_file_info_lsk(void);
extern void mmi_certman_certificate_inputs_rsk(void);
extern void mmi_certman_cert_strncpy(U8 *Destination, U8 *Source, certman_dcs_enum dcs_type, U32 dest_size);
extern void mmi_certman_import_key_purpose_request(void);
extern void mmi_certman_import_error(void);
extern void mmi_certman_certificate_inputs_exit(void);
extern void mmi_certman_exit_from_import_with_gobackhistory(void);
extern void mmi_certman_pre_enter_install(void);
extern U16 mmi_certman_get_no_of_private_keys(void);
extern U16 mmi_certman_get_no_of_authority_certificates(void);
extern U16 mmi_certman_get_no_of_user_certificates(void);
extern void mmi_certman_pre_entry_get_certificate_inputs(void);
extern void mmi_certman_import_incorrect_pwd_continue(void);
extern void mmi_certman_import_state_with_null(void);
extern void mmi_certman_finish_import(void);
extern void mmi_certman_view_invalid_state_when_null(void);
extern U8 *mmi_certman_left_trim_label(U8 *label);
extern mmi_ret mmi_certman_install_da_file_hdlr(mmi_event_struct *param);

/**************************************************************************/
/*****************************lAUNCH /SELECT CERTIFICATES******************/
/**************************************************************************/

extern void mmi_certman_launch_select_state(void *msg);
extern void mmi_certman_launch_init(void *msg);
extern void mmi_certman_launch_certficate_manager(void);
extern void mmi_certman_highlight_authority_certificates(void);
extern void mmi_certman_highlight_user_certificates(void);
extern void mmi_certman_highlight_view_certificates(void);
extern void mmi_certman_highlight_delete_certificates(void);
extern void mmi_certman_highlight_delete_all_certificates(void);
extern void mmi_certman_highlight_key_usage_certificates(void);
extern void mmi_certman_entry_launch_group(void);
extern void mmi_certman_display_authority_certificates(void);
extern void mmi_certman_display_user_certificates(void);
extern void mmi_certman_view_certificates(void);
extern void mmi_certman_delete_certificates(void);
extern void mmi_certman_delete_all_certificates(void);
extern void mmi_certman_exit_from_select_launch(void);
extern void mmi_certman_key_usages_certificates(void);
extern void mmi_certman_import_set_selected_listbox_and_goback(void);
extern void mmi_certman_update_certificate_list(certman_get_cert_list_by_group_cnf_struct *group_cnf);
extern void mmi_certman_display_certificate_list(void);
extern void mmi_certman_certificate_list_highlight_handler(S32 index);
extern pBOOL mmi_certman_get_certificates(S32 item_index, UI_string_type str_buff, PU8 *img_buff_p, U8 str_img_mask);
extern void mmi_certman_launch_options(void);
extern void mmi_certman_pre_entry_key_usages_certificates(void);
extern void mmi_certman_pre_delete_certificates(void);
extern void mmi_certman_pre_delete_all_certificates(void);
extern void mmi_certman_view_certificate_content(void);
extern void mmi_certman_exit_view(void);
extern void mmi_certman_launch_set_selected_listbox_and_goback(void);
extern void mmi_certman_set_key_purpose(U32 keypurpose, U32 all_key_purposes);
extern U16 mmi_certman_get_item_hdlr(S32 item_index, UI_string_type str_buff);
extern void mmi_certman_exit_certificate_manager(void);
extern void mmi_certman_launch_deinit(void);

extern void mmi_certman_certificates_selection_list(void);
extern void mmi_certman_select_init(void *msg);
extern pBOOL mmi_certman_select_mem_init(void);
extern U16 mmi_certman_input_cert_label(S32 item_index, UI_string_type str_buff);
extern void mmi_certman_select_single_certificate(void);
extern void mmi_certman_select_multiple_certificate(void);
extern void mmi_certman_exit_select_certificate(void);

extern void mmi_certman_pre_entry_get_priv_key_password(void);
extern void mmi_certman_get_priv_key_password(void);
extern void mmi_certman_privkey_usage_password_ind(void *msg);
extern void mmi_certman_check_priv_key_pwd(void);
extern void mmi_certman_exit_priv_key_pwd_screen(void);
extern void mmi_certman_get_priv_key_password_ok(void);
extern void mmi_certman_pwd_length_validation(U8 *text_p, U8 *cursor_p, S32 length);
extern void mmi_certman_priv_key_confirmation(void);
extern void mmi_certman_priv_key_confirmation_yes(void);
extern void mmi_certman_priv_key_confirmation_no(void);
extern void mmi_certman_send_privkey_usage_confirm_ind(void *msg);
extern void mmi_certman_view_certificate_content_only(certman_cert_display_struct *cert_contents);
extern pBOOL mmi_certman_fill_certificate_contents_only(U8 *cert_info, certman_cert_display_struct *display_cert);

extern void mmi_certman_progress_screen(void);
extern void mmi_pre_entry_certman_progress_screen(void);
extern void mmi_certman_mem_init(void);
extern void mmi_certman_entry_new_screen(U16 newscrnID, FuncPtr handler);
extern void mmi_certman_generic_exit_handler(void);
extern void mmi_certman_handle_responses(U32 SCREEN_ID, FuncPtr func);
extern pBOOL mmi_certman_check_screen_in_history(void);
extern pBOOL mmi_certman_check_detail_history(void);
extern void mmi_certman_state_handle(void);
extern void mmi_certman_handle_progress_response_entry(void);
extern void mmi_certman_pre_entry_display_certificate_list(void);
extern void mmi_certman_pre_entry_certificates_selection_list(void);
extern void mmi_certman_category57_entry_new_screen(U16 newscrnID, FuncPtr handler);
extern void mmi_certman_category57_exit_handler(void);
extern void mmi_certman_set_protocol_events(void);
#ifdef __OCSP_SUPPORT__
extern void mmi_certman_set_ocsp_settings(void);
extern void mmi_certman_read_nvram_settings(void);
extern MMINVRAMERRORSENUM mmi_certman_write_nvram_settings(void);
extern void mmi_certman_set_ocsp_settings_done(void);
extern void mmi_certman_ocsp_settings_done(void);
extern void mmi_certman_ocsp_settings_done_err(void);
extern certman_error_enum mmi_certman_send_ocsp_settings(U8* oscp_url);
extern void mmi_certman_pre_entry_ocsp_config(void);
#endif /*__OCSP_SUPPORT__*/
/***************************************************************************/
/*****************************View / Invalid Certificate********************/
/***************************************************************************/
extern void mmi_certman_invalid_error(void);
extern void mmi_certman_view_init(void *msg);
extern void mmi_certman_view_invalid_state(void *msg);
extern void mmi_certman_pre_entry_view_certificate_content(void);
extern void mmi_certman_pre_entry_view_certificate_contents_only(void);
extern void mmi_certman_entry_view_certificate_contents_only(void);
extern void mmi_certman_exit_view_invalid_certificate_contents_only(void);
extern void mmi_certman_back_view_invalid_certificate_contents_only(void);
extern void mmi_certman_view_invalid_deinit(void);
extern void mmi_certman_invalid_certificate_option(void);
extern void mmi_certman_invalid_cert_check_label(void);
extern void mmi_certman_highlight_invalid_cert_install(void);
extern void mmi_certman_highlight_invalid_cert_continue(void);
extern void mmi_certman_highlight_invalid_cert_cancel(void);
extern void mmi_certman_invalid_cert_install(void);
extern void mmi_certman_invalid_cert_continue(void);
extern void mmi_certman_invalid_cert_cancel(void);
extern void mmi_certman_input_invalid_cert_label(void);
extern U32 mmi_certman_error_string_id(void);
extern void mmi_certman_back_view_invalid_certificate_contents(void);
extern void mmi_certman_invalid_certificate_imported(void);

extern void mmi_certman_pre_entry_invalid_cert_label(void);
extern void mmi_certman_select_user_certificate_state(void *msg);
extern void mmi_certman_select_user_certificates_init(void *msg);
extern void mmi_certman_user_certificates_list_deinit(void);
extern void mmi_certman_select_user_certificate_lsk(void);
extern void mmi_certman_select_user_certificate_rsk(void);
extern void mmi_certman_pre_entry_display_user_certificate_list_by_issuer(void);
extern void mmi_certman_display_user_certificate_list_by_issuer(void);
extern void mmi_certman_exit_user_certificates_list(void);
extern void certman_update_issuer_cert_list(certman_get_cert_list_by_issuers_data_ind_struct *issuer_data);
extern void mmi_certman_exit_user_certificates_list_with_goback_history(void);
extern void mmi_certman_user_certificate_list_highlight_handler(S32 index);
extern pBOOL mmi_certman_get_personal_certificates(
                S32 item_index,
                UI_string_type str_buff,
                PU8 *img_buff_p,
                U8 str_img_mask);

extern void mmi_certman_refresh_display_list(void);
extern void mmi_certman_invalid_certificate_init(void *msg);
extern void mmi_certman_invalid_certificate_start(U8 *filename);
extern void mmi_certman_exit_view_invalid_certificate_contents_only_with_gobackhistory(void);
extern void mmi_certman_display_message_with_callback(U16 message, mmi_event_notify_enum event_id, FuncPtr callback, MMI_ID grp);
extern void mmi_certman_history_replace(U16 out_scrn_id, U16 in_scrn_id, FuncPtr in_src_func);
extern void mmi_certman_general_error_handler_if_screen_in_history(void);
extern void mmi_certman_handle_error_with_callback(certman_error_enum error, FuncPtr callback, MMI_ID grp);
extern void mmi_certman_pre_entry_display_certificate_contents(void);
extern pBOOL mmi_certman_check_is_progress_screen_present(void);
extern void mmi_certman_displaypop_with_callback(
                U8 *string,
                mmi_event_notify_enum event_id,
                FuncPtr f,
                MMI_ID grp);
extern void mmi_certman_send_msg_on_queue(module_type src_mod, module_type dest_mod, void *data, U16 msg_id);
extern void mmi_certman_popup_exit_handler(void);
#ifdef __MMI_TOUCH_SCREEN__
extern MMI_BOOL mmi_certman_Cat65ImagePenDownHdlr(mmi_pen_point_struct point);
#endif
extern void mmi_certman_popup_execute_callback(void);
extern void mmi_certman_popup_timeout(void);
extern void mmi_certman_general_error_handler_rsk(void);

#ifdef __MMI_CERTMAN_DONT_SHOW_CLIENT_CERT_PROMPT__
extern void mmi_certman_confirm_without_client_cert_prompt(void);
#endif

   /* Memory API's */

extern void *mmi_certman_malloc(kal_uint32 size);

extern void mmi_certman_free(void *p);

/* Task Queue Functions */
extern pBOOL mmi_certman_insert_task_queue(module_type src_mod, U16 event_id, void *data);
extern void mmi_certman_use_task_queue(void);
extern void mmi_certman_delete_task_queue(module_type src_mod, U16 event_id, void *data);
extern void mmi_certman_empty_task_queue(void);

extern pBOOL mmi_certman_insert_priv_key_queue(U16 event_id, void *data);
extern void mmi_certman_use_priv_key_queue(void);
extern void mmi_certman_empty_priv_key_queue(void);

extern void mmi_certman_delete_screens_for_cancel(void);
extern void mmi_certman_read_task_queue_ind_handler(void *msg);
extern void mmi_certman_read_task_queue_ind(void);
extern pBOOL mmi_certman_is_task_queue_empty(void);
extern void mmi_certman_read_queue_task_if_present(void);
extern void InsertHistoryBeforeThisScrnReference(U16 scrnId, history *addHistory);
extern void mmi_certman_invalid_certificate_option_pre_entry(void);
extern void mmi_certman_editor_input_method_highlight_hdlr(void);
extern void mmi_certman_editor_cancel(void);
extern void mmi_certman_editor_pre_entry_input_method(void);
extern void mmi_certman_editor_done_highlight_hdlr(void);
extern void mmi_certman_play_requeseted_tone(U8);
extern U32 mmi_certman_new_handle(void);
extern void mmi_certman_dummy_screen(void);
#if (defined(__MMI_FTE_SUPPORT__) && defined(__MMI_TOUCH_SCREEN__))
extern void mmi_certman_list_tap_callback(mmi_tap_type_enum tap_type,S32 index);
extern void mmi_certman_cert_input_tap_callback (mmi_tap_type_enum tap_type, S32 index);
#endif /* __MMI_FTE_SUPPORT__ */

extern MMI_BOOL mmi_certman_nmgr_notify_hdlr(mmi_scenario_id scen_id, void *msg);

/* screen group start */
extern mmi_ret mmi_certman_launch_proc(mmi_event_struct *evt);
extern void mmi_certman_launch_scr_entry(void);
extern void mmi_certman_entry_new_screen_2(U16 newscrnID, FuncPtr handler);
extern void mmi_certman_entry_progress_screen(void);
extern void mmi_certman_pre_entry_progress_screen(kal_int32 grp);


extern void mmi_cermtan_entry_import(void);
extern mmi_ret mmi_certman_import_proc(mmi_event_struct *evt);

extern mmi_ret mmi_certman_select_proc(mmi_event_struct *evt);
extern void mmi_certman_select_grp_close_callback(void);

extern void mmi_certman_entry_select_group(void);
extern mmi_ret mmi_certman_select_user_proc(mmi_event_struct *evt);

extern mmi_ret mmi_certman_view_proc(mmi_event_struct *evt);
extern mmi_ret mmi_certman_invalid_proc(mmi_event_struct *evt);

extern void mmi_certman_import_grp_close_callback(void);

extern void mmi_certman_entry_priv_key(void);
extern void mmi_certman_entry_view_group(void);
extern void mmi_certman_entry_invalid_group(void);
extern void mmi_certman_entry_select_user_group(void);

extern mmi_ret mmi_certman_priv_key_proc(mmi_event_struct *evt);
extern void mmi_certman_entry_priv_key_group(void);


/* fseditor CUI */
mmi_id mmi_certman_fseditor_scr_entry(void* arg);


mmi_id mmi_certman_entry_inline_cui(mmi_certman_inline_struct* inline_ptr);

void mmi_certman_import_inline_set_soft_key(void* arg);

void mmi_certman_launch_key_usage_done_callback(void);

#endif /* __CERTMAN_SUPPORT__ */ 
#endif /* MMI_CERTMAN_PROTS_H */ 
#endif /* __PLUTO_MMI_PACKAGE__  */