You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/08/16 13:53:31 UTC

[jira] Closed: (HARMONY-4089) [classlib][security]To seed the SecureRandom before the first call to getNextBytes if the SecureRandom has not been seeded.

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

Leo Li closed HARMONY-4089.
---------------------------

    Resolution: Won't Fix

RI seems also does not seed SecureRandom explicitly by a mock test.

> [classlib][security]To seed the SecureRandom before the first call to getNextBytes if the SecureRandom has not been seeded.
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-4089
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4089
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>
> the spec says, to a non-argument constructor for SecurityRandom, or getInstance methods:
>      
>     Note that this instance of SecureRandom has not been seeded. A call to the setSeed method will seed the SecureRandom object. If a call is not made to setSeed, the first call to the nextBytes method will force the SecureRandom object to seed itself.

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