summary refs log tree commit diff stats
path: root/src/main/java/ganarchy/friendcode/client/I2PSamPinger.java
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-07-25 23:08:13 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-07-25 23:08:13 -0300
commitcb7937f5c6a6677d52efed7caef935dc2e397157 (patch)
tree4e0f3e051b82ae6d7245adf0e54b99d4f786beaa /src/main/java/ganarchy/friendcode/client/I2PSamPinger.java
parent97c48aa55abca34478f470fa99c3a150c6629f16 (diff)
Finish world key machinery API
Still need to implement the actual functionality.
Diffstat (limited to 'src/main/java/ganarchy/friendcode/client/I2PSamPinger.java')
-rw-r--r--src/main/java/ganarchy/friendcode/client/I2PSamPinger.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/ganarchy/friendcode/client/I2PSamPinger.java b/src/main/java/ganarchy/friendcode/client/I2PSamPinger.java
index e0824b9..9bc46e2 100644
--- a/src/main/java/ganarchy/friendcode/client/I2PSamPinger.java
+++ b/src/main/java/ganarchy/friendcode/client/I2PSamPinger.java
@@ -95,7 +95,7 @@ public class I2PSamPinger extends LanServerPinger implements LanSendPing {
         return this.status;
     }
 
-    public String pubkey() {
+    public String publicKey() {
         return this.sam.publicKey();
     }
 
@@ -103,6 +103,10 @@ public class I2PSamPinger extends LanServerPinger implements LanSendPing {
         this.stopSam = true;
     }
 
+    public String privateKey() {
+        return this.sam.privateKey();
+    }
+
     public enum Status {
         IDLE,
         RUNNING,