visit Kofax web site

de.softpro.signware.SPFlatFile Class Reference

List of all members.

Detailed Description

a flatfile representation of a reference or template
The flatfile representation may be used to save a reference or a template as a blob in a database or in a file.

Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)


Static Public Member Functions

static byte[] createFromCleanParameter (SPCleanParameter pCleanParameter) throws SPSignwareException
 Serialize a SPCleanParameter object to a byte array.
static byte[] createFromPropertyMap (SPPropertyMap pPropertyMap) throws SPSignwareException
 Serialize a SPPropertyMap object to a byte array.
static byte[] createFromReference (SPReference pReference, int iFormat) throws SPSignwareException
 Serialize a SPReference object to a byte array.
static byte[] createFromReference (SPReference pReference) throws SPSignwareException
 Serialize a SPReference object to a byte array.
static byte[] createFromReference3 (SPReference pReference, int iFormat) throws SPSignwareException
 Serialize a SPReference object to a byte array.
static byte[] createFromSignature (SPSignature pSignature, int iFormat) throws SPSignwareException
 Serialize a SPSignature object to a byte array.
static byte[] createFromSignature (SPSignature pSignature) throws SPSignwareException
 Serialize a SPSignature object to a byte array.
static byte[] createFromSignature3 (SPSignature pSignature, int iFormat) throws SPSignwareException
 Serialize a SPSignature object to a byte array.
static byte[] createFromTemplate (SPTemplate pTemplate) throws SPSignwareException
 Serialize a SPTemplate object to a byte array.
static byte[] createFromTicket (SPTicket pTicket) throws SPSignwareException
 Serialize a SPTicket object to a byte array.
static boolean isCleanParameter (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a CleanParameter.
static boolean isPropertyMap (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a PropertyMap.
static boolean isReference (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a reference.
static boolean isSignature (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a signature.
static boolean isTemplate (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a template.
static boolean isTicket (byte[] flatfile) throws SPSignwareException
 Check if the flatfile contains a ticket.

Static Public Attributes

static final int iSP_FF_ISO_19785_3_FORMAT2 = 0x00000200
 Flat file format: Use ISO/IEC 19785-3:2015 patron format type 2 ("minimum simple byte-oriented patron format") CBEFF wrapper.
static final int iSP_FF_ISO_19785_3_FORMAT3 = 0x00000300
 Flat file format: Use ISO/IEC 19785-3:2015 patron format type 3 ("maximum simple patron format (byte oriented) using presence bitmap") CBEFF wrapper.
static final int iSP_FF_ISO_19785_3_FORMAT6 = 0x00000600
 Flat file format: Use ISO/IEC 19785-3:2015 patron format type 6 ("complex patron format") CBEFF wrapper.
static final int iSP_FF_ISO_19785_3_NONE = 0x00000000
 Flat file format: No ISO/IEC 19785-3:2015 (CBEFF) wrapper.
static final int iSP_FF_ISO_19794_7_2007TC1 = 0x00001000
 Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) Biometric Data Block (version 1).
static final int iSP_FF_ISO_19794_7_2014 = 0x00002000
 Flat file format: ISO/IEC 19794-7:2014 Biometric Data Block (version 2).
static final int iSP_FF_ISO_19794_7_FULL = 0x00000000
 Flat file format: ISO/IEC 19794-7 full format.
static final int iSP_FF_ISO_19794_COMPLEX = 3
 Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature / reference data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 6 ("complex patron format").
static final int iSP_FF_ISO_19794_MINIMUM = 1
 Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 2 ("minimum simple byte-oriented patron format").
static final int iSP_FF_ISO_19794_SIMPLE = 2
 Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 3 ("maximum simple patron format (byte oriented) using presence bitmap").
static final int iSP_FF_ISO_FLAG_COMPAT1 = 0x00400000
 Flat file format flag: write with bug compatibility with SignWare before version 3.2.9.0.
static final int iSP_FF_ISO_FLAG_METERS = 0x00100000
 Flat file format flag: Use meters rather than millimeters for X and Y coordinates.
static final int iSP_FF_ISO_FLAG_NO_EXT_DATA = 0x00800000
 Flat file format flag: Omit or ignore extended data.
static final int iSP_FF_ISO_FLAG_NO_FIX = 0x00200000
 Flat file format flag: do not attempt to automatically fix ISO-format signatures that have been written by SignWare before version 3.2.9.0.
static final int iSP_FF_ISO_MASK_BDB = 0x0000f000
 Mask for flat file format: BDB format.
static final int iSP_FF_ISO_MASK_DATA = 0x000f0000
 Mask for flat file format: data format.
static final int iSP_FF_ISO_MASK_FLAGS = 0xfff00000
 Mask for flat file format: flags.
static final int iSP_FF_ISO_MASK_SINGLE = 0x000000ff
 Mask for flat file format: formats specified by a single value.
static final int iSP_FF_ISO_MASK_WRAPPER = 0x00000f00
 Mask for flat file format: CBEFF wrapper.
static final int iSP_FF_SOFTPRO = 0
 SOFTPRO Flatfile format for dynamic signatures / references.


Member Function Documentation

static byte [] de.softpro.signware.SPFlatFile.createFromCleanParameter SPCleanParameter  pCleanParameter  )  throws SPSignwareException [static]
 

Serialize a SPCleanParameter object to a byte array.

Parameters:
pCleanParameter [i] the SPCleanParameter object
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a)

static byte [] de.softpro.signware.SPFlatFile.createFromPropertyMap SPPropertyMap  pPropertyMap  )  throws SPSignwareException [static]
 

Serialize a SPPropertyMap object to a byte array.

Parameters:
pPropertyMap [i] the SPCleanParameter object
Returns:
byte[] the serialized property map data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)

