Package net.sf.jstuff.core.security
Interface ThreadLocalSecureRandom.ThreadLocalSecureRandomBuilder
- All Superinterfaces:
Builder<ThreadLocalSecureRandom>
- Enclosing class:
- ThreadLocalSecureRandom
public static interface ThreadLocalSecureRandom.ThreadLocalSecureRandomBuilder
extends Builder<ThreadLocalSecureRandom>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.sf.jstuff.core.builder.Builder
Builder.Property
-
Method Summary
Modifier and TypeMethodDescriptionreseedEvery
(Duration duration) useStrongInstances
(boolean value) Specifies to use the strongest but probably blocking crypto source available (e.g.
-
Method Details
-
algorithm
-
algorithm
ThreadLocalSecureRandom.ThreadLocalSecureRandomBuilder algorithm(String algorithm, Provider provider) -
algorithm
-
reseedEvery
-
useStrongInstances
Specifies to use the strongest but probably blocking crypto source available (e.g. /dev/random on Unix).useStrongInstances(boolean)
andalgorithm(String)
are mutually exclusive
-