Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 96522 invoked from network); 7 Mar 2006 09:36:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 09:36:41 -0000 Received: (qmail 15276 invoked by uid 500); 7 Mar 2006 09:36:34 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 14699 invoked by uid 500); 7 Mar 2006 09:36:31 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 14685 invoked by uid 99); 7 Mar 2006 09:36:31 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 01:36:29 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax (Postfix) with ESMTP id F0B2D6ACAA for ; Tue, 7 Mar 2006 09:35:38 +0000 (GMT) Message-ID: <1456529268.1141724138983.JavaMail.jira@ajax> Date: Tue, 7 Mar 2006 09:35:38 +0000 (GMT) From: "Stepan Mishura (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Created: (HARMONY-186) X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N X509CertSelector.match throws ArrayIndexOutOfBoundsException when checks keyUsage criterion ------------------------------------------------------------------------------------------- Key: HARMONY-186 URL: http://issues.apache.org/jira/browse/HARMONY-186 Project: Harmony Type: Bug Components: Classlib Reporter: Stepan Mishura According to the spec. of X509Certificate and X509CertSelector classes KeyUsage extension is represented by array of boolean values. But the spec. doesn't specify any restrictions on the array so instances of X509Certificate and X509CertSelector classes may have arrays of different length to be matched. If a certificate's array is longer then a selector's array then invocation of method X509CertSelector.match(java.security.cert.Certificate) throws ArrayIndexOutOfBoundsException. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira