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