KeyAlgorithm Usage and JCE policy

punit ashra punitashra at gmail.com
Wed Aug 3 11:43:43 EDT 2016


Hi Dev Team,

I am trying to create Credential, unable to use the "
http://www.w3.org/2001/04/xmlenc#aes128-cbc".

Credential symmetricCredential = CredentialSupport
                                      .getSimpleCredential(KeySupport
.generateKey("http://www.w3.org/2001/04/xmlenc#aes128-cbc",1024,null));

Getting error,

 java.security.NoSuchAlgorithmException:
http://www.w3.org/2001/04/xmlenc#aes128-cbc KeyGenerator not available

Is something related to JCE policy files?

Thanks,
Punit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160803/fa1f1d14/attachment.html>


More information about the dev mailing list