aboutsummaryrefslogtreecommitdiff
path: root/envelope.h
diff options
context:
space:
mode:
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);
}