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