static byte [] de.softpro.signware.SPFlatFile.createFromReference SPReference  pReference,
int  iFormat
throws SPSignwareException [static]
 

Serialize a SPReference object to a byte array.

Flags can be specified by environment variable SIGNWARE_ISO_SAVE. Its value is either a decimal number or a hexadecimal number (prefixed by "0x"). The number will be shifted left 20 bits and bitwise or-ed into iFormat, that is, the following values (and combinations thereof) are defined:

Parameters:
pReference [i] the reference object
iFormat [i] Format to be used: either one of the following constants: or a combination (bitwise or) of up to one constant from each of the following three groups: No flags can be specified in iFormat, but see createFromReference3(). iSP_FF_ISO_19794_7_2007TC1 without iSP_FF_ISO_19785_3_FORMAT6, as well as iSP_FF_ISO_19794_MINIMUM and iSP_FF_ISO_19794_SIMPLE can be used only if the number of signatures is one.
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
SPFlatFileCreateFromReference3, iSP_FF_SOFTPRO, iSP_FF_ISO_19794_COMPLEX

static byte [] de.softpro.signware.SPFlatFile.createFromReference SPReference  pReference  )  throws SPSignwareException [static]
 

Serialize a SPReference object to a byte array.

The default biometric data format is iSP_FF_SOFTPRO.

Parameters:
pReference [i] the reference object
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromReference3

static byte [] de.softpro.signware.SPFlatFile.createFromReference3 SPReference  pReference,
int  iFormat
throws SPSignwareException [static]
 

Serialize a SPReference object to a byte array.

This function does not use environment variable SIGNWARE_ISO_SAVE.

Parameters:
pReference [i] the reference object
iFormat [i] Format to be used: either one of the following constants: or a combination (bitwise or) of up to one constant from each of the following three groups: For some formats, you can additionally include (bitwise or) these flags: iSP_FF_ISO_19794_7_2007TC1 without iSP_FF_ISO_19785_3_FORMAT6, as well as iSP_FF_ISO_19794_MINIMUM and iSP_FF_ISO_19794_SIMPLE can be used only if the number of signatures is one.
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
SPFlatFileCreateFromReference, iSP_FF_SOFTPRO, iSP_FF_ISO_19794_COMPLEX

static byte [] de.softpro.signware.SPFlatFile.createFromSignature SPSignature  pSignature,
int  iFormat
throws SPSignwareException [static]
 

Serialize a SPSignature object to a byte array.

