Gemalto is now part of the Thales Group, find out more.

You are here

JSR177 API- Supported Transformation Types | Thales IoT Developer Community


August 3, 2017 - 9:28am, 703 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/****/padding" or

  • "algorithm"

(in the latter case, provider-specific default values for the **** 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/****/padding combinations are supported by module(BGS5) WTK?

Is there a list documented on somewhere?