de.softpro.signware.SPTemplate Class Reference
Inheritance diagram for de.softpro.signware.SPTemplate:

Detailed Description
Represent a template.Both templates and references are used to compare a signature against. The major difference between a reference and a template is that a template is optimized for minimum size with a minor reduction in comparison quality. The template objects are suitable for saving them on a smartcard, where space is limited.
- Operating Systems:
- Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
Public Member Functions | |
void | addOption (SPTemplateOption value) throws SPSignwareException |
Add an optional parameter to a Template object. | |
void | addOptionId (SPTemplateOption value, int id) throws SPSignwareException |
Add an optional parameter to a Template object. | |
SPTemplate | createClone () throws SPSignwareException |
Create a clone of this template. | |
void | delOptionId (int id) throws SPSignwareException |
Delete an optional parameter (described by its ID) from a Template object. | |
byte[] | getImage (double dZoom, int iImageFormat) throws SPSignwareException |
Query an image on this template object. | |
Dimension | getImageSize () throws SPSignwareException |
Query the size of an image created by this template object. | |
SPTemplateOption | getOption (int index) throws SPSignwareException |
Get an optional parameter from a template object. | |
SPTemplateOption | getOptionId (int id) throws SPSignwareException |
Get an optional parameter from a template object. | |
SPTemplate (SPTemplate pTemplate) throws SPSignwareException | |
Create a copy of a Template. | |
SPTemplate (SPSmartcard pSmartcard) throws SPSignwareException | |
Load a Template from a Smartcard. | |
SPTemplate (byte[] baFlatFile) throws SPSignwareException | |
Create a template object from a flatfile. | |
SPTemplate (SPReference pReference, int iMaxTemplateSize) throws SPSignwareException | |
Create a template object from a SPReference object. | |
Static Public Attributes | |
static final int | SP_TEMPLATE_OPTION_BYTE = 4 |
static final int | SP_TEMPLATE_OPTION_INT = 2 |
static final int | SP_TEMPLATE_OPTION_SHORT = 3 |
static final int | SP_TEMPLATE_OPTION_STR = 1 |
Package Functions | |
native final int | jniFree () |
Constructor & Destructor Documentation
|
Create a template object from a SPReference object. The parameter iMaxTemplateSize limits the template size but reduces resolution when too small. It typically ranges from 2 KByte to 10 KByte, depending on limitations that may arise e.g. from maximum available space on a smartcard.
|
|
Create a template object from a flatfile.
|
|
Load a Template from a Smartcard.
|
|
Create a copy of a Template.
|
Member Function Documentation
|
Add an optional parameter to a Template object.
|
|
Add an optional parameter to a Template object.
|
|
Create a clone of this template.
|
|
Delete an optional parameter (described by its ID) from a Template object.
|
|
Query an image on this template object.
|
|
Query the size of an image created by this template object.
|
|
Get an optional parameter from a template object. Numeric option values are returned in field intValue of the option object. Please convert the values to the range defined by the return value:
|
|
Get an optional parameter from a template object.
|
|
Implements de.softpro.signware.SPSignwareObject. |
Member Data Documentation
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file: