diff options
author | James Walker <walkah@walkah.net> | 2010-02-22 20:56:11 -0500 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-02-22 23:30:31 -0500 |
commit | cb32b676fa4d7e95ec32c3e8968d0ccddbfa42fa (patch) | |
tree | b16405cba56fb518a643ea47a2d02a671994faf2 /plugins | |
parent | b67bb182b008b5f7b66d39df7bb8dab449b7002a (diff) |
moving magicsig.php to classes - to add storage
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/classes/Magicsig.php (renamed from plugins/OStatus/lib/magicsig.php) | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/OStatus/lib/magicsig.php b/plugins/OStatus/classes/Magicsig.php index 50eb301ab..9d9d32744 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; |