aboutsummaryrefslogtreecommitdiff
path: root/crypto-pgp/api/crypto-pgp.api
diff options
context:
space:
mode:
Diffstat (limited to 'crypto-pgp/api/crypto-pgp.api')
-rw-r--r--crypto-pgp/api/crypto-pgp.api18
1 files changed, 18 insertions, 0 deletions
diff --git a/crypto-pgp/api/crypto-pgp.api b/crypto-pgp/api/crypto-pgp.api
index 2164360c..c9b2dde7 100644
--- a/crypto-pgp/api/crypto-pgp.api
+++ b/crypto-pgp/api/crypto-pgp.api
@@ -1,3 +1,21 @@
+public final class dev/msfjarvis/aps/data/crypto/GPGKeyManager : dev/msfjarvis/aps/data/crypto/KeyManager {
+ public fun <init> (Ljava/lang/String;Lkotlinx/coroutines/CoroutineDispatcher;)V
+ public fun addKey (Ldev/msfjarvis/aps/data/crypto/GPGKeyPair;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun addKey (Ldev/msfjarvis/aps/data/crypto/KeyPair;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun canHandle (Ljava/lang/String;)Z
+ public fun getAllKeys (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun getKeyById (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public fun removeKey (Ldev/msfjarvis/aps/data/crypto/GPGKeyPair;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+ public synthetic fun removeKey (Ldev/msfjarvis/aps/data/crypto/KeyPair;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
+}
+
+public final class dev/msfjarvis/aps/data/crypto/GPGKeyPair : dev/msfjarvis/aps/data/crypto/KeyPair {
+ public fun <init> (Lcom/proton/Gopenpgp/crypto/Key;)V
+ public fun getKeyId ()Ljava/lang/String;
+ public fun getPrivateKey ()[B
+ public fun getPublicKey ()[B
+}
+
public final class dev/msfjarvis/aps/data/crypto/GopenpgpCryptoHandler : dev/msfjarvis/aps/data/crypto/CryptoHandler {
public fun <init> ()V
public fun canHandle (Ljava/lang/String;)Z