Tabla de Contenidos

Under construction.

Digital Signature Plugin


In Android there is the xonesigner plugin which adds the xonesigner object to the script machinery and allows the files and text signature with digital certificate and password.

Also, it has basic text encryption methods.

Functions


XORCipher


It ciphers a text or bytes array through the XOR function.

First parameter Value to cipher.
Second parameter Key used in the cipher.


RC2Cipher


It ciphers a text or a bytes array through the RC2 algorithm.

First parameter Cipher mode, with padding or buffereado.
Second parameter Value to cipher.
Third parameter Key used in the cipher.
Fourth parameter Initialization Vector (IVs).


Base64Encode


It encodes a base64 text.

First parameter Text to encode.


Base64Decode


It decodes a base64 text.

First parameter Text to decode.


SignDataObject


It signs a text with digital certificate and password. The certificate must be saved at the /sdcard/xone/certs/ folder.
By invoking this method, it will request the certificate password to the user.


First parameter Text or file to sign, it can be an XML text.
Second parameter 0 for text and 1 for files. In that moment only text is supported.