Open ihsanhaikalz opened 6 years ago
The system is using a simple policy syntax. The notation is called Polish notation and simplifies greatly the parsing of the policy as it eliminates the requirements for parenthesis.
and a or d and b c
is the polish notation of a and (d or (b and c))
A policy a and b
would translate to and a b
.
I'll add some documentation.
hi i am new to attribute based encryption could you please explain which file to i have to run and libraries which i have to import for this project?
@lokesh-oruganti The project is a maven project. I opened an issue ( #22 ) to make the project available through maven central.
thank u @stefano81 for the response Can u please tell me the parameters which i have to pass for the DCPABETool file
hi can u please tell me the parameters or arguments that i have to pass for the successful execution of main Class .I know that i am bit over the line and i am sorry for it
Could you tell me how do you define the structure for the policy? In the test case you wrote something like this
AccessStructure as = AccessStructure.buildFromPolicy("and a or d and b c");
and the attributes that fulfill the policy is a and d. How is that possible? Also what if I would like to make simple policy like a or b? How do I define it?