public objc(string n, latice.catg co, latice.clas cl) { name = n; comp = new List <latice.catg>(); comp.Add(co); claso = cl; }
public subcap(string n, latice.catg co, latice.clas clc, latice.clas clm) { name = n; cap = new List <List <acces> >(); comp = new List <latice.catg>(); comp.Add(co); if (clc <= clm) { clasc = clc; clasm = clm; } else { Console.WriteLine("Maximal security level < current security level !\n default to 1,1"); clasc = latice.clas.pblic; clasm = latice.clas.pblic; } trusted = false; }