Closed bjambu20 closed 10 years ago
please use jPBC 1.2.1
How should we give access policy input to cpabe..kindly help me...am completely new to this type of cryptography
Please have a look of this link http://junwei-wang.github.io/cpabe/
Thank you sir.. I have included all the 9 jars in jpbc...but the imports is not resolved for "it.unisa.dia.gas.plaf.jpbc.pairing.DefaultCurveParameters " alone sir...now what should i do for this ?...kindly help me sir
I have tried cpabe given on your site.but that only import can't be resolved eventhough i have included all the necessary jpbc jars..kindly help me sir
Sir You are my only hope to solve this problem..i have attached a snapshot of where i am getting error...kindly help me sir...
SIr i have resolved that import..but in your code you are using curveparameters for getpairing() function ...i have attached the code... DefaultCurveParameters params = new DefaultCurveParameters() .load(new ByteArrayInputStream(curveParams.getBytes()));
pairing = PairingFactory.getPairing(params);
here actually pairingparameters or string only we can pass for getpairing function..how to convert default curveparameters into pairingparameter..
Sir kindly help me...I am stucking here...how to pass value to getpairing function
How to check jpbc wrapper is correctly installed
Sorry @RANJANIRAMALINGAMM , Please refer to the manual of your IDE about how to import an library.
@RANJANIRAMALINGAMM . I was able to run . So you may try another project in netbeans with appropriate jars. Otherwise try in eclipse.. Sure it will work..
thank you sir ...whether i need to install PBC for this code to run
i have installed jpbc library and run a small program for checking..it executes successfully...Whether i need to install pbc for this Cpabe code to run...can you please reply me
@RANJANIRAMALINGAMM , you do not have to install pbc
on you compute, but you have to download jPBC
, and add it into the search PATH.
maybe there is path problem, you try use file wheathe it can open the property
2015-03-18 15:27 GMT+08:00 Junwei Wang notifications@github.com:
@RANJANIRAMALINGAMM https://github.com/RANJANIRAMALINGAMM , you do not have to install pbc on you compute, but you have to download jPBC, and add it into the search PATH.
— Reply to this email directly or view it on GitHub https://github.com/junwei-wang/cpabe/issues/5#issuecomment-82791239.
感谢您拔冗阅读此邮件 此致 敬礼
Thank you very much sir...i have downloaded jpbc and included all the 13 jars in netbeans...I am not getting any error...but while running the program i got the below errors...the encrypted file also cant open normally...but decrypted file could be open...
How should i rectify this problem...why jpbc-pbc library module is not found eventhough i installed all the neccessary jars.. pairing = PairingFactory.getPairing(params); I am getting runtime error in the above statement when i run your code given in your site...how to solve this??kindly help me sir.
Just remove the jpbc-pbc-1.2.0.jar from your project, and you will see nothing serious happen with your project. but, the link error will disappear.
Sir, i am new to this approch....i have already added all jars... i am facing same problem as ranjaniramalingamm mention above getting compiletime error on following pairing=PairingFactory.getPairing(params); Sir plz kindly tell me proceess to resolve mentioned error..
@mangesh0910 Did you use the correct version of jPBC?
try jpbc 2.0.0 as well as jpbc 1.2.1 still getting same error sir..,,
Please read the source code and find out the reason. I don't maintain this project any more. I am sorry.
2015-05-12 12:56 GMT+08:00 mangesh0910 notifications@github.com:
try jpbc 2.0.0 as well as jpbc 1.2.1 still getting same error sir..,,
— Reply to this email directly or view it on GitHub https://github.com/junwei-wang/cpabe/issues/5#issuecomment-101130376.
hello sir, is there any one who can guide on me in the same above error ?
Hello Mr. @junwei-wang , I tried to execute the main class DemoForCpabe.class but I've got this error exception :
Duplicated and closed issue #6.
@RANJANIRAMALINGAMM did u solve that error ?? now .. I am getting the same error which u got for curveparams .. please help me out.
below imports cannot be resolved: Even i have jar file cpabe 2.0.0 and if i use cpabe 1.2.1 i get err.
Anyone help me to solve this pbm.