From 6d3f57c0ffe2c8956c64dc7fed52733cfd1ecced Mon Sep 17 00:00:00 2001 From: ubbo Date: Sat, 16 Aug 2008 15:04:44 +0000 Subject: start of binary-file handling (decrypt/encrypt), kind of works, but still a lot has to be done git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@145 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- context.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'context.cpp') diff --git a/context.cpp b/context.cpp index 9db8aad..481ac62 100644 --- a/context.cpp +++ b/context.cpp @@ -76,7 +76,7 @@ Context::Context() /** Setting the output type must be done at the beginning */ - /** think this means ascii-amor --> ? */ + /** think this means ascii-armor --> ? */ gpgme_set_armor(m_ctx, 1); /** passphrase-callback */ gpgme_set_passphrase_cb(m_ctx, passphraseCb, this); @@ -178,9 +178,8 @@ void Context::deleteKeys(QList *uidList) } } -/** Encrypt String, return String - * should also use QByteArray, so be removed - * in should be std::vector & recipients (703 in context.cpp) +/** Encrypt inBuffer for reciepients-uids, write + * result to outBuffer */ bool Context::encrypt(QList *uidList, const QByteArray &inBuffer, QByteArray *outBuffer) { -- cgit