Class DHGroups.Factory
java.lang.Object
com.hierynomus.sshj.transport.kex.DHGroups.Factory
- All Implemented Interfaces:
Factory<KeyExchange>, Factory.Named<KeyExchange>
- Enclosing class:
DHGroups
Named factory for DHG1 key exchange
-
Nested Class Summary
Nested classes/interfaces inherited from interface Factory
Factory.Named<T>Nested classes/interfaces inherited from interface Factory.Named
Factory.Named.Util -
Constructor Summary
ConstructorsConstructorDescriptionFactory(String name, BigInteger group, BigInteger generator, Factory.Named<Digest> digestFactory) -
Method Summary
-
Constructor Details
-
Factory
public Factory(String name, BigInteger group, BigInteger generator, Factory.Named<Digest> digestFactory)
-
-
Method Details
-
create
- Specified by:
createin interfaceFactory<KeyExchange>- Returns:
- a new object created using this factory.
-
getName
- Specified by:
getNamein interfaceFactory.Named<KeyExchange>- Returns:
- the name of this factory.
-
toString
-