hwsecurity-ssh / de.cotech.hw.ssh / SecurityKeySshAuthenticator / fromOpenSshCertificate /
fromOpenSshCertificate
open fun fromOpenSshCertificate(securityKeyAuthenticator: SecurityKeyAuthenticator): SecurityKeySshAuthenticator
This method creates a SecurityKeySshAuthenticator based on the certificate stored on the security key. Thismethod assumes that the certificate data on the security key contains an OpenSSH public key.
This method performs IO with the security token to retrieve the certificate. It must be calledfrom a background thread.
Throws
Name | Summary |
---|---|
java.io.IOException | If the public key cannot be retrieved from the security key. |