>FPTemplate
>A COM component containing a fingerprint template. The object is
>characterized by its type, either a preregistration, registration or verification
>template.
>
>Interface
>IFPTemplate
>
>Methods
>
>Export([out] VARIANT* pVal, [out,retval] AIErrors *pErr)
>Exports the template object as a signed blob of bytes.
>
>Import([in] VARIANT Val)
>Evaluates the signature of a blob of bytes representing the signed template
>object and, if verified, imports the data into the FPTemplate object.
>
>Properties
>
>InstanceID([out,retval] BSTR* pVal)
>Returns the GUID of the object in string format (read-only).
>
>Version([out,retval] BSTR* pVal)
>Returns the version number of the object (read-only).
>
>TypeID([out,retval] AIDataTypes* pVal)
>Returns the type of the object, Dt_Template (read-only).
>
>CredType([out,retval] AICredentials* pVal)
>Returns the type of credential this object refers to, Cr_Fingerprint (read-only).
>
>VendorID([out,retval] BSTR* pVal)
>Returns the GUID for the vendor in string format (read-only).
>
>SecureMode([out, retval] AISecureModeMask *pVal)
>Returns the security mode of the object (read-only). See
>“AISecureModeMask” on page 111 for possible values.
>
>Nonce([out, retval] VARIANT *pVal)
>Returns the nonce contained in the object. If no nonce is present, an empty
>variant is returned (read-only).
>
>TemplType([out,retval] AITemplateTypes* pVal)
>Returns the type of the template (read-only).
>
>TemplData([out,retval] VARIANT *pVal)
>Returns the raw template data, without the header and signature (read-only).
>
>Event interface
>None
>
>Event methods
>None
>
>Return codes
>Er_OK is returned if successful. (Er_OK is 0 in value)
>Er_InvalidArg is returned by:
>• Import method when the input parameter is not valid
>• Export method when the parameter is not valid
>Er_BadSignature is returned by:
>• Import method when the signature is not verified
>Er_AlreadyCreated is returned by:
>• Import method when the object is not empty but already contains data