diff options
Diffstat (limited to 'src/org/noreply/fancydress/type3/Hop.java')
-rw-r--r-- | src/org/noreply/fancydress/type3/Hop.java | 22 |
1 files changed, 22 insertions, 0 deletions
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; + } +} |