diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-10-09 11:41:45 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-10-09 11:41:45 +0000 |
commit | 566d17f731637df6828bdf32502a0fb123882dbe (patch) | |
tree | fc09fdfb90953134fa1d25f73367307502348a22 /src/org/noreply/fancydress/type3/SURB.java | |
parent | 018eea460ee32df1b70c40c2eca05f06c06daca5 (diff) |
Initial import
Diffstat (limited to 'src/org/noreply/fancydress/type3/SURB.java')
-rw-r--r-- | src/org/noreply/fancydress/type3/SURB.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/org/noreply/fancydress/type3/SURB.java b/src/org/noreply/fancydress/type3/SURB.java new file mode 100644 index 0000000..914c3da --- /dev/null +++ b/src/org/noreply/fancydress/type3/SURB.java @@ -0,0 +1,25 @@ +package org.noreply.fancydress.type3; + +import org.noreply.fancydress.type3.routing.*; +import org.noreply.fancydress.status.*; +import org.noreply.fancydress.crypto.*; + +public class SURB extends SingleLeg { + + public SURB (Path path, RoutingDestination address) throws Mix3BadArgumentsChainTooLongException { + super(); + + byte[][] sharedKeys = {}; + Hop[] hops = new Hop[0]; // path.getHops(); + + /* FIXME */ + + makeLeg ( hops, sharedKeys, address); + + }; + + public byte[] getEncryptionKey() { + return new byte[16]; + } +} + |