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