1、 g49g50g3g38g50g51g60g44g49g42g3g58g44g55g43g50g56g55g3g37g54g44g3g51g40g53g48g44g54g54g44g50g49g3g40g59g38g40g51g55g3g36g54g3g51g40g53g48g44g55g55g40g39g3g37g60g3g38g50g51g60g53g44g42g43g55g3g47g36g58for the biometric application programming interface (BioAPI) Part 2: Test assertions for biometric
2、service providersICS 35.040Information technology Conformance testing BRITISH STANDARDBS ISO/IEC 24709-2:2007BS ISO/IEC 24709-2:2007This British Standard was published under the authority of the Standards Policy and Strategy Committee on 28 February 2007 BSI 2007ISBN 978 0 580 50268 2Amendments issu
3、ed since publicationAmd. No. Date Commentscontract. Users are responsible for its correct application.Compliance with a British Standard cannot confer immunity from legal obligations.National forewordThis British Standard was published by BSI. It is the UK implementation of ISO/IEC 24709-2:2007.The
4、UK participation in its preparation was entrusted to Technical Committee IST/44, Biometrics.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 Reference numberISO/IEC 24709-2:2007(E)
5、INTERNATIONAL STANDARD ISO/IEC24709-2First edition2007-02-15Information technology Conformance testing for the biometric application programming interface (BioAPI) Part 2: Test assertions for biometric service providers Technologies de linformation Essai de conformit pour linterface de programmation
6、 dapplications biomtriques (BioAPI) Partie 2: Assertions dessai pour les fournisseurs de services biomtriques BS ISO/IEC 24709-2:2007ii iiiContents Page Foreword. v Introduction . vi 1 Scope 1 2 Conformance1 3 Normative references 1 4 Terms and definitions .1 5 Symbols and abbreviated terms 2 6 Gene
7、ral 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 Testing BSPs of subclass “Capture BSP“ 19 7.5 Testing BSPs of subclass “Verification Engine“23 7.6 Testing BSPs of subc
8、lass “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_ValidParam 44 8.5 Assertion 2a - BioSPI_BSPUnload_ValidParam .47 8.6 Assertion 2b - BioSPI_BSPUnload_InvalidUUID 49 8.7 Asser
9、tion 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_InvalidUUID .59 8.11 Assertion 3c - BioSPI_BSPAttach_InvalidVersion .62 8.12 Assertion 3d - BioSPI_BSPAttach_InvalidBSPHan
10、dle 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 - BioSPI_FreeBIRHandle_ValidParam.76 8.17 Assertion 5b - BioSPI_FreeBIRHandle_InvalidBSPHandle .80 8.18 Assertion 5c -
11、 BioSPI_FreeBIRHandle_InvalidBIRHandle.83 8.19 Assertion 6a - BioSPI_GetBIRFromHandle_ValidParam .86 8.20 Assertion 6b - BioSPI_GetBIRFromHandle_InvalidBSPHandle90 8.21 Assertion 6c - BioSPI_GetBIRFromHandle_InvalidBIRHandle .93 8.22 Assertion 7a - BioSPI_GetHeaderFromHandle_ValidParam .96 8.23 Asse
12、rtion 7b - BioSPI_GetHeaderFromHandle_InvalidBSPHandle100 8.24 Assertion 7c - BioSPI_GetHeaderFromHandle_InvalidBIRHandle .103 8.25 Assertion 7d - BioSPI_GetHeaderFromHandle_BIRHandleNotFreed.107 8.26 Assertion 8a - BioSPI_EnableEvents_ValidParam.111 8.27 Assertion 8b - BioSPI_EnableEvents_InvalidBS
13、PHandle .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 Assertion 9d - BioSPI_Capture_InvalidBSPHandle135 8.32 Assertion 10a - BioSPI_CreateTemplate_PayloadSupported .138 BS
14、 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_CreateTemplate_OutputBIRPurpose 151 8.36 Assertion 10e - BioSPI_CreateTemplate_InputBIRDataType 155 8.37 Assertion 10f
15、- 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 - BioSPI_Process_OutputBIRPurpose . 172 8.41 Assertion 11d - BioSPI_Process_BuildsProcessedBIR 176 8.42 Assertion 11e - Bi
16、oSPI_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_Inconsistent_Purpose . 194 8.46 Assertion 13a - BioSPI_Enroll_ValidParam 198 8.47 Assertion 13b - BioSPI_Enroll_Paylo
17、ad . 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 14b - BioSPI_Verify_Payload 220 8.52 Assertion 14c - BioSPI_Verify_AuditData. 225 8.53 Assertion 15a - BioSPI_DbOpen_Val
18、idParam 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.57 Assertion 17a - BioSPI_DbCreate_DbProtected 243 8.58 Assertion 17b - BioSPI_DbCreate_ValidParam 247 8.59 Assertion 1
19、7c - BioSPI_DbCreate_InvalidBSPHandle. 251 8.60 Assertion 18a - BioSPI_DbDelete_InvalidBSPHandle . 254 8.61 Assertion 18b - BioSPI_DbDelete_OpenDbProtected . 257 8.62 Assertion 18c - BioSPI_DbDelete_ValidParam 260 8.63 Assertion 19a - BioSPI_DbSetMarker_ValidParam 263 8.64 Assertion 19b - BioSPI_DbS
20、etMarker_InvalidBSPHandle 266 8.65 Assertion 19c - BioSPI_DbSetMarker_RecordNotFound 270 8.66 Assertion 20a - BioSPI_DbFreeMarker_ValidParam 273 8.67 Assertion 20b - BioSPI_DbFreeMarker_InvalidBSPHandle 277 8.68 Assertion 20c - BioSPI_DbFreeMarker_InvalidMarker 281 8.69 Assertion 21a - BioSPI_DbStor
21、eBIR_ValidParam 284 8.70 Assertion 21b - BioSPI_DbStoreBIR_InvalidBSPHandle 289 8.71 Assertion 22a - BioSPI_DbGetBIR_ValidParam. 293 8.72 Assertion 22b - BioSPI_DbGetBIR_InvalidBSPHandle . 297 8.73 Assertion 22c - BioSPI_DbGetBIR_RecordNotFound . 301 8.74 Assertion 23a - BioSPI_DbGetNextBIR_ValidPar
22、am . 305 8.75 Assertion 23b - BioSPI_DbGetNextBIR_InvalidBSPHandle 309 8.76 Assertion 24a - BioSPI_DbDeleteBIR_ValidParam 313 8.77 Assertion 24b - BioSPI_DbDeleteBIR_InvalidBSPHandle. 317 BS ISO/IEC 24709-2:2007vForeword ISO (the International Organization for Standardization) and IEC (the Internati
23、onal Electrotechnical Commission) 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
24、 of technical activity. ISO and IEC 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 joi
25、nt 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 committee is to prepare International Standards. Draft International Standards adopted by the joint technical committe
26、e 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 to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall n
27、ot 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 SC 37, Biometrics. ISO/IEC 24709 consists of the following parts, under the general title Information technology Conform
28、ance testing for the biometric application programming interface (BioAPI): Part 1: Methods and procedures Part 2: Test assertions for biometric service providers The following parts are under preparation: Part 3: Test assertions for BioAPI frameworks Part 4: Test assertions for biometric application
29、s 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 assertions enable a user of this part of ISO/IEC 24709 (such as a testing laboratory) to test the conformance to ISO/IEC 19784
30、-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 part of ISO/IEC 24709 reflects the structure of Annex A of ISO/IEC 19784-1:2006, which specifies conformance to BioAPI
31、 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 assertions for testing conformance of BSPs of all conformance subclasses. The assertions are further organized according to co
32、nformance subclasses (if 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 s
33、pecifies 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 descriptions of the BioAPI Conformity Statement and the test assertions. Clause 7.2 contains specific provisions for BSPs
34、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 “Capture BSP“. Clause 7.5 contains specific provisions for BSPs of subclass “Verification Engine“. Clause 7.6 contains speci
35、fic 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 subclasses of BSPs (see ISO/IEC 19784-1:2006, A.4). BS ISO/IEC 24709-2:20071Information technology Conformance testing for t
36、he 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 assertions written in the assertion language specified in ISO/IEC 24709-1. This part of ISO/IEC 24709 specifies what subset of a
37、ll 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 assertions that are to be executed depending on the optional features of BioAPI 2.0 that the implementation under test cl
38、aims 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 implementations that are tested according to the methodology specified in ISO/IEC 24709-1 and with the test assertions speci
39、fied 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 conformance test suites) claiming conformance to this part of ISO/IEC 24709 shall be able to process all the test asser
40、tions 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 The following referenced documents are indispensable for the application of this document. For dated references, only t
41、he edition cited applies. For undated 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 Confo
42、rmance 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 definitions given in ISO/IEC 24709-1 apply. BS ISO/IEC 24709-2:20072 5 Symbols and abbreviated terms For the purposes of
43、 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 based on the conformance testing methodology specified in ISO/IEC 24709-1, and can only be used in the context of that met
44、hodology. 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 methodology specified in ISO/IEC 24709-1 is the existence of three conformance testing models (see ISO/IEC 24709-1:2007,
45、 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. 6.3 Each testing model is concerned with testing one of the three standard components of the BioAPI architecture (see IS
46、O/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 24709 is not concerned with the conformance testing models for BioAPI applications and frameworks and corresponding test
47、 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, Clause 6.1, shall be produced by the vendor of the BSP and shall consist of the following information: Table 1 BioAPI Co
48、nformity Statement Vendor contact information: Name Address: Street City State or province Zip code or postal code Country Telephone BS ISO/IEC 24709-2:20073Biometric product: Name Serial number Description BioAPI conformance class (one of the following): BioAPI application BioAPI framework BSP (thi
49、s alternative shall be selected) X Conformance subclass of the BSP (one of the following): verification BSP identification BSP capture BSP verification engine identification engine 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 even