1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO/IEC 24709-3:2011Information technology Conformance testing forthe biometric applicationprogramming interface (BioAPI)Part 3: Test assertions for BioAPIframeworksBS ISO/IEC
2、 24709-3:2011 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO/IEC24709-3:2011.The UK participation in its preparation was entrusted to TechnicalCommittee IST/44, Biometrics.A list of organizations represented on this committee can beobtained on request to its s
3、ecretary.This publication does not purport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 56523 6ICS 35.040Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was publish
4、ed under the authority of theStandards Policy and Strategy Committee on 31 January 2011.Amendments issued since publicationDate Text affectedBS ISO/IEC 24709-3:2011Reference numberISO/IEC 24709-3:2011(E)ISO/IEC 2011INTERNATIONAL STANDARD ISO/IEC24709-3First edition2011-01-15Information technology Co
5、nformance testing for the biometric application programming interface (BioAPI) Part 3: Test assertions for BioAPI frameworks Technologies de linformation Essai de conformit pour linterface de programmation dapplications biomtriques (BioAPI) Partie 3: Dclarations dessai pour cadres BioAPI BS ISO/IEC
6、24709-3:2011ISO/IEC 24709-3:2011(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the
7、 editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file ca
8、n be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretaria
9、t at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2011 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writin
10、g from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2011 All rights reservedBS ISO/I
11、EC 24709-3:2011ISO/IEC 24709-3:2011(E) ISO/IEC 2011 All rights reserved iiiContents Page Foreword .v Introductionvi 1 Scope1 2 Conformance .1 3 Normative references1 4 Terms and definitions .1 5 Abbreviated terms.2 6 General principles .2 7 Testing the conformance of BioAPI frameworks .3 7.1 General
12、 .3 7.2 Configuration of test assertions 3 7.3 Test flow .6 7.4 Initialisation and termination .6 7.5 List of test assertions .7 7.6 BioAPI conformity statement .10 8 Test assertions 11 8.1 Descriptions of Test Tables .11 8.2 Descriptions of XML text 15 8.3 Common activities.16 8.4 Assertion 1.1 Bio
13、API_Init.28 8.5 Assertion 1.2 BioAPI_Terminate.30 8.6 Assertion 1.3 BioAPI_GetFrameworkInfo 33 8.7 Assertion 1.4 BioAPI_EnumBSPs.35 8.8 Assertion 1.5 BioAPI_BSPLoad_And_BioSPI_BSPLoad .40 8.9 Assertion 1.6 BioAPI_BSPUnload_And_BioSPI_BSPUnload44 8.10 Assertion 1.7 BioAPI_BSPAttach_And_BioSPI_BSPAtta
14、ch47 8.11 Assertion 1.8 BioAPI_BSPDetach_And_BioSPI_BSPDetach 51 8.12 Assertion 1.9 BioAPI_QueryUnits_And_BioSPI_QueryUnits 53 8.13 Assertion 1.10 BioAPI_EnumBFPs.58 8.14 Assertion 1.11 BioAPI_QueryBFPs_And_BioSPI_QueryBFPs60 8.15 Assertion 1.12 BioAPI_ControlUnit_And_BioSPI_ControlUnit .63 8.16 Ass
15、ertion 2.1 BioAPI_FreeBIRHandle_And_BioSPI_FreeBIRHandle .67 8.17 Assertion 2.2 BioAPI_GetBIRFromHandle_And_BioSPI_GetBIRFromHandle.69 8.18 Assertion 2.3 BioAPI_GetHeaderFromHandle_And_BioSPI_GetHeaderFromHandle 73 8.19 Assertion 3.1 BioAPI_EnableEvents_And_BioSPI_EnableEvents76 8.20 Assertion 3.2 B
16、ioAPI_SetGUICallbacks_And_BioSPI_SetGUICallbacks .79 8.21 Assertion 4.1 BioAPI_Capture_And_BioSPI_Capture82 8.22 Assertion 4.2 BioAPI_CreateTemplate_And_BioSPI_CreateTemplate.87 8.23 Assertion 4.3 BioAPI_Process_And_BioSPI_Process .92 8.24 Assertion 4.4 BioAPI_ProcessWithAuxBIR_And_BioSPI_ProcessWit
17、hAuxBIR .95 8.25 Assertion 4.5 BioAPI_VerifyMatch_And_BioSPI_VerifyMatch 100 8.26 Assertion 4.6 BioAPI_IdentifyMatch_And_BioSPI_IdentifyMatch.105 8.27 Assertion 4.7 BioAPI_Enroll_And_BioSPI_Enroll.111 8.28 Assertion 4.8 BioAPI_Verify_And_BioSPI_Verify .117 8.29 Assertion 4.9 BioAPI_Identify_And_BioS
18、PI_Identify125 8.30 Assertion 4.10 BioAPI_Import_And_BioSPI_Import.133 8.31 Assertion 4.11 BioAPI_PresetIdentifyPopulation_And_BioSPI_PresetIdentifyPopulation137 8.32 Assertion 5.1 BioAPI_DbOpen_And_BioSPI_DbOpen .140 BS ISO/IEC 24709-3:2011ISO/IEC 24709-3:2011(E) iv ISO/IEC 2011 All rights reserved
19、8.33 Assertion 5.2 BioAPI_DbClose_And_BioSPI_DbClose . 143 8.34 Assertion 5.3 BioAPI_DbCreate_And_BioSPI_DbCreate 146 8.35 Assertion 5.4 BioAPI_DbDelete_And_BioSPI_DbDelete . 150 8.36 Assertion 5.5 BioAPI_DbSetMarker_And_BioSPI_DbSetMarker 153 8.37 Assertion 5.6 BioAPI_DbFreeMarker_And_BioSPI_DbFree
20、Marker 156 8.38 Assertion 5.7 BioAPI_DbStoreBIR_And_BioSPI_DbStoreBIR 159 8.39 Assertion 5.8 BioAPI_DbGetBIR_And_BioSPI_DbGetBIR 162 8.40 Assertion 5.9 BioAPI_DbGetNextBIR_And_BioSPI_DbGetNextBIR. 166 8.41 Assertion 5.10 BioAPI_DbDeleteBIR_And_BioSPI_DbDeleteBIR. 169 8.42 Assertion 6.1 BioAPI_SetPow
21、erMode_And_BioSPI_SetPowerMode. 172 8.43 Assertion 6.2 BioAPI_SetIndicatorStatus_And_BioSPI_SetIndicatorStatus. 175 8.44 Assertion 6.3 BioAPI_GetIndicatorStatus_And_BioSPI_GetIndicatorStatus 178 8.45 Assertion 6.4 BioAPI_CalibrateSensor_And_BioSPI_CalibrateSensor . 181 8.46 Assertion 7.1 BioAPI_Canc
22、el_And_BioSPI_Cancel. 183 8.47 Assertion 7.2 BioAPI_Free_And_BioSPI_Free . 186 8.48 Assertion 8.1 BioAPI_Util_InstallBSP 188 8.49 Assertion 8.2 BioAPI_Util_InstallBFP 192 Annex A (informative) Test procedures for the multiple-component support 196 A.1 General. 196 A.1.1 Principles. 196 A.2 Test proc
23、edures 197 A.2.1 Role of API/SPI routing for the applications and the BSPs 197 Bibliography. 200 BS ISO/IEC 24709-3:2011ISO/IEC 24709-3:2011(E) ISO/IEC 2011 All rights reserved vForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission)
24、form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IE
25、C technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JT
26、C 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodie
27、s for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identif
28、ying any or all such patent rights. ISO/IEC 24709-3 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 37, Biometrics. ISO/IEC 24709 consists of the following parts, under the general title Information technology Conformance testing for the biometric app
29、lication programming interface (BioAPI): Part 1: Methods and procedures Part 2: Test assertions for biometric service providers Part 3: Test assertions for BioAPI frameworks The following part is under preparation: Part 4: Test assertions for BioAPI applications BS ISO/IEC 24709-3:2011ISO/IEC 24709-
30、3:2011(E) vi ISO/IEC 2011 All rights reservedIntroduction The test assertions specified in this part of ISO/IEC 24709 enable a user of this part of ISO/IEC 24709 (such as a testing laboratory) to test the conformance to ISO/IEC 19784-1 (BioAPI2.0) of any BioAPI framework that claims to be a conformi
31、ng implementation of that International Standard. The organization of the test assertions in this part of ISO/IEC 24709 reflects the structure of Annex A of ISO/IEC 19784-1:2006, which specifies conformance to BioAPI for various types of implementations (BSPs, frameworks, and applications) and for B
32、SPs belonging to several conformance subclasses. This part of ISO/IEC 24709 contains test assertions for testing conformance of BioAPI frameworks to claim compliance to the BioAPI specification defined by ISO/IEC 19784-1:2006. The assertions are further organized according to conformance subclass (i
33、f any) and claimed support of optional features. Each test assertion exercises one or more (possibly elementary) features of an implementation under test. Assertions are placed into packages (one or more assertions per package) as required by the assertion language. Clause 6 specifies general princi
34、ples. Clause 7 specifies the principles and the testing mechanism for the conformance testing for BioAPI frameworks in addition to listing up the test assertions to be used in this conformance testing model. Clause 8 specifies the assertions to be used in the conformance testing model for BioAPI fra
35、meworks. BS ISO/IEC 24709-3:2011INTERNATIONAL STANDARD ISO/IEC 24709-3:2011(E) ISO/IEC 2011 All rights reserved 1Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 3: Test assertions for BioAPI frameworks 1 Scope This part of ISO/IEC 24709 de
36、fines a number of test assertions written in the assertion language specified in ISO/IEC 24709-1:2007. This part of ISO/IEC 24709 specifies all the test assertions that are to be executed for conformance testing of BioAPI frameworks claiming conformance to ISO/IEC 19784-1 (BioAPI 2.0). Test assertio
37、ns specified in this part of ISO/IEC 24709 are not claimed to be exhaustive (see also ISO/IEC 24709-1:2007, Clause 6). Implementations of BioAPI 2.0 that are tested according to the methodology specified in ISO/IEC 24709-1:2007 and with test assertions specified in this part of ISO/IEC 24709 can (on
38、ly) claim conformance to those aspects of ISO/IEC 19784-1 that are covered by these test assertions. 2 Conformance Implementations (BioAPI conformance test suites) claiming conformance to this part of ISO/IEC 24709 shall be able to process all the test assertions specified in Clause 8 according to t
39、he methodology specified in ISO/IEC 24709-1:2007 and the general principles and provisions specified in Clauses 6 and 7. 3 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated
40、 references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 19784-1:2006, Information technology Biometric application programming interface Part 1: BioAPI specification ISO/IEC 24709-1:2007, Information technology Conformance testing for the biometric appl
41、ication programming interface (BioAPI) Part 1: Methods and procedures 4 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 19784-1:2006, ISO/IEC 24709-1:2007 and the following apply. BS ISO/IEC 24709-3:2011ISO/IEC 24709-3:2011(E) 2 ISO/IEC 2011 All ri
42、ghts reserved4.1 API/SPI routing feature provided by the BioAPI Framework to handle multiple applications and/or multiple biometric service providers (BSPs), with which a BioAPI call from an application is correctly given to the BSP specified by the application, and with which a BioSPI return from a
43、 BSP is correctly given to the application that specified the BSP 5 Abbreviated terms For the purposes of this document, the following abbreviated terms apply. API application programming interface BIR biometric information record BSP biometric service provider CBEFF common biometric exchange format
44、 framework FMR false match rate FPI function provider interface GUI graphic user interface ID identity/identification/identifier SPI service provider interface UUID universally unique identifier BCS BioAPI conformity statement CTS BioAPI conformance test suite IUT implementation under test 6 General
45、 principles 6.1 The test assertions listed in Clause 7 and specified in Clause 8 are based on the conformance testing methodology specified in ISO/IEC 24709-1:2007, and can only be used in the context of that methodology. The assertions are written in the assertion language specified in ISO/IEC 2470
46、9-1:2007, which is part of that methodology. 6.2 An important concept of the conformance testing methodology specified in ISO/IEC 24709-1:2007 is the existence of three conformance testing models (see ISO/IEC 24709-1:2007, Clause 6). a) the conformance testing model for BioAPI applications b) the co
47、nformance testing model for BioAPI frameworks c) the conformance testing model for BioAPI BSPs 6.3 Each testing model is concerned with testing one of the three standard components of the BioAPI architecture (see ISO/IEC 24709-1:2007, Clause 6). Clause 8 of this part of ISO/IEC 24709 specifies a num
48、ber of test assertions for the conformance testing model for BioAPI frameworks. This part of ISO/IEC 24709 is not concerned with the conformance testing models for BioAPI applications, BSPs and corresponding test assertions. 6.4 In the conformance testing model for BioAPI frameworks, a special testi
49、ng component (called the “framework-testing application“) shall replace the normal application, and another special testing component( called the “framework-testing BSP“) shall replace the normal BSP. (See 6.2.5.2 of ISO/IEC 24709-1:2007). BS ISO/IEC 24709-3:2011ISO/IEC 24709-3:2011(E) ISO/IEC 2011 All rights reserved 37 Testing the conformance of BioAPI frameworks 7.1 General 7.1.1 This subclause describes the principles