Class BlockCiphers.Factory
- java.lang.Object
-
- com.hierynomus.sshj.transport.cipher.BlockCiphers.Factory
-
- All Implemented Interfaces:
Factory<Cipher>
,Factory.Named<Cipher>
- Enclosing class:
- BlockCiphers
public static class BlockCiphers.Factory extends java.lang.Object implements Factory.Named<Cipher>
Named factory for BlockCipher
-
-
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
-
-
Constructor Summary
Constructors Constructor Description Factory(int ivsize, int keysize, java.lang.String name, java.lang.String cipher, java.lang.String mode)
-
-
-
Method Detail
-
create
public Cipher create()
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceFactory.Named<Cipher>
- Returns:
- the name of this factory.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-