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