Virgil Security Crypto library  2.6.3
VirgilSeqCipher.h
1 
37 #ifndef VIRGIL_SEQ_CIPHER_H
38 #define VIRGIL_SEQ_CIPHER_H
39 
40 #include <vector>
41 
42 #include "VirgilCipherBase.h"
43 #include "VirgilByteArray.h"
44 
45 namespace virgil { namespace crypto {
46 
51 public:
58 
65  const VirgilByteArray& recipientId, const VirgilByteArray& privateKey,
66  const VirgilByteArray& privateKeyPassword = VirgilByteArray());
73 
80 
86 
87 private:
92  VirgilByteArray decrypt(const VirgilByteArray& encryptedData);
93 };
94 
95 }}
96 
97 #endif /* VIRGIL_SEQ_CIPHER_H */
void startDecryptionWithKey(const VirgilByteArray &recipientId, const VirgilByteArray &privateKey, const VirgilByteArray &privateKeyPassword=VirgilByteArray())
Start sequential decryption for recipient defined by id and private key.
void startDecryptionWithPassword(const VirgilByteArray &pwd)
Start sequential decryption for recipient defined by id and private key.
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
VirgilByteArray startEncryption()
Start sequential encryption process.
This class provides high-level interface to sequenctially encrypt / decrypt data using Virgil Securit...
Definition: VirgilSeqCipher.h:50
VirgilByteArray process(const VirgilByteArray &data)
This class provides configuration methods to all Virgil*Cipher classes.
Definition: VirgilCipherBase.h:61