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

getSshPublicKeyString

open fun getSshPublicKeyString(): String

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

This format is commonly found in openssh public key (".pub”) files. It is ascii-encoded, and includes thealgorithm name (getSshPublicKeyAlgorithmName) plus the base 64 encoded public key blob(getSshPublicKeyBlob). For example:

ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKVzhwo9s+G2DrqxQDta5Af1Ro7mQolaKTOOqIPtrGjUVRYOLzo3s3FcFyWcysjeIfJ93SVMs9w95vwlUxR1Bcs=