Parameters for SignDocSignatureData.checkReference() and SignDocSignatureData.checkSignature().
More...
|
static int | getType (String aName) throws SignDocException |
| Get the type of a parameter. More...
|
|
Constructor.
No parameters will be set.
Unset all parameters.
After calling this function no parameters will be set.
Clone this object.
- Returns
- A clone of this object.
synchronized void close |
( |
| ) |
|
void finalize |
( |
| ) |
throws Throwable |
|
protected |
Finalize this object.
Do not call this method unless you know what you are doing.
Get the value of a boolean parameter.
- Parameters
-
[in] | aName | The name of the parameter (case-sensitive). |
- Returns
- The value of the parameter or null if the parameter is not set or is not a boolean parameter.
- See also
- setBoolean()
Get an error message for the last function call.
- Returns
- A string describing the reason for the failure of the last function call. The string is empty if the last call succeeded.
Get the value of an integer parameter.
- Parameters
-
[in] | aName | The name of the parameter (case-sensitive). |
- Returns
- The value of the parameter or null if the parameter is not set or is not an integer parameter.
- See also
- setInteger()
Get the type of a parameter.
- Parameters
-
[in] | aName | The name of the parameter (case-sensitive). |
- Returns
- The type of the parameter: t_undefined, t_boolean, or t_integer.
synchronized void setBoolean |
( |
String |
aName, |
|
|
boolean |
aValue |
|
) |
| throws SignDocException |
synchronized void setInteger |
( |
String |
aName, |
|
|
int |
aValue |
|
) |
| throws SignDocException |
Set an integer parameter.
The following integer parameters are available for use with SignDocSignatureData.checkReference():
- ReferenceMinSignatures: minimum number of signatures in a reference. Set to 0 to skip the test. The default value is 3.
- ReferenceMinDynamicQuality (0 through 100): minimum dynamic quality of a reference (see SignDocSignatureData.getDynamicQuality()). Set to 0 to skip the test. The default value is 60.
- ReferenceMinStaticQuality (0 through 100): minimum static quality of a reference (see SignDocSignatureData.getStaticQuality()). Set to 0 to skip the test. The default value is 80.
- ReferenceMaxDuration: maximum reference capture duration in seconds. Set to 0 to skip the test. The default value is 600. The reference capture duration is computed by subtracting the smallest signature timestamp of the reference from the greatest signature timestamp of the reference.
The following integer parameters will be used by SignDocSignatureData.checkReference() if the value of boolean parameter "ReferenceCheckSignatures" is true and (unconditionally) by SignDocSignatureData.checkSignature():
- SignatureMinWidth: minimum width of a signature in mm. Set to 0 to skip the test. The default value is 10.
- SignatureMinHeight: minimum height of a signature in mm. Set to 0 to skip the test. The default value is 5.
- SignatureMinPressureLevels (0 through 100): minimum number of different pressure levels in a signature in percent of the pressure levels provided by the capture device or 1024 (whichever is lower). Set to 0 to skip the test. The default value is 5.
- SignatureMinComplexity (0 through 100): minimum static quality (see SignDocSignatureData.getComplexity()). Set to 0 to skip the test. The default value is 35.
- SignatureMinSamples: minimum number of samples with positive pressure in a signature. Set to 0 to skip the test. The default value is 10.
- Note
- In SignWare, ReferenceMinStaticQuality is named SPReferenceMinMatch, SignatureMinSamples is named SPSignatureMinVectors, and SignatureMinComplexity is named SPSignatureMinStaticQuality.
This function throws SignDocUnknownParameterException if aName is not the name of an integer parameter, SignDocInvalidValueException if aValue is invalid.
- Parameters
-
[in] | aName | The name of the parameter (case-sensitive). |
[in] | aValue | The value of the parameter. |
- See also
- getInteger(), setBoolean()
final int t_undefined = 0 |
|
static |
Return value of getType(): The specified parameter is not defined.
The documentation for this class was generated from the following file: