aboutsummaryrefslogtreecommitdiff
path: root/crypto-common/api
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-07-11 22:52:26 +0530
committerGitHub <noreply@github.com>2021-07-11 17:22:26 +0000
commit6e4ffe290265ef8b3cd82f5ab6a7eb8c0157bf6a (patch)
tree13739c1079e5cd4ce609cdbb4501450b2eabecb4 /crypto-common/api
parent9c388e49748084bdac3fb277ea507b80b9c7c33a (diff)
Add initial implementation of Gopenpgp-backed PGP (#1441)
Diffstat (limited to 'crypto-common/api')
-rw-r--r--crypto-common/api/crypto-common.api6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto-common/api/crypto-common.api b/crypto-common/api/crypto-common.api
new file mode 100644
index 00000000..7493379c
--- /dev/null
+++ b/crypto-common/api/crypto-common.api
@@ -0,0 +1,6 @@
+public abstract interface class dev/msfjarvis/aps/data/crypto/CryptoHandler {
+ public abstract fun canHandle (Ljava/lang/String;)Z
+ public abstract fun decrypt (Ljava/lang/String;[B[B)[B
+ public abstract fun encrypt (Ljava/lang/String;[B)[B
+}
+