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