1、BRITISH STANDARD BS ISO/IEC 24709-2:2007 Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 2: Test assertions for biometric service providers ICS 35.040 BS ISO/IEC 24709-2:2007 This British Standard was published under the authority of the S
2、tandards Policy and Strategy Committee on 28 February 2007 BSI 2007 ISBN 978 0 580 50268 2 National foreword This British Standard was published by BSI. It is the UK implementation of ISO/IEC 24709-2:2007. The UK participation in its preparation was entrusted to Technical Committee IST/44, Biometric
3、s. A list of organizations represented on IST/44 can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. Compliance with a British Standard cannot confer immunity from leg
4、al obligations. Amendments issued since publication Amd. No. Date Comments Reference number ISO/IEC 24709-2:2007(E)INTERNATIONAL STANDARD ISO/IEC 24709-2 First edition 2007-02-15 Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 2: Test asse
5、rtions for biometric service providers Technologies de linformation Essai de conformit pour linterface de programmation dapplications biomtriques (BioAPI) Partie 2: Assertions dessai pour les fournisseurs de services biomtriques BS ISO/IEC 24709-2:2007ii iii Contents Page Foreword. v Introduction .
6、vi 1 Scope1 2 Conformance1 3 Normative references1 4 Terms and definitions .1 5 Symbols and abbreviated terms 2 6 General principles2 7 Testing the conformance of BioAPI BSPs 2 7.1 General2 7.2 Testing BSPs of subclass “Verification BSP“ 11 7.3 Testing BSPs of subclass “Identification BSP“ .15 7.4 T
7、esting BSPs of subclass “Capture BSP“ 19 7.5 Testing BSPs of subclass “Verification Engine“23 7.6 Testing BSPs of subclass “Identification Engine“.28 8 Test assertions.33 8.1 General33 8.2 Common activities.33 8.3 Assertion 1a - BioSPI_BSPLoad_InvalidUUID 42 8.4 Assertion 1b - BioSPI_BSPLoad_ValidPa
8、ram 44 8.5 Assertion 2a - BioSPI_BSPUnload_ValidParam .47 8.6 Assertion 2b - BioSPI_BSPUnload_InvalidUUID 49 8.7 Assertion 2c - BioSPI_BSPUnload_UnmatchedLoad 51 8.8 Assertion 2d - BioSPI_BSPUnload_Confirm.53 8.9 Assertion 3a - BioSPI_BSPAttach_ValidParam 56 8.10 Assertion 3b - BioSPI_BSPAttach_Inva
9、lidUUID .59 8.11 Assertion 3c - BioSPI_BSPAttach_InvalidVersion .62 8.12 Assertion 3d - BioSPI_BSPAttach_InvalidBSPHandle 65 8.13 Assertion 4a - BioSPI_BSPDetach_ValidParam .68 8.14 Assertion 4b - BioSPI_BSPDetach_InvalidBSPHandle71 8.15 Assertion 4c - BioSPI_BSPDetach_Confirm .73 8.16 Assertion 5a
10、- BioSPI_FreeBIRHandle_ValidParam.76 8.17 Assertion 5b - BioSPI_FreeBIRHandle_InvalidBSPHandle .80 8.18 Assertion 5c - BioSPI_FreeBIRHandle_InvalidBIRHandle.83 8.19 Assertion 6a - BioSPI_GetBIRFromHandle_ValidParam .86 8.20 Assertion 6b - BioSPI_GetBIRFromHandle_InvalidBSPHandle90 8.21 Assertion 6c
11、- BioSPI_GetBIRFromHandle_InvalidBIRHandle .93 8.22 Assertion 7a - BioSPI_GetHeaderFromHandle_ValidParam .96 8.23 Assertion 7b - BioSPI_GetHeaderFromHandle_InvalidBSPHandle100 8.24 Assertion 7c - BioSPI_GetHeaderFromHandle_InvalidBIRHandle .103 8.25 Assertion 7d - BioSPI_GetHeaderFromHandle_BIRHandl
12、eNotFreed.107 8.26 Assertion 8a - BioSPI_EnableEvents_ValidParam.111 8.27 Assertion 8b - BioSPI_EnableEvents_InvalidBSPHandle .117 8.28 Assertion 9a - BioSPI_Capture_AuditData120 8.29 Assertion 9b - BioSPI_Capture_ReturnQuality.125 8.30 Assertion 9c - BioSPI_Capture_IntermediateProcessedBIR.131 8.31
13、 Assertion 9d - BioSPI_Capture_InvalidBSPHandle135 8.32 Assertion 10a - BioSPI_CreateTemplate_PayloadSupported .138 BS ISO/IEC 24709-2:2007iv 8.33 Assertion 10b - BioSPI_CreateTemplate_BIRHeaderQuality 142 8.34 Assertion 10c - BioSPI_CreateTemplate_OutputBIRDataType 147 8.35 Assertion 10d - BioSPI_C
14、reateTemplate_OutputBIRPurpose 151 8.36 Assertion 10e - BioSPI_CreateTemplate_InputBIRDataType 155 8.37 Assertion 10f - BioSPI_CreateTemplate_Inconsistent_Purpose. 159 8.38 Assertion 11a - BioSPI_Process_ValidParam 163 8.39 Assertion 11b - BioSPI_Process_BIRHeaderQuality. 167 8.40 Assertion 11c - Bi
15、oSPI_Process_OutputBIRPurpose . 172 8.41 Assertion 11d - BioSPI_Process_BuildsProcessedBIR 176 8.42 Assertion 11e - BioSPI_Process_InputBIRDataType 180 8.43 Assertion 12a - BioSPI_VerifyMatch_ValidParam 184 8.44 Assertion 12b - BioSPI_VerifyMatch_Payload . 189 8.45 Assertion 12c - BioSPI_VerifyMatch
16、_Inconsistent_Purpose . 194 8.46 Assertion 13a - BioSPI_Enroll_ValidParam 198 8.47 Assertion 13b - BioSPI_Enroll_Payload . 202 8.48 Assertion 13c - BioSPI_Enroll_AuditData 206 8.49 Assertion 13d - BioSPI_Enroll_BIRHeaderQuality. 211 8.50 Assertion 14a - BioSPI_Verify_ValidParam 216 8.51 Assertion 14
17、b - BioSPI_Verify_Payload 220 8.52 Assertion 14c - BioSPI_Verify_AuditData. 225 8.53 Assertion 15a - BioSPI_DbOpen_ValidParam 231 8.54 Assertion 15b - BioSPI_DbOpen_InvalidBSPHandle. 234 8.55 Assertion 16a - BioSPI_DbClose_ValidParam . 237 8.56 Assertion 16b - BioSPI_DbClose_InvalidBSPHandle 240 8.5
18、7 Assertion 17a - BioSPI_DbCreate_DbProtected 243 8.58 Assertion 17b - BioSPI_DbCreate_ValidParam 247 8.59 Assertion 17c - BioSPI_DbCreate_InvalidBSPHandle. 251 8.60 Assertion 18a - BioSPI_DbDelete_InvalidBSPHandle . 254 8.61 Assertion 18b - BioSPI_DbDelete_OpenDbProtected . 257 8.62 Assertion 18c -
19、 BioSPI_DbDelete_ValidParam 260 8.63 Assertion 19a - BioSPI_DbSetMarker_ValidParam 263 8.64 Assertion 19b - BioSPI_DbSetMarker_InvalidBSPHandle 266 8.65 Assertion 19c - BioSPI_DbSetMarker_RecordNotFound 270 8.66 Assertion 20a - BioSPI_DbFreeMarker_ValidParam 273 8.67 Assertion 20b - BioSPI_DbFreeMar
20、ker_InvalidBSPHandle 277 8.68 Assertion 20c - BioSPI_DbFreeMarker_InvalidMarker 281 8.69 Assertion 21a - BioSPI_DbStoreBIR_ValidParam 284 8.70 Assertion 21b - BioSPI_DbStoreBIR_InvalidBSPHandle 289 8.71 Assertion 22a - BioSPI_DbGetBIR_ValidParam. 293 8.72 Assertion 22b - BioSPI_DbGetBIR_InvalidBSPHa
21、ndle . 297 8.73 Assertion 22c - BioSPI_DbGetBIR_RecordNotFound . 301 8.74 Assertion 23a - BioSPI_DbGetNextBIR_ValidParam . 305 8.75 Assertion 23b - BioSPI_DbGetNextBIR_InvalidBSPHandle 309 8.76 Assertion 24a - BioSPI_DbDeleteBIR_ValidParam 313 8.77 Assertion 24b - BioSPI_DbDeleteBIR_InvalidBSPHandle
22、. 317 BS ISO/IEC 24709-2:2007v Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of Interna
23、tional Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison w
24、ith 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 JTC 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
25、 committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn
26、 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 identifying any or all such patent rights. ISO/IEC 24709-2 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee S
27、C 37, Biometrics. ISO/IEC 24709 consists of the following parts, under the general title Information technology Conformance testing for the biometric application programming interface (BioAPI): Part 1: Methods and procedures Part 2: Test assertions for biometric service providers The following parts
28、 are under preparation: Part 3: Test assertions for BioAPI frameworks Part 4: Test assertions for biometric applications BS ISO/IEC 24709-2:2007vi Introduction This part of ISO/IEC 24709 defines a number of test assertions written in the assertion language specified in ISO/IEC 24709-1. These asserti
29、ons enable a user of this part of ISO/IEC 24709 (such as a testing laboratory) to test the conformance to ISO/IEC 19784-1 (BioAPI 2.0) of any biometric service provider (BSP) that claims to be a conforming implementation of that International Standard. The organization of the test assertions in this
30、 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 BSPs belonging to several conformance subclasses. This part of ISO/IEC 24709 contains test asserti
31、ons for testing conformance of BSPs of all conformance subclasses. The assertions are further organized according to conformance subclasses (if any) and claimed support of optional features. Each test assertion exercises one or more (possibly elementary) features of an implementation under test. Ass
32、ertions are placed into packages (one or more assertions per package) as required by the assertion language. Clause 6 specifies general principles. Clause 7 lists test assertions to be used in the conformance testing model for BioAPI BSPs, with specific provisions as follows: Clause 7.1 contains des
33、criptions of the BioAPI Conformity Statement and the test assertions. Clause 7.2 contains specific provisions for BSPs of subclass “Verification BSP“. Clause 7.3 contains specific provisions for BSPs of subclass “Identification BSP“. Clause 7.4 contains specific provisions for BSPs of subclass “Capt
34、ure BSP“. Clause 7.5 contains specific provisions for BSPs of subclass “Verification Engine“. Clause 7.6 contains specific provisions for BSPs of subclass “Identification Engine“. Clause 8 specifies the assertions to be used in the conformance testing model for BioAPI BSPs, for all conformance subcl
35、asses of BSPs (see ISO/IEC 19784-1:2006, A.4). BS ISO/IEC 24709-2:20071 Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 2: Test assertions for biometric service providers 1 Scope This part of ISO/IEC 24709 defines a number of test assertio
36、ns written in the assertion language specified in ISO/IEC 24709-1. This part of ISO/IEC 24709 specifies what subset of all the test assertions defined herein are to be executed for each of the five conformance subclasses of BSPs defined in ISO/IEC 19784-1 (BioAPI 2.0). It also specifies additional a
37、ssertions that are to be executed depending on the optional features of BioAPI 2.0 that the implementation under test claims to support. Test assertions specified in this part of ISO/IEC 24709 are not claimed to be exhaustive (see also ISO/IEC 24709-1:2007, Clause 6). Biometric service provider impl
38、ementations that are tested according to the methodology specified in ISO/IEC 24709-1 and with the test assertions specified in this part of ISO/IEC 24709 can (only) claim conformance to those aspects of ISO/IEC 19784-1 that are covered by these test assertions. 2 Conformance Implementations (BioAPI
39、 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 the methodology specified in ISO/IEC 24709-1 and the general principles and provisions specified in Clauses 6 and 7. 3 Normative references
40、 The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 19784-1:2006, Information technology Bio
41、metric application programming interface Part 1: BioAPI specification ISO/IEC 24709-1:2007, Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 1: Methods and procedures 4 Terms and definitions For the purposes of this document, the terms and
42、definitions given in ISO/IEC 24709-1 apply. BS ISO/IEC 24709-2:20072 5 Symbols and abbreviated terms For the purposes of this document, the symbols and abbreviated terms defined in ISO/IEC 24709-1 apply. 6 General principles 6.1 The test assertions listed in Clause 7 and specified in Clause 8 are ba
43、sed on the conformance testing methodology specified in ISO/IEC 24709-1, and can only be used in the context of that methodology. The assertions are written in the assertion language specified in ISO/IEC 24709-1, which is part of that methodology. 6.2 An important concept of the conformance testing
44、methodology specified in ISO/IEC 24709-1 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 conformance testing model for BioAPI frameworks; and c) the conformance testing model for BioAPI BSPs.
45、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 number of test assertions for the conformance testing model for BioAPI BSPs. This part of ISO/IEC
46、24709 is not concerned with the conformance testing models for BioAPI applications and frameworks and corresponding test assertions. 7 Testing the conformance of BioAPI BSPs 7.1 General 7.1.1 For conformance testing of a BioAPI BSP, a BioAPI Conformity Statement, as defined in ISO/IEC 24709-1:2007,
47、Clause 6.1, shall be produced by the vendor of the BSP and shall consist of the following information: Table 1 BioAPI Conformity Statement Vendor contact information: Name Address: Street City State or province Zip code or postal code Country Telephone BS ISO/IEC 24709-2:20073 Biometric product: Nam
48、e Serial number Description BioAPI conformance class (one of the following): BioAPI application BioAPI framework BSP (this alternative shall be selected) X Conformance subclass of the BSP (one of the following): verification BSP identification BSP capture BSP verification engine identification engin
49、e Optional functions supported by the BSP (zero or more of the following): BioSPI_Capture BioSPI_CreateTemplate BioSPI_Process BioSPI_VerifyMatch BioSPI_Enroll BioSPI_Verify BioSPI_Identify Optional features supported by the BSP (zero or more of the following): BSP-controlled database template adaptation generation of SOURCE PRESENT events setting of the Quality field in an intermediate BIR setting of the Quality field in a processed BIR Additional information: