InputObj
InputObj
This class provides the Input control for PIN code input.
Full qualification: com.florentis.signature.WizCtl.InputObj
Summary
| Method | |
|---|---|
| clear | |
| setEncryption | |
| close | |
| Property | |
|---|---|
| minLength | |
| maxLength | |
| text | |
| data | |
| encryptionType | |
Methods
clear
This method resets the input object ready to restart PIN capture.
| public native void clear() |
|---|
| Parameters |
| none |
| Return Value |
| none |
setEncryption
This method sets the encryption of the InputObject data.
Once set, encryption cannot be changed except by first calling the clear method.
Currently, the only encryption algorithm supported is TripleDES.
For this algorithm, "Key" must be a 24-byte (192-bit) binary value either in a byte array (a SafeArray of type VT_UI1) or a base64 encoded string. In addition, the following information will be required for decryption:
- Cipher mode: CBC (cipher block chaining)
- Initialisation Vector: 8 bytes, all zero
- Padding mode: PKCS 5
| public native void setEncryption(int type, byte[] key) | |
|---|---|
| Parameters | |
type | EncryptAlg enum value specifying type of encryption to be used. |
key | byte array – the encryption key to be used. |
| Return Value | |
| none | |
close
This method "Closes" the object, releasing the underlying COM object (and thus freeing resources).
| public native void close() |
|---|
| Parameters |
| none |
| Return Value |
| none |
Properties
| Property | Property Type | Description |
|---|---|---|
minLength | int | Read-Write int minimum number of digits in the PIN |
maxLength | int | Read-Write int maximum number of digits in the PIN |
text | String | Read-only String containing the input data (optionally encrypted) |
data | byte[] | Read-only byte[] containing the input data |
encryptionType | int | Read-only int returns the type set by setEncryption |