You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Anton Rusanov (JIRA)" <ji...@apache.org> on 2006/10/04 10:46:19 UTC

[jira] Created: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

[classlib][tools] Keytool - functional test for key pair generation
-------------------------------------------------------------------

                 Key: HARMONY-1683
                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
             Project: Harmony
          Issue Type: Test
          Components: Classlib
            Reporter: Anton Rusanov
         Attachments: patch.txt

The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 


-- 
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

        

[jira] Updated: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

Posted by "Anton Rusanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1683?page=all ]

Anton Rusanov updated HARMONY-1683:
-----------------------------------

    Attachment: patch.txt

The attached patch does the same thing as the one above but tries to delete the temporary keystore itself (not using File.deleteOnExit()).

> [classlib][tools] Keytool - functional test for key pair generation
> -------------------------------------------------------------------
>
>                 Key: HARMONY-1683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Assigned To: Stepan Mishura
>         Attachments: patch.txt, patch.txt, patch.txt
>
>
> The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
> The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 

-- 
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

        

[jira] Updated: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

Posted by "Anton Rusanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1683?page=all ]

Anton Rusanov updated HARMONY-1683:
-----------------------------------

    Attachment: patch.txt

The new patch contains performs the same actions as the first one, but creates the temporary keystore inside a newly created temporary directory. 

> [classlib][tools] Keytool - functional test for key pair generation
> -------------------------------------------------------------------
>
>                 Key: HARMONY-1683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Assigned To: Stepan Mishura
>         Attachments: patch.txt, patch.txt
>
>
> The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
> The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 

-- 
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

        

[jira] Updated: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

Posted by "Anton Rusanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1683?page=all ]

Anton Rusanov updated HARMONY-1683:
-----------------------------------

    Attachment: patch.txt

> [classlib][tools] Keytool - functional test for key pair generation
> -------------------------------------------------------------------
>
>                 Key: HARMONY-1683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Attachments: patch.txt
>
>
> The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
> The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 

-- 
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

        

[jira] Resolved: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1683?page=all ]

Stepan Mishura resolved HARMONY-1683.
-------------------------------------

    Resolution: Fixed

Thanks Anton, the patch was applied to TOOLS module at r467982. 

Please check that the patch was applied as you expected.

> [classlib][tools] Keytool - functional test for key pair generation
> -------------------------------------------------------------------
>
>                 Key: HARMONY-1683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Assigned To: Stepan Mishura
>         Attachments: patch.txt, patch.txt, patch.txt
>
>
> The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
> The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 

-- 
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

        

[jira] Assigned: (HARMONY-1683) [classlib][tools] Keytool - functional test for key pair generation

Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1683?page=all ]

Stepan Mishura reassigned HARMONY-1683:
---------------------------------------

    Assignee: Stepan Mishura

> [classlib][tools] Keytool - functional test for key pair generation
> -------------------------------------------------------------------
>
>                 Key: HARMONY-1683
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1683
>             Project: Harmony
>          Issue Type: Test
>          Components: Classlib
>            Reporter: Anton Rusanov
>         Assigned To: Stepan Mishura
>         Attachments: patch.txt
>
>
> The test generates a key pair and a self-signed certificate and another key pair and a certificate signed with the first one. It also checks if runs with incorrect arguments throw expected exceptions. 
> The interface ITestKeytool contains constant Strings that are to be used in all tests for Keytool. 

-- 
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