From cb32b676fa4d7e95ec32c3e8968d0ccddbfa42fa Mon Sep 17 00:00:00 2001 From: James Walker Date: Mon, 22 Feb 2010 20:56:11 -0500 Subject: [PATCH] moving magicsig.php to classes - to add storage --- .../OStatus/{lib/magicsig.php => classes/Magicsig.php} | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) rename plugins/OStatus/{lib/magicsig.php => classes/Magicsig.php} (97%) diff --git a/plugins/OStatus/lib/magicsig.php b/plugins/OStatus/classes/Magicsig.php similarity index 97% rename from plugins/OStatus/lib/magicsig.php rename to plugins/OStatus/classes/Magicsig.php index 50eb301ab3..9d9d327447 100644 --- a/plugins/OStatus/lib/magicsig.php +++ b/plugins/OStatus/classes/Magicsig.php @@ -29,15 +29,7 @@ require_once 'Crypt/RSA.php'; -interface Magicsig -{ - - public function sign($bytes); - - public function verify($signed, $signature_b64); -} - -class MagicsigRsaSha256 +class Magicsig { public $keypair;