I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 3baa08a3 authored by zzz's avatar zzz
Browse files

Utils: Improve random seed initialization

Fallback to Random rather than try SecureRandom twice
Fetch from SecureRandom incrementally
Remove log warning
correction, this is just a simple javadoc fix, original changelog was a dup
parent 896af2c5
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,8 @@ public interface I2PClient {
/** Create a new destination with the default certificate creation properties and store
* it, along with the private encryption and signing keys at the specified location
*
* Caller must close stream.
*
* @param destKeyStream create a new destination and write out the object to the given stream,
* formatted as Destination, PrivateKey, and SigningPrivateKey
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
......@@ -97,6 +99,8 @@ public interface I2PClient {
* This is not bound to the I2PClient, you must supply the data back again
* in createSession().
*
* Caller must close stream.
*
* @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
* @since 0.9.12
......@@ -106,6 +110,8 @@ public interface I2PClient {
/** Create a new destination with the given certificate and store it, along with the private
* encryption and signing keys at the specified location
*
* Caller must close stream.
*
* @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
* @param cert certificate to tie to the destination
......
......@@ -46,6 +46,8 @@ public class I2PClientImpl implements I2PClient {
* This is not bound to the I2PClient, you must supply the data back again
* in createSession().
*
* Caller must close stream.
*
* @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
*/
......@@ -59,6 +61,8 @@ public class I2PClientImpl implements I2PClient {
* This is not bound to the I2PClient, you must supply the data back again
* in createSession().
*
* Caller must close stream.
*
* @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
* @since 0.9.12
......@@ -82,6 +86,8 @@ public class I2PClientImpl implements I2PClient {
* The padding if any will be randomized. The extra key data if any will be set in the
* key cert.
*
* Caller must close stream.
*
* @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
* format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment