My Oracle Support Banner

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 JANUARY 03, 2023

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



To view full details, 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 a vibrant support community of peers and Oracle experts.