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