35 #ifndef ROSBAG_NO_ENCRYPTION_H 36 #define ROSBAG_NO_ENCRYPTION_H
ChunkedFile reads and writes files which contain interleaved chunks of compressed and uncompressed da...
void initialize(Bag const &, std::string const &)
Initialize encryptor.
void readFieldsFromFileHeader(ros::M_string const &)
Read encryptor information from bag file header.
std::map< std::string, std::string > M_string
void writeEncryptedHeader(boost::function< void(ros::M_string const &)>, ros::M_string const &, ChunkedFile &)
Write encrypted header to bag file.
bool readEncryptedHeader(boost::function< bool(ros::Header &)>, ros::Header &, Buffer &, ChunkedFile &)
Read encrypted header from bag file.
void decryptChunk(ChunkHeader const &, Buffer &, ChunkedFile &) const
Decrypt chunk.
void addFieldsToFileHeader(ros::M_string &) const
Add encryptor information to bag file header.
uint32_t encryptChunk(const uint32_t, const uint64_t, ChunkedFile &)
Encrypt chunk.