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/Hop.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/org/noreply/fancydress/type3/Hop.java (limited to 'src/org/noreply/fancydress/type3/Hop.java') diff --git a/src/org/noreply/fancydress/type3/Hop.java b/src/org/noreply/fancydress/type3/Hop.java new file mode 100644 index 0000000..a9d7dda --- /dev/null +++ b/src/org/noreply/fancydress/type3/Hop.java @@ -0,0 +1,22 @@ +package org.noreply.fancydress.type3; + +import org.noreply.fancydress.type3.routing.*; +import org.noreply.fancydress.crypto.*; + +public class Hop { + private Routing routing; + private RSAPublicKey pubKey; + + public Hop(Routing routing, RSAPublicKey pubKey) { + this.routing = routing; + this.pubKey = pubKey; + } + + public Routing getRouting() { + return routing; + } + + public RSAPublicKey getPubKey() { + return pubKey; + } +} -- cgit v1.2.3