-
Notifications
You must be signed in to change notification settings - Fork 22
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
Make data-transfer related objects serializable. #56
Conversation
Previous related discussion about rejecting the relaxation of access to |
In order to safely serialise an EncryptedNumber you must be certain that it has been "obfuscated" by calling |
Also relevant is #3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will help to make the library more broadly usable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to address issue raised by @mhsiah
@tiantianwdy Do you really need |
…ed private key. Useful in distributed settings.
Addressed @mhsiah's concern about serialising PrivateKey. The PrivateKey is no longer serialisable and a new 'decrypt` method has been added to the EncryptedNumber to defer private key production to a potentially different mechanism (such a local Keystore) |
Travis build is failing because java 7 does not have the
|
Made
EncryptedNumber
,EncodedNumber
,PaillierContext
andPaillierPublicKey
andPaillierPrivateKey
,StandardEncodingScheme
to implementSerializable
Changed the
ciphertext
in EncryptedNumber to non-trancientprotected final BigInteger ciphertext;