At the moment we only support RSA keys, which is a little pessimistic given we hand off the cryptography to libcrypto anyway. We should extend support to cover ECDSA, ED25519 and ED448. At the same time, we should extend testing to cover all the RSA algorithms and new algorithms.