os/security/cryptoservices/certificateandkeymgmt/tcertstore/scripts/t_handle_1.script
First public contribution.
2 // Copyright (c) 2009 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 the License "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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
17 START_TESTCASE SEC-CERTMAN-T_HANDLE_1-0001
19 //! @SYMTestCaseID SEC-CERTMAN-T_HANDLE_1-0001
23 //! @SYMTestActions 1) Opening a Unified Cert Store
25 //! 2) Adding a certificate
27 //! 3) Add the certificate caX1
29 //! 4) Getting the handle
31 //! 5) Getting the certificate by handle
33 //! 6) Getting the certificate by handle
35 //! 7) Getting the certificate by handle
37 //! 8) Getting the certificate by handle
39 //! 9) Deleting the certificate CAW2
41 //! 10) Getting the certificate by handle
43 //! 11) Adding a certificate
45 //! 12) Getting the certificate by handle
47 //! 13) Deleting the certificate CAX1
49 //! 14) Deleting the certificate CAW2
51 //! 15) Deleting the Unified Cert Store
53 RUN_TEST_STEP -1 CTestHandler init t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-001
55 RUN_TEST_STEP -1 CTestHandler addcert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-002
57 RUN_TEST_STEP -1 CTestHandler addcert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-003
59 RUN_TEST_STEP -1 CTestHandler CCTCertInfo_Handle t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-004
61 RUN_TEST_STEP -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-005
63 RUN_TEST_STEP !Error=-1 -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-006
65 RUN_TEST_STEP -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-007
67 RUN_TEST_STEP -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-008
69 RUN_TEST_STEP -1 CTestHandler deletecert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-009
71 RUN_TEST_STEP -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-010
73 RUN_TEST_STEP -1 CTestHandler addcert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-011
75 RUN_TEST_STEP -1 CTestHandler CUnifiedCertStore_GetCert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-012
77 RUN_TEST_STEP -1 CTestHandler deletecert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-013
79 RUN_TEST_STEP -1 CTestHandler deletecert t_handle_1.ini SEC-CERTMAN-T_HANDLE_1-0001-014
81 RUN_TEST_STEP -1 CTestHandler delete
83 END_TESTCASE SEC-CERTMAN-T_HANDLE_1-0001