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