aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/crypto/OtrEngine.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/gultsch/chat/crypto/OtrEngine.java')
-rw-r--r--src/de/gultsch/chat/crypto/OtrEngine.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/crypto/OtrEngine.java b/src/de/gultsch/chat/crypto/OtrEngine.java
index d994f0f9..f63b2904 100644
--- a/src/de/gultsch/chat/crypto/OtrEngine.java
+++ b/src/de/gultsch/chat/crypto/OtrEngine.java
@@ -124,6 +124,10 @@ public class OtrEngine implements OtrEngineHost {
return null;
}
+ public PublicKey getPublicKey() {
+ return this.keyPair.getPublic();
+ }
+
@Override
public KeyPair getLocalKeyPair(SessionID arg0) throws OtrException {
if (this.keyPair==null) {