Package org.apache.sshd.common.random
Class JceRandomFactory
- java.lang.Object
-
- org.apache.sshd.common.random.AbstractRandomFactory
-
- org.apache.sshd.common.random.JceRandomFactory
-
- All Implemented Interfaces:
java.util.function.Supplier<Random>
,BuiltinFactory<Random>
,Factory<Random>
,NamedFactory<Random>
,NamedResource
,OptionalFeature
,RandomFactory
public class JceRandomFactory extends AbstractRandomFactory
Named factory for the JCERandom
-
-
Field Summary
Fields Modifier and Type Field Description static JceRandomFactory
INSTANCE
static java.lang.String
NAME
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description JceRandomFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Random
create()
boolean
isSupported()
-
Methods inherited from class org.apache.sshd.common.random.AbstractRandomFactory
getName, toString
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
INSTANCE
public static final JceRandomFactory INSTANCE
-
-
Method Detail
-
isSupported
public boolean isSupported()
-
create
public Random create()
- Returns:
- A new instance
-
-