code: public static nsencryptionparams get(nitro_service service) throws Exception{
  		nsencryptionparams obj = new nsencryptionparams();
  		nsencryptionparams[] response = (nsencryptionparams[])obj.get_resources(service);
  		return response[0];
  	}
docs: Use this API to fetch all the nsencryptionparams resources that are configured on netscaler.