Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

JSR177 API- Supported Transformation Types | Telit Cinterion IoT Developer Community

August 3, 2017 - 9:28am, 1921 views


I will use JSR177 API of WTK in my application. I will encrypt/decrypt some files.

Cipher class in the API is used for encryption and decryption operations.

At first, static getInstance method of Cipher class is called to get a Cipher instance. After that, encryption/decryption operations are carried out using this instance.

getInstance method gets a String parameter called transformation. The form of transformation is explained in JSR177 javadoc like below:

A transformation is of the form:

  • "algorithm/mode/padding" or
  • "algorithm"

(in the latter case, provider-specific default values for the mode and padding scheme are used). For example, the following is a valid transformation:

Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); 

My question is, which algorithm/mode/padding combinations are supported by module(BGS5) WTK?

Is there a list documented on somewhere?