Function thrussh_keys::parse_public_key_base64
source · Expand description
Reads a public key from the standard encoding. In some cases, the
encoding is prefixed with a key type identifier and a space (such
as ssh-ed25519 AAAAC3N...
).
thrussh_keys::parse_public_key_base64("AAAAC3NzaC1lZDI1NTE5AAAAIJdD7y3aLq454yWBdwLWbieU1ebz9/cu7/QEXn9OIeZJ").is_ok();