XMLWordPrintable

      `SecureRandom` objects are safe for use by multiple concurrent threads. A `SecureRandom` service provider can advertise that it is thread-safe by setting the service provider attribute "ThreadSafe" to "true" when registering the provider. Otherwise, the `SecureRandom` class will synchronize access to the following `SecureRandomSpi` methods:
      `SecureRandomSpi.engineSetSeed(byte[])`, `SecureRandomSpi.engineNextBytes(byte[])`, `SecureRandomSpi.engineNextBytes(byte[], SecureRandomParameters)`, `SecureRandomSpi.engineGenerateSeed(int)`, and `SecureRandomSpi.engineReseed(SecureRandomParameters)`.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: