net.i2p.data
public class Destination extends KeysAndCert
__calculatedHash, _certificate, _publicKey, _signingKey
Constructor and Description |
---|
Destination() |
Destination(String s)
alternative constructor which takes a base64 string representation
|
Modifier and Type | Method and Description |
---|---|
int |
readBytes(byte[] source,
int offset)
deprecated, used only by Packet.java in streaming
|
int |
size() |
int |
writeBytes(byte[] target,
int offset)
deprecated, used only by Packet.java in streaming
|
calculateHash, equals, getCertificate, getHash, getPublicKey, getSigningPublicKey, hashCode, readBytes, setCertificate, setPublicKey, setSigningPublicKey, toString, writeBytes
fromBase64, fromByteArray, read, toBase64, toByteArray
public Destination()
public Destination(String s) throws DataFormatException
s
- a Base64 representation of the destination, as (eg) is used in hosts.txtDataFormatException
public int writeBytes(byte[] target, int offset)
public int readBytes(byte[] source, int offset) throws DataFormatException
DataFormatException
public int size()