From 566d17f731637df6828bdf32502a0fb123882dbe Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 9 Oct 2003 11:41:45 +0000 Subject: Initial import --- src/org/noreply/fancydress/type3/SURB.java | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/org/noreply/fancydress/type3/SURB.java (limited to 'src/org/noreply/fancydress/type3/SURB.java') 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]; + } +} + -- cgit v1.2.3