Return key type and size with the public key