hwsecurity-ssh / de.cotech.hw.ssh / SecurityKeySshAuthenticator /

SecurityKeySshAuthenticator

open class SecurityKeySshAuthenticator

Functions

Name Summary
authenticateSshChallenge

open fun authenticateSshChallenge(challenge: Array<Byte>): Array<Byte>

Authenticate a challenge with the Security Key’s authentication key.

fromOpenSshCertificate

open fun fromOpenSshCertificate(securityKeyAuthenticator: SecurityKeyAuthenticator): SecurityKeySshAuthenticator

This method creates a SecurityKeySshAuthenticator based on the certificate stored on the security key.

fromPublicKey

open fun fromPublicKey(securityKeyAuthenticator: SecurityKeyAuthenticator): SecurityKeySshAuthenticator

This method creates a SecurityKeySshAuthenticator based on the authentication public key on the connectedsecurity key.

getSshPublicKeyString

open fun getSshPublicKeyString(): String

Returns the public key associated with the security key, encoded as a string.

getSshSignatureAlgorithmName

open fun getSshSignatureAlgorithmName(): String

Returns the algorithm name of the public key associated with the security key.

Properties

Name Summary
sshPublicKeyAlgorithmName private val sshPublicKeyAlgorithmName: String
sshPublicKeyBlob private val sshPublicKeyBlob: Array<Byte>