I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 1433e20f authored by aum's avatar aum Committed by zzz
Browse files

Added Destination constructor which accepts/uses a base64 string arg

parent e614a2f7
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,15 @@ public class Destination extends DataStructureImpl {
__calculatedHash = null;
}
/**
* alternative constructor which takes a base64 string representation
* @param s a Base64 representation of the destination, as (eg) is used in hosts.txt
*/
public Destination(String s) {
this();
fromBase64(s);
}
public Certificate getCertificate() {
return _certificate;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment