1 // |
1 // |
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 // All rights reserved. |
3 // All rights reserved. |
4 // This component and the accompanying materials are made available |
4 // This component and the accompanying materials are made available |
5 // under the terms of the License "Eclipse Public License v1.0" |
5 // under the terms of the License "Eclipse Public License v1.0" |
6 // which accompanies this distribution, and is available |
6 // which accompanies this distribution, and is available |
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
749 RUN_TEST_STEP -1 CTestHandler delete |
749 RUN_TEST_STEP -1 CTestHandler delete |
750 |
750 |
751 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-0014 |
751 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-0014 |
752 |
752 |
753 |
753 |
|
754 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId |
|
755 |
|
756 //! @SYMTestCaseID SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId |
|
757 |
|
758 //! @SYMTestCaseDesc 4.1 Test cases for cheking the retrieval of certificates based on subject key identifier. |
|
759 |
|
760 //! |
|
761 |
|
762 //! @SYMTestActions 1) No Test, Add a private key (rsacertkey) |
|
763 |
|
764 //! 2) No Test,Add the end entity certificate (rsacert1) without specifying the subject keyid. |
|
765 |
|
766 //! 3) Filter the certificate based on subject key id. |
|
767 |
|
768 //! 4) No Test,Add a self signed certificate |
|
769 |
|
770 //! 5) Filter the self signed certificate based on subject key id. |
|
771 |
|
772 //! 6) No Test,Add a CA certificate |
|
773 |
|
774 //! 7) Filter the CA certificate based on subject key id. |
|
775 |
|
776 RUN_TEST_STEP -1 CTestHandler init unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-001 |
|
777 |
|
778 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-002 |
|
779 |
|
780 RUN_TEST_STEP -1 CTestHandler importkey unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-003 |
|
781 |
|
782 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-004 |
|
783 |
|
784 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-005 |
|
785 |
|
786 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-006 |
|
787 |
|
788 RUN_TEST_STEP -1 CTestHandler importkey unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-007 |
|
789 |
|
790 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-008 |
|
791 |
|
792 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-009 |
|
793 |
|
794 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-010 |
|
795 |
|
796 RUN_TEST_STEP -1 CTestHandler addcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-011 |
|
797 |
|
798 RUN_TEST_STEP -1 CTestHandler listcert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-012 |
|
799 |
|
800 RUN_TEST_STEP -1 CTestHandler deletecert unifiedcertstore2-conf1.ini SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId-013 |
|
801 |
|
802 END_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-FilterOnSubjectKeyId |
|
803 |
754 |
804 |
755 |
805 |
756 |
806 |
757 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-0015 |
807 START_TESTCASE SEC-CERTMAN-UNIFIEDCERTSTORE2-CONF1-0015 |
758 |
808 |