summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-07-18 20:52:00 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-07-22 21:32:38 +0000
commitb989096dc22ae64d0cf2d96db7d73c2c4438acee (patch)
tree95aa3fa161dcc4ed1bdde3de3da1e37535765b04 /android
parent81e8f3ca90749d6dc202bdf6b399ec377dfed6fb (diff)
downloadmullvadvpn-b989096dc22ae64d0cf2d96db7d73c2c4438acee.tar.xz
mullvadvpn-b989096dc22ae64d0cf2d96db7d73c2c4438acee.zip
Create `KeygenEvent` class
Diffstat (limited to 'android')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt
new file mode 100644
index 0000000000..b5938d65f6
--- /dev/null
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/KeygenEvent.kt
@@ -0,0 +1,7 @@
+package net.mullvad.mullvadvpn.model
+
+sealed class KeygenEvent {
+ class NewKey(var publicKey: PublicKey) : KeygenEvent()
+ class TooManyKeys : KeygenEvent()
+ class GenerationFailure : KeygenEvent()
+}