static RsaPublicKey read(String input) throws KeyczarException {
RsaPublicKey key = Util.gson().fromJson(input, RsaPublicKey.class);
if (key.getType() != DefaultKeyType.RSA_PUB) {
throw new UnsupportedTypeException(key.getType());
}
return key.initFromJson();
}