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, writeBytesfromBase64, fromByteArray, read, toBase64, toByteArraypublic Destination()
public Destination(String s) throws DataFormatException
s - a Base64 representation of the destination, as (eg) is used in hosts.txtDataFormatExceptionpublic int writeBytes(byte[] target,
int offset)
public int readBytes(byte[] source,
int offset)
throws DataFormatException
DataFormatExceptionpublic int size()