aboutsummaryrefslogtreecommitdiff
path: root/envelope.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-08 22:03:52 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-08 22:03:52 +0200
commitd6cc28665d2025afba1f3701a486927f0b3a51da (patch)
tree86e6723fda17b705bb2cc61abc7c1ffd43463706 /envelope.h
parent93b1a18fd61890eb4976a7f52d17e0990ccca661 (diff)
Lots of renaming (mainly {Public,Private}Key -> Key)
Diffstat (limited to 'envelope.h')
-rw-r--r--envelope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/envelope.h b/envelope.h
index a72a7ad..f7bfad3 100644
--- a/envelope.h
+++ b/envelope.h
@@ -5,9 +5,9 @@
namespace Envelope{
- std::string encrypt(const std::string &data,const RSA::PublicKey &pubkey);
+ std::string encrypt(const std::string &data,const RSA::Key &pubkey);
//throws invalid_argument for an invalid ciphertext (length invalid)
- std::string decrypt(const std::string &data,const RSA::PrivateKey &privkey);
+ std::string decrypt(const std::string &data,const RSA::Key &privkey);
}