Flags can be specified by environment variable SIGNWARE_ISO_SAVE. Its value is either a decimal number or a hexadecimal number (prefixed by "0x"). The number will be shifted left 20 bits and bitwise or-ed into iFormat, that is, the following values (and combinations thereof) are defined:

Parameters:
pSignature [i] the signature object
iFormat [i] Format to be used: either one of the following constants: or a combination (bitwise or) of up to one constant from each of the following three groups: No flags can be specified in iFormat, but see createFromSignature3().
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
SPFlatFileCreateFromSignature3, iSP_FF_SOFTPRO, iSP_FF_ISO_19794_MINIMAL, iSP_FF_ISO_19794_SIMPLE, iSP_FF_ISO_19794_COMPLEX

static byte [] de.softpro.signware.SPFlatFile.createFromSignature SPSignature  pSignature  )  throws SPSignwareException [static]
 

Serialize a SPSignature object to a byte array.

The default biometric data format is iSP_FF_SOFTPRO.

Parameters:
pSignature [i] the signature object
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromSignature3

static byte [] de.softpro.signware.SPFlatFile.createFromSignature3 SPSignature  pSignature,
int  iFormat
throws SPSignwareException [static]
 

Serialize a SPSignature object to a byte array.

This function does not use environment variable SIGNWARE_ISO_SAVE.

Parameters:
pSignature [i] the signature object
iFormat [i] Format to be used: either one of the following constants: or a combination (bitwise or) of up to one constant from each of the following three groups: For some formats, you can additionally include (bitwise or) these flags:
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
SPFlatFileCreateFromSignature, iSP_FF_SOFTPRO, iSP_FF_ISO_19794_MINIMAL, iSP_FF_ISO_19794_SIMPLE, iSP_FF_ISO_19794_COMPLEX

static byte [] de.softpro.signware.SPFlatFile.createFromTemplate SPTemplate  pTemplate  )  throws SPSignwareException [static]
 

Serialize a SPTemplate object to a byte array.

Parameters:
pTemplate [i] the template object
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)

static byte [] de.softpro.signware.SPFlatFile.createFromTicket SPTicket  pTicket  )  throws SPSignwareException [static]
 

Serialize a SPTicket object to a byte array.

Deprecated:
Please use a license key.
Parameters:
pTicket [i] the ticket object
Returns:
byte[] the serialized reference data
Exceptions:
SPSignwareException on errors
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a)

static boolean de.softpro.signware.SPFlatFile.isCleanParameter byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a CleanParameter.

Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a SPCleanParameter
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a)
See also:
createFromCleanParameter, SPFlatFileIsCleanParameter

static boolean de.softpro.signware.SPFlatFile.isPropertyMap byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a PropertyMap.

Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a SPPropertyMap
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromPropertyMap, SPFlatFileIsPropertyMap

static boolean de.softpro.signware.SPFlatFile.isReference byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a reference.

Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a reference
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromReference, SPFlatFileIsReference

static boolean de.softpro.signware.SPFlatFile.isSignature byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a signature.

Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a signature
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromSignature, SPFlatFileIsSignature

static boolean de.softpro.signware.SPFlatFile.isTemplate byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a template.

Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a template
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a), Darwin (x86_64)
See also:
createFromTemplate, SPFlatFileIsTemplate

static boolean de.softpro.signware.SPFlatFile.isTicket byte[]  flatfile  )  throws SPSignwareException [static]
 

Check if the flatfile contains a ticket.

Deprecated:
Please use a license key.
Parameters:
flatfile [i] the flatfile data
Returns:
boolean true the flatfile contains a ticket
Exceptions:
SPSignwareException on error
Operating Systems:
Windows (Win32), Linux (i386), Linux (x86_64), Android (ARMv7a)
See also:
createFromTicket, SPFlatFileIsTicketL


Member Data Documentation

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_FORMAT2 = 0x00000200 [static]
 

Flat file format: Use ISO/IEC 19785-3:2015 patron format type 2 ("minimum simple byte-oriented patron format") CBEFF wrapper.

This can be used with iSP_FF_ISO_19794_7_2007TC1 or iSP_FF_ISO_19794_7_2014. With iSP_FF_ISO_19794_7_2007TC1, this patron format cannot be used for saving references.

Deprecated:
Patron format type 2 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_FORMAT3 = 0x00000300 [static]
 

Flat file format: Use ISO/IEC 19785-3:2015 patron format type 3 ("maximum simple patron format (byte oriented) using presence bitmap") CBEFF wrapper.

This can be used with iSP_FF_ISO_19794_7_2007TC1 or iSP_FF_ISO_19794_7_2014. With iSP_FF_ISO_19794_7_2007TC1, this patron format cannot be used for saving references.

Deprecated:
Patron format type 3 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_FORMAT6 = 0x00000600 [static]
 

Flat file format: Use ISO/IEC 19785-3:2015 patron format type 6 ("complex patron format") CBEFF wrapper.

This can be used with iSP_FF_ISO_19794_7_2007TC1 or iSP_FF_ISO_19794_7_2014. Both signatures and references can be saved with this patron format.

Deprecated:
Patron format type 6 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE = 0x00000000 [static]
 

Flat file format: No ISO/IEC 19785-3:2015 (CBEFF) wrapper.

This should be used with iSP_FF_ISO_19794_7_2014 (version 2) only as ISO/IEC 19794-7:2007 (version 1) requires a CBEFF wrapper. However, some products accept only unwrapped version 1 BDBs.

Note:
This is the default value for the CBEFF wrapper as the value of this constant is zero.

Compact format (not yet implemented) requires a CBEFF wrapper.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2007TC1 = 0x00001000 [static]
 

Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) Biometric Data Block (version 1).

Please also use iSP_FF_ISO_19785_3_FORMAT2, iSP_FF_ISO_19785_3_FORMAT3, or iSP_FF_ISO_19785_3_FORMAT6 to specify the ISO/IEC 19785-3 wrapper. Alternateively, use iSP_FF_ISO_19785_3_NONE (signature) to omit the CBEFF wrapper; the CBEFF wrapper is mandatory in ISO/IEC 19794-7:2007, but some products accept only unwrapped BDBs. iSP_FF_ISO_19785_3_FORMAT6 is required for saving references, signatures can be saved with any of these constants.

Please also use iSP_FF_ISO_19794_7_FULL (default) to select the data format.

You can include flag iSP_FF_ISO_FLAG_METERS for using ISO/IEC 19794-7:2007 without Technical Corrigendum 1.

You can include flag iSP_FF_ISO_FLAG_COMPAT1 for bug compatibility with SignWare before version 3.2.9.0.

You can include flag iSP_FF_ISO_FLAG_NO_EXT_DATA to omit extended data.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 = 0x00002000 [static]
 

Flat file format: ISO/IEC 19794-7:2014 Biometric Data Block (version 2).

Please also use iSP_FF_ISO_19785_3_NONE, iSP_FF_ISO_19785_3_FORMAT2, iSP_FF_ISO_19785_3_FORMAT3, or iSP_FF_ISO_19785_3_FORMAT6 to specify the ISO/IEC 19785-3 wrapper. Unlike ISO/IEC 19794-7:2007, ISO/IEC 19794-7:2014 allows BDBs without CBEFF wrapper. Both signatures and references can be saved with any of these constants.

Please also use iSP_FF_ISO_19794_7_FULL (default) to select the data format.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_FULL = 0x00000000 [static]
 

Flat file format: ISO/IEC 19794-7 full format.

To be used with either iSP_FF_ISO_19794_7_2007TC1 or iSP_FF_ISO_19794_7_2014.

Contrast with compact format, compression format, and XML, all of which are not yet supported.

Note:
This is the default value for the data format as the value of this constant is zero.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_COMPLEX = 3 [static]
 

Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature / reference data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 6 ("complex patron format").

This format can be used for signatures and references, not for templates.

You can include flag iSP_FF_ISO_FLAG_METERS for using ISO/IEC 19794-7:2007 without Technical Corrigendum 1.

You can include flag iSP_FF_ISO_FLAG_COMPAT1 for bug compatibility with SignWare before version 3.2.9.0.

You can include flag iSP_FF_ISO_FLAG_NO_EXT_DATA to omit extended data.

This value is equivalent to (but does not have the same value as)

Deprecated:
Patron format type 6 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.
See also:
SPFlatFileCreateFromSignature, SPFlatFileCreateFromSignature3, SPFlatFileCreateFromReference, SPFlatFileCreateFromReference3

iSP_FF_SOFTPRO, iSP_FF_ISO_19794_MINIMUM, iSP_FF_ISO_19794_SIMPLE

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_MINIMUM = 1 [static]
 

Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 2 ("minimum simple byte-oriented patron format").

This format can be used for signatures only, not for references and templates.

You can include flag iSP_FF_ISO_FLAG_METERS for using ISO/IEC 19794-7:2007 without Technical Corrigendum 1.

You can include flag iSP_FF_ISO_FLAG_COMPAT1 for bug compatibility with SignWare before version 3.2.9.0.

You can include flag iSP_FF_ISO_FLAG_NO_EXT_DATA to omit extended data.

This value is equivalent to (but does not have the same value as)

Note:
This format does not store the timestamp.
Deprecated:
Patron format type 2 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.
See also:
SPFlatFileCreateFromSignature, SPFlatFileCreateFromSignature3, SPFlatFileCreateFromReference, SPFlatFileCreateFromReference3

iSP_FF_SOFTPRO, iSP_FF_ISO_19794_SIMPLE, iSP_FF_ISO_19794_COMPLEX

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_SIMPLE = 2 [static]
 

Flat file format: ISO/IEC 19794-7:2007 (with Technical Corrigendum 1) full format biometric signature data (version 1) embedded in a CBEFF (ISO/IEC 19785-3:2015) structure having patron format type 3 ("maximum simple patron format (byte oriented) using presence bitmap").

This format can be used for signatures only, not for references and templates.

You can include flag iSP_FF_ISO_FLAG_METERS for using ISO/IEC 19794-7:2007 without Technical Corrigendum 1.

You can include flag iSP_FF_ISO_FLAG_COMPAT1 for bug compatibility with SignWare before version 3.2.9.0.

You can include flag iSP_FF_ISO_FLAG_NO_EXT_DATA to omit extended data.

This value is equivalent to (but does not have the same value as)

Deprecated:
Patron format type 3 has been deprecated in ISO/IEC 19785-3:2015, please use de.softpro.signware.SPFlatFile.iSP_FF_ISO_19794_7_2014 with de.softpro.signware.SPFlatFile.iSP_FF_ISO_19785_3_NONE.
See also:
SPFlatFileCreateFromSignature, SPFlatFileCreateFromSignature3, SPFlatFileCreateFromReference, SPFlatFileCreateFromReference3

iSP_FF_SOFTPRO, iSP_FF_ISO_19794_MINIMUM, iSP_FF_ISO_19794_COMPLEX

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_FLAG_COMPAT1 = 0x00400000 [static]
 

Flat file format flag: write with bug compatibility with SignWare before version 3.2.9.0.

ISO-format signatures written by SignWare before version 3.2.9.0 have multiple issues:

  • the origin is in the upper left corner rather than in the lower left corner.
  • Technical Corrigendum 1 for ISO/IEC 19794-7:2007 is not implemented. In consequence, the X and Y scaling factors are based on meters rather than millimeters.
  • for CBEFF patron format type 6, garbage is written for bdbCreationDate if the signature does not have a timestamp.
  • the CBEFF wrapper does not use the correct BDB format type.
These bugs have been fixed in SignWare 3.2.9.0.

Use this flag for saving signatures in a format that is bug-compatible with old versions of SignWare (except for the bdbCreationDate bug). Extended data will be omitted (see iSP_FF_ISO_FLAG_NO_EXT_DATA).

When saving a signature or reference, this flag takes effect only if the Biometric Data Block is in ISO/IEC 19794-7:2007 format (version 1) with a patron format type 2, 3, or 6 CBEFF wrapper, that is, for formats iSP_FF_ISO_19794_MINIMUM, iSP_FF_ISO_19794_SIMPLE, iSP_FF_ISO_19794_COMPLEX, and iSP_FF_ISO_19794_7_2007TC1 (with iSP_FF_ISO_19785_3_FORMAT2, iSP_FF_ISO_19785_3_FORMAT3, or iSP_FF_ISO_19785_3_FORMAT6).

When loading a signature or reference, this flag must not be set.

This flag is ignored for non-ISO formats.

See also:
iSP_FF_ISO_FLAG_METERS, iSP_FF_ISO_FLAG_NO_FIX

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_FLAG_METERS = 0x00100000 [static]
 

Flat file format flag: Use meters rather than millimeters for X and Y coordinates.

ISO-format signatures written by SignWare before version 3.2.9.0 use meters as units for the X and Y coordinates as specified by the original version of ISO/IEC 19794-7:2007. Technical Corrigendum for ISO/IEC 19794-7:2007 changed the units to millimeters.

Set this flag for compatibility with software that implements ISO/IEC 19794-7:2007 without Technical Corrigendum 1.

This flag takes effect only if the Biometric Data Block is in ISO/IEC 19794-7:2007 format (version 1).

For loading signatures or references written by SignWare before version 3.2.9.0, just leave iSP_FF_ISO_FLAG_NO_FIX unset rather than setting this flag.

For saving signatures or references to be read by SignWare before version 3.2.9.0, set iSP_FF_ISO_FLAG_COMPAT1 rather than this flag.

This flag is ignored for non-ISO formats.

See also:
iSP_FF_ISO_FLAG_COMPAT1, iSP_FF_ISO_FLAG_NO_FIX

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_FLAG_NO_EXT_DATA = 0x00800000 [static]
 

Flat file format flag: Omit or ignore extended data.

By default, extended data will be written that includes the following information:

  • a version number
  • the SPTablet device ID
  • the tablet serial ID
If this flag is set, extended data won't be added when saving a signature or reference and extended data will be ignored when loading a signature or reference.

This flag is ignored for non-ISO formats.

See also:
iSP_FF_ISO_FLAG_COMPAT1

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_FLAG_NO_FIX = 0x00200000 [static]
 

Flat file format flag: do not attempt to automatically fix ISO-format signatures that have been written by SignWare before version 3.2.9.0.

ISO-format signatures written by SignWare before version 3.2.9.0 have multiple issues:

  • the origin is in the upper left corner rather than in the lower left corner.
  • Technical Corrigendum 1 for ISO/IEC 19794-7:2007 is not implemented. In consequence, the X and Y scaling factors are based on meters rather than millimeters.
  • for CBEFF patron format type 6, garbage is written for bdbCreationDate if the signature does not have a timestamp.
  • the CBEFF wrapper does not use the correct BDB format type.
These bugs have been fixed in SignWare 3.2.9.0.

When loading a signature or reference, all of these issues will be fixed automatically if data written by SignWare before version 3.2.9.0 is detected, unless this flag (iSP_FF_ISO_FLAG_NO_FIX) is set.

If this flag is set, no attempt is made to fix the data. If the signature or reference was indeed written by SignWare before version 3.2.9.0, loading will fail or the data read will be incorrect.

When saving a signature or reference, this flag must not be set.

This flag is ignored for non-ISO formats.

See also:
iSP_FF_ISO_FLAG_COMPAT1, iSP_FF_ISO_FLAG_METERS

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_MASK_BDB = 0x0000f000 [static]
 

Mask for flat file format: BDB format.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_MASK_DATA = 0x000f0000 [static]
 

Mask for flat file format: data format.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_MASK_FLAGS = 0xfff00000 [static]
 

Mask for flat file format: flags.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_MASK_SINGLE = 0x000000ff [static]
 

Mask for flat file format: formats specified by a single value.

final int de.softpro.signware.SPFlatFile.iSP_FF_ISO_MASK_WRAPPER = 0x00000f00 [static]
 

Mask for flat file format: CBEFF wrapper.

final int de.softpro.signware.SPFlatFile.iSP_FF_SOFTPRO = 0 [static]
 

SOFTPRO Flatfile format for dynamic signatures / references.

This format can be used for signatures and references, not for templates.

See also:
createFromReference, createFromReference3, createFromSignature, createFromSignature3


The documentation for this class was generated from the following file: