code: public static base_response convert(nitro_service client, sslpkcs8 resource) throws Exception {
  		sslpkcs8 convertresource = new sslpkcs8();
  		convertresource.pkcs8file = resource.pkcs8file;
  		convertresource.keyfile = resource.keyfile;
  		convertresource.keyform = resource.keyform;
  		convertresource.password = resource.password;
  		return convertresource.perform_operation(client,"convert");
  	}
docs: Use this API to convert sslpkcs8.