Package com.hierynomus.sshj.key
Class KeyAlgorithms.Factory
java.lang.Object
com.hierynomus.sshj.key.KeyAlgorithms.Factory
- All Implemented Interfaces:
Factory<KeyAlgorithm>
,Factory.Named<KeyAlgorithm>
- Enclosing class:
KeyAlgorithms
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.Factory
Factory.Named<T>
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.Factory.Named
Factory.Named.Util
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final KeyType
private final Factory.Named
<Signature> -
Constructor Summary
ConstructorsConstructorDescriptionFactory
(String algorithmName, Factory.Named<Signature> signatureFactory, KeyType keyType) -
Method Summary
-
Field Details
-
algorithmName
-
signatureFactory
-
keyType
-
-
Constructor Details
-
Factory
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceFactory.Named<KeyAlgorithm>
- Returns:
- the name of this factory.
-
getKeyType
-
create
- Specified by:
create
in interfaceFactory<KeyAlgorithm>
- Returns:
- a new object created using this factory.
-
toString
-