Class ArcFour128.ArcFour128Factory
java.lang.Object
com.sshtools.common.ssh.components.jce.ArcFour128.ArcFour128Factory
- All Implemented Interfaces:
ComponentInstanceFactory<ArcFour128>,SshCipherFactory<ArcFour128>
- Enclosing class:
- ArcFour128
public static class ArcFour128.ArcFour128Factory
extends Object
implements SshCipherFactory<ArcFour128>
-
Constructor Details
-
ArcFour128Factory
public ArcFour128Factory()
-
-
Method Details
-
create
Description copied from interface:ComponentInstanceFactoryCreate a new instance of the component.- Specified by:
createin interfaceComponentInstanceFactory<ArcFour128>- Returns:
- component
- Throws:
NoSuchAlgorithmException- if no such algorithm existsIOException- any other error
-
getKeys
Description copied from interface:ComponentInstanceFactoryGet the internal keys used to identify this component. The same component may be identified by more than one key, for exampleSHA256andSHA-256. The first key in the array is the algorithms primary key.- Specified by:
getKeysin interfaceComponentInstanceFactory<ArcFour128>- Returns:
- key
-
isEnabledByDefault
public boolean isEnabledByDefault()Description copied from interface:ComponentInstanceFactoryGet if the component should be enabled by default. Disabled components are usually obsolete or insecure components.- Specified by:
isEnabledByDefaultin interfaceComponentInstanceFactory<ArcFour128>- Returns:
- enabled by default
-