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