<div dir="ltr">Thanks figured out:)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 9:13 PM, punit ashra <span dir="ltr"><<a href="mailto:punitashra@gmail.com" target="_blank">punitashra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Dev Team,<div><br></div><div>I am trying to create Credential, unable to use the "<a href="http://www.w3.org/2001/04/xmlenc#aes128-cbc" target="_blank">http://www.w3.org/2001/04/xmlenc#aes128-cbc</a>".</div><div><br></div><div><div>Credential symmetricCredential = CredentialSupport</div><div><span style="white-space:pre-wrap">         </span>                                      .getSimpleCredential(KeySupport</div><div>.generateKey("<a href="http://www.w3.org/2001/04/xmlenc#aes128-cbc" target="_blank">http://www.w3.org/2001/04/xmlenc#aes128-cbc</a>",1024,null));</div></div><div><br></div><div>Getting error, </div><div><br></div><div> java.security.NoSuchAlgorithmException: <a href="http://www.w3.org/2001/04/xmlenc#aes128-cbc" target="_blank">http://www.w3.org/2001/04/xmlenc#aes128-cbc</a> KeyGenerator not available<br></div><div><br></div><div>Is something related to JCE policy files?</div><div><br></div><div>Thanks,</div><div>Punit</div></div>
</blockquote></div><br></div>