harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Li (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-4089) [classlib][security]To seed the SecureRandom before the first call to getNextBytes if the SecureRandom has not been seeded.
Date Thu, 16 Aug 2007 11:53:31 GMT

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


Mime
View raw message