restore method used by bote

This commit is contained in:
zzz
2014-01-04 17:32:38 +00:00
parent 41e071efe5
commit fba209ca7d

View File

@ -123,10 +123,10 @@ public class Destination extends KeysAndCert {
/**
* deprecated was used only by Packet.java in streaming, now unused
* Warning - used by i2p-bote. Does NOT support alternate key types. DSA-SHA1 only.
*
* @throws IllegalStateException if data already set
*/
/****
public int readBytes(byte source[], int offset) throws DataFormatException {
if (source == null) throw new DataFormatException("Null source");
if (source.length <= offset + PublicKey.KEYSIZE_BYTES + SigningPublicKey.KEYSIZE_BYTES)
@ -146,7 +146,6 @@ public class Destination extends KeysAndCert {
return cur - offset;
}
****/
public int size() {
int rv = PublicKey.KEYSIZE_BYTES + _signingKey.length();