Skip to main content

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
typeEncryptAlg enum value specifying type of encryption to be used.
keybyte 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

PropertyProperty TypeDescription
minLengthintRead-Write int minimum number of digits in the PIN
maxLengthintRead-Write int maximum number of digits in the PIN
textStringRead-only String containing the input data (optionally encrypted)
databyte[]Read-only byte[] containing the input data
encryptionTypeintRead-only int returns the type set by setEncryption