You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "James M Snell (JIRA)" <ji...@apache.org> on 2007/02/06 01:32:05 UTC

[jira] Closed: (ABDERA-32) [java][security]X509CRLSelector.getIssueNames() should get a byte array instead of a string represents it if the byte array is addIssuerName() into the X509CRLSelector.

     [ https://issues.apache.org/jira/browse/ABDERA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James M Snell closed ABDERA-32.
-------------------------------

    Resolution: Fixed

Wrong project

> [java][security]X509CRLSelector.getIssueNames() should get a byte array instead of a string represents it if the byte array is addIssuerName() into the X509CRLSelector.
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-32
>                 URL: https://issues.apache.org/jira/browse/ABDERA-32
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Leo Li
>
> Here is a testcase:
> public void test_addIssuerName$B_5() throws Exception {
>         X509CRLSelector  x509CRLSelector= new X509CRLSelector();
>         X500Principal x500Principal = new X500Principal("CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US");
>         byte[] encoded = x500Principal.getEncoded();
>         x509CRLSelector.addIssuerName(encoded);
>         Collection<Object> c = x509CRLSelector.getIssuerNames();
>         assertEquals(1, c.size());
>         byte[] bytes = (byte[]) c.iterator().next();
>         assertTrue(Arrays.equals(encoded, bytes));        
> }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.