Hi JayangaD, For issue [1], While debugging the code, I found that JKSBasedCipherProvider.doCipher(Cipher cipher, byte[] original) method is received the same byte array when I decrypt same encrypted string for both osgi service and cipher tool command line argument. But this returns an empty array for osgi service and correct decrypted value for command line arguments case. So the problem may be with the cipher object used. In case how I defer cipher object used for both scenarios? Or any idea to narrow down the issue?
[1] https://github.com/wso2/carbon-secvault/issues/32 Thanks, Lakshman. -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0717429601*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev