make (de)serialize methods public in OlmAccount
This commit is contained in:
parent
3612ac7ae7
commit
4803f4192d
1 changed files with 2 additions and 2 deletions
|
@ -353,7 +353,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
|
||||||
* @return the account as bytes buffer
|
* @return the account as bytes buffer
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) {
|
public byte[] serialize(byte[] aKey, StringBuffer aErrorMsg) {
|
||||||
byte[] pickleRetValue = null;
|
byte[] pickleRetValue = null;
|
||||||
|
|
||||||
// sanity check
|
// sanity check
|
||||||
|
@ -389,7 +389,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
|
||||||
* @exception Exception the exception
|
* @exception Exception the exception
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception {
|
public void deserialize(byte[] aSerializedData, byte[] aKey) throws Exception {
|
||||||
String errorMsg = null;
|
String errorMsg = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue