Virgil Security Crypto library  2.6.3
VirgilPFSEncryptedMessage.h
1 
37 #ifndef VIRGIL_CRYPTO_PFS_VIRGIL_PFS_ENCRYPTED_MESSAGE_H
38 #define VIRGIL_CRYPTO_PFS_VIRGIL_PFS_ENCRYPTED_MESSAGE_H
39 
40 #include "../VirgilByteArray.h"
41 
42 namespace virgil { namespace crypto { namespace pfs {
43 
51 public:
57  VirgilPFSEncryptedMessage(VirgilByteArray sessionIdentifier, VirgilByteArray salt, VirgilByteArray cipherText);
58 
64 
69  const VirgilByteArray& getSalt() const;
70 
75  const VirgilByteArray& getCipherText() const;
76 
77 private:
78  VirgilByteArray sessionIdentifier_;
79  VirgilByteArray salt_;
80  VirgilByteArray cipherText_;
81 };
82 
83 }}}
84 
85 #endif //VIRGIL_CRYPTO_PFS_VIRGIL_PFS_ENCRYPTED_MESSAGE_H
Root namespace for all Virgil Security libraries.
Definition: VirgilAsn1Compatible.h:46
const VirgilByteArray & getSalt() const
Getter.
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
const VirgilByteArray & getSessionIdentifier() const
Getter.
const VirgilByteArray & getCipherText() const
Getter.
This is model object that represent encrypted message produced by VirgilPFS.
Definition: VirgilPFSEncryptedMessage.h:50
VirgilPFSEncryptedMessage(VirgilByteArray sessionIdentifier, VirgilByteArray salt, VirgilByteArray cipherText)