HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > Human Recognition Service (HRS) API FunctionsHRS_VerifyMatch
NAMECSSM_HRS_VerifyMatch, HRS_VerifyMatch — Performs a verification (1-to-1) match between two BIRs - the ProcessedBIR and the StoredTemplate SYNOPSIS#include <hrs.h>
PARAMETERSThe parameter definitions are the same for the API and the SPI.
DESCRIPTIONThis function performs a verification (1-to-1) match between two BIRs—the ProcessedBIR and the StoredTemplate. The ProcessedBIR is the ‘‘processed’’ BIR constructed specifically for this verification. The StoredTemplate was created at enrollment. The application must request a maximum FAR value for a successful match, and may also (optionally) request a maximum FRR for a successful match. If a maximum FRR value is provided, the application must also indicate (via the FARPrecedence parameter) which one takes precedence. The Boolean Result indicates whether verification was successful or not, and the FARAchieved is a FAR value indicating how closely the BIRs actually matched. The service provider may optionally return the corresponding FRR that was achieved, through the FRRAchieved return parameter. By setting the AdaptedBIR pointer to non-NULL, the application can request that a BIR be constructed by adapting the StoredTemplate using the ProcessedBIR. A new handle is returned to the AdaptedBIR. If the StoredTemplate contains a Payload, the Payload may be returned upon successful verification if the FARAchieved is sufficiently stringent. This is controlled by the policy of the service provider. If the match is successful, an attempt may be made to adapt the StoredTemplate with information taken from the ProcessedBIR. (Not all service providers perform adaptation.) The resulting AdaptedBIR should now be considered an optimal enrollment template, and be saved in the enrollment database. It is up to the application whether or not it uses or discards this data. It is important to note that adaptation may not occur in all cases. In the event of an adaptation, this function stores the handle to the new BIR in the memory pointed to by the AdaptedBIR parameter. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. ERRORSErrors are described in the CDSA Technical Standard. CSSMERR_CSSM_NOT_INITIALIZED |