Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 81529 invoked from network); 27 Feb 2011 04:00:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Feb 2011 04:00:26 -0000 Received: (qmail 72076 invoked by uid 500); 27 Feb 2011 04:00:26 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 71258 invoked by uid 500); 27 Feb 2011 04:00:23 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 71074 invoked by uid 99); 27 Feb 2011 04:00:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Feb 2011 04:00:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Feb 2011 04:00:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3A9121B9B3A for ; Sun, 27 Feb 2011 03:59:59 +0000 (UTC) Date: Sun, 27 Feb 2011 03:59:59 +0000 (UTC) From: "Abhinav Mishra (JIRA)" To: java-dev@axis.apache.org Message-ID: <1159490282.657.1298779199236.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2106406285.1835.1298707761954.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (RAMPART-323) org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RAMPART-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999873#comment-12999873 ] Abhinav Mishra commented on RAMPART-323: ---------------------------------------- Thank You Thilina for responding!! I am not using any IDE.I am just running it through command prompt. Here I am trying to run Asymmetric binding using algorithm suite which has MKL 256 like Basic256Sha256. As far as replacing those jar files in $JAVA_HOME/jre/lib/security I have already done it. Still i am getting same error. > org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size exception > ---------------------------------------------------------------------------------------------- > > Key: RAMPART-323 > URL: https://issues.apache.org/jira/browse/RAMPART-323 > Project: Rampart > Issue Type: Question > Affects Versions: 1.4 > Environment: Windows XP service Pack2, Axis2 1.5, jdk1.5_06, rampart 1.4 > Reporter: Abhinav Mishra > Priority: Blocker > Labels: security > Fix For: 1.4 > > Attachments: Client.java, Multiplication2.java, Multiplication2CallbackHandler.java, Multiplication2Stub.java, PWCBHandler.java, client.jks, service.jks, services.xml > > Original Estimate: 504h > Remaining Estimate: 504h > > I have already replaced those 2 jar files that are required to be replaced in $JAVA_HOME/jre/lib/security directory. Also, i have placed bcprovjdk.jar in $JAVA_HOME/jre/lib/ext . I have also modified $JAVA_HOME/jre/lib/security/java.security file to contain security.provider.7=org.bouncycastle.jce.provider.BouncyCastleProvider. still I am getting the same exception every time i run my client code. > I have got stuck here. > Please provide some solution!!!!! > Thanks in advance...... -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org