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

Reply via email to