tostring updates for debugging

This commit is contained in:
zzz
2009-08-30 16:04:50 +00:00
parent 62a3da2fa6
commit e6e6c00497
2 changed files with 9 additions and 2 deletions

View File

@ -83,6 +83,8 @@ public class SessionKey extends DataStructureImpl {
@Override
public String toString() {
return "SessionKey " + toBase64();
/****
if (true) return super.toString();
StringBuilder buf = new StringBuilder(64);
buf.append("[SessionKey: ");
@ -97,5 +99,6 @@ public class SessionKey extends DataStructureImpl {
}
buf.append("]");
return buf.toString();
****/
}
}
}

View File

@ -58,4 +58,8 @@ public class SessionTag extends ByteArray {
out.write(getData());
}
}
@Override
public String toString() {
return "SessionTag " + toBase64();
}
}