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