From 211929876b84beba330a8fed2130feaed616cd9f Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sun, 06 Sep 2015 09:52:31 -0400 Subject: [PATCH] Enigma: GPG keys export --- plugins/enigma/lib/enigma_driver.php | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/plugins/enigma/lib/enigma_driver.php b/plugins/enigma/lib/enigma_driver.php index 6326ef7..10c6d1c 100644 --- a/plugins/enigma/lib/enigma_driver.php +++ b/plugins/enigma/lib/enigma_driver.php @@ -70,6 +70,15 @@ abstract function import($content, $isfile = false); /** + * Key/Cert export. + * + * @param string Key ID + * + * @return mixed Key content or enigma_error + */ + abstract function export($key); + + /** * Keys listing. * * @param string Optional pattern for key ID, user ID or fingerprint -- Gitblit v1.9.1