WICKET-5756 Allow to use custom ciphers when using SunJceCrypt class

(cherry picked from commit e7abf489a55372d72f5f439d213c3cc9f8e16708)