Changeset View
Changeset View
Standalone View
Standalone View
src/context.h
| Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Lines | enum EncryptionFlags { | ||||
| Prepare = 4, | Prepare = 4, | ||||
| ExpectSign = 8, | ExpectSign = 8, | ||||
| NoCompress = 16, | NoCompress = 16, | ||||
| Symmetric = 32, | Symmetric = 32, | ||||
| ThrowKeyIds = 64, | ThrowKeyIds = 64, | ||||
| EncryptWrap = 128, | EncryptWrap = 128, | ||||
| WantAddress = 256, | WantAddress = 256, | ||||
| EncryptArchive = 512, | EncryptArchive = 512, | ||||
| EncryptFile = 1024 | EncryptFile = 1024, | ||||
| AddRecipient = 2048, | |||||
| ChangeRecipient = 4096, | |||||
| }; | }; | ||||
| EncryptionResult encrypt(const std::vector<Key> &recipients, const Data &plainText, Data &cipherText, EncryptionFlags flags); | EncryptionResult encrypt(const std::vector<Key> &recipients, const Data &plainText, Data &cipherText, EncryptionFlags flags); | ||||
| GpgME::Error encryptSymmetrically(const Data &plainText, Data &cipherText); | GpgME::Error encryptSymmetrically(const Data &plainText, Data &cipherText); | ||||
| GpgME::Error startEncryption(const std::vector<Key> &recipients, const Data &plainText, Data &cipherText, EncryptionFlags flags); | GpgME::Error startEncryption(const std::vector<Key> &recipients, const Data &plainText, Data &cipherText, EncryptionFlags flags); | ||||
| EncryptionResult encryptionResult() const; | EncryptionResult encryptionResult() const; | ||||
| // | // | ||||
| // Combined Signing and Encryption | // Combined Signing and Encryption | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||