Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Policy Error #1

Open
hintaw opened this issue Sep 29, 2020 · 0 comments
Open

Policy Error #1

hintaw opened this issue Sep 29, 2020 · 0 comments

Comments

@hintaw
Copy link

hintaw commented Sep 29, 2020

hello
when I am trying to run the code I got the following error:

Exception in thread "main" java.lang.IllegalArgumentException: No valid resource found!
at it.unisa.dia.gas.plaf.jpbc.pairing.parameters.PropertiesParameters.load(PropertiesParameters.java:190)
at it.unisa.dia.gas.plaf.jpbc.pairing.PairingFactory.loadParameters(PairingFactory.java:125)
at it.unisa.dia.gas.plaf.jpbc.pairing.PairingFactory.initPairing(PairingFactory.java:79)
at it.unisa.dia.gas.plaf.jpbc.pairing.PairingFactory.getPairing(PairingFactory.java:35)
at nl.sudohenk.kpabe.gpswabe.SerializeUtils.unserializegpswabePub(SerializeUtils.java:101)
at nl.sudohenk.kpabe.KeyPolicyAttributeBasedEncryption.keygen(KeyPolicyAttributeBasedEncryption.java:47)
at nl.sudohenk.kpabe.Example.main(Example.java:54)

and when I track the code it's telling me "policy" in the "kpabe.keygen(pubfile, mskfile, prvfile, policy); "statement not getting anything
So, could you please tell me what have I to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant