Functions | Variables
test_aes_encryptor.cpp File Reference
#include <cstdio>
#include <gtest/gtest.h>
#include <gpgme.h>
#include "std_msgs/String.h"
#include "rosbag/bag.h"
#include "rosbag/aes_encryptor.h"
#include "rosbag/gpgme_utils.h"
#include "rosbag/view.h"
Include dependency graph for test_aes_encryptor.cpp:

Go to the source code of this file.

Functions

void importGpgKey (gpgme_ctx_t &ctx)
 
int main (int argc, char **argv)
 
 TEST (AesCbcEncryptor, EncryptAndDecryptBag)
 

Variables

const char * GPG_KEY_USER = "Foo00"
 
const char * GPG_PRIVATE_SUBKEY
 
const char * MESSAGE = "message foo"
 
const char * TOPIC_NAME = "topic_bar"
 

Function Documentation

◆ importGpgKey()

void importGpgKey ( gpgme_ctx_t &  ctx)

Definition at line 95 of file test_aes_encryptor.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 160 of file test_aes_encryptor.cpp.

◆ TEST()

TEST ( AesCbcEncryptor  ,
EncryptAndDecryptBag   
)

Definition at line 113 of file test_aes_encryptor.cpp.

Variable Documentation

◆ GPG_KEY_USER

const char* GPG_KEY_USER = "Foo00"

Definition at line 48 of file test_aes_encryptor.cpp.

◆ GPG_PRIVATE_SUBKEY

const char* GPG_PRIVATE_SUBKEY

Definition at line 49 of file test_aes_encryptor.cpp.

◆ MESSAGE

const char* MESSAGE = "message foo"

Definition at line 92 of file test_aes_encryptor.cpp.

◆ TOPIC_NAME

const char* TOPIC_NAME = "topic_bar"

Definition at line 93 of file test_aes_encryptor.cpp.



rosbag_storage
Author(s): Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:55