Class ArcFour256.ArcFour256Factory
java.lang.Object
com.sshtools.common.ssh.components.jce.ArcFour256.ArcFour256Factory
- All Implemented Interfaces:
ComponentInstanceFactory<ArcFour256>,SshCipherFactory<ArcFour256>
- Enclosing class:
- ArcFour256
public static class ArcFour256.ArcFour256Factory
extends Object
implements SshCipherFactory<ArcFour256>
-
Constructor Details
-
ArcFour256Factory
public ArcFour256Factory()
-
-
Method Details
-
create
Description copied from interface:ComponentInstanceFactoryCreate a new instance of the component.- Specified by:
createin interfaceComponentInstanceFactory<ArcFour256>- 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<ArcFour256>- 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<ArcFour256>- Returns:
- enabled by default
-