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