Java Business Service works with AES-128bit encryption key (javax.crypto.*) , but fails with 256bit key: Illegal key size or default parameters

(Doc ID 1532685.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 7.7.2 [18325] and later
Information in this document applies to any platform.


Custom java class of Siebel Java Business Service was designed to use Java encryption API (javax.crypto.*) and provide the AES-128bit or AES-257bit encryption key to encrypt the content (text value). The invocation of the Business Service in Siebel CRM application was working fine when 128-bit key was used,  but failed on using  256-bit key with the following java exception (thrown from the call of the cipherEncrypt.init() method):

... JVM Exception: ...  Illegal key size or default parameters ... SBL-EAI-0501



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms