Posted: Mon Oct 31, 2011 8:26 pm Post subject: is it proper to use bouncycastle in message broker
Novice
Joined: 19 Sep 2011 Posts: 10
i want to encrypt some part of message with AES algorithm and i'm trying to use the bouncycastle library to done this job.
After 2 days of trial, i stuck on "unable to find provider." exception.
the bouncycastle page suggest to add a line in "$JAVA_HOME/jre/lib/security/java.security", i've edited my /opt/ibm/mqsi/7.0/jre16/lib/security/java.security file but the issue still remain.
now i'm not sure is it good to use the bouncycastle in message broker.
or there are another method to encrypt my message.
Posted: Mon Oct 31, 2011 9:30 pm Post subject: Re: is it proper to use bouncycastle in message broker
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
heng005 wrote:
i want to encrypt some part of message with AES algorithm and i'm trying to use the bouncycastle library to done this job.
After 2 days of trial, i stuck on "unable to find provider." exception.
the bouncycastle page suggest to add a line in "$JAVA_HOME/jre/lib/security/java.security", i've edited my /opt/ibm/mqsi/7.0/jre16/lib/security/java.security file but the issue still remain.
now i'm not sure is it good to use the bouncycastle in message broker.
or there are another method to encrypt my message.
Thanks
The AES algorithm is AFAIK supplied with the IBM crypto libraries that the broker uses. Make sure your keys are 2048 in size (minimum) and you may have to use FIPS. You should not have to use the bouncycastle library as crypto provider for AES encryption.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum