FBB::CryptBuf(3bobcat) Base class for DecryptBuf and EncryptBuf FBB::CryptBuf(3bobcat)

FBB::CryptBuf - std::streambuf derived base class for DecryptBuf and EncryptBuf

#include <bobcat/cryptbuf>
Linking option: -lbobcat -lcrypto

This class is deprecated and will be removed from Bobcat in a future release. It inherits from FBB::EoiBuf. Classes using CryptBuf may use EoiBuf instead. CryptBuf’s member EVP_CIPHER const *md() can be implemented as follows:

#include <openssl/evp.h>
EVP_CIPHER const *md(char const *cipherName)
return EVP_CIPHER_fetch(0, cipherName, 0);

All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.

EoiBuf (and thus from: std::streambuf)

Analogously to std::streambuf only a protected constructor is available.

CryptBuf(char const *type, size_t bufSize):
The type is a null-terminated byte string specifying the de/encryption method. E.g., aes-128-cbc. For an overview see the encryptbuf(3bobcat) man-page. The bufSize parameter defines the initial size of the internally used buffer (defined by EoiBuf).

Copy and move constructors (and assignment operators) are not available.

All members of std:streambuf and EoiBuf are available, as FBB::CryptBuf inherits from these classes.

EVP_CIPHER const *md() const:
A pointer to the cipher information is returned.

bobcat/cryptbuf - defines the class interface

bobcat(7), eoibuf(3bobcat), eoi(3bobcat)

This class is deprecated and will be removed from Bobcat in a future release.

https://fbb-git.gitlab.io/bobcat/: gitlab project page;
bobcat_6.02.02-x.dsc: detached signature;
bobcat_6.02.02-x.tar.gz: source archive;
bobcat_6.02.02-x_i386.changes: change log;
libbobcat1_6.02.02-x_*.deb: debian package containing the libraries;
libbobcat1-dev_6.02.02-x_*.deb: debian package containing the libraries, headers and manual pages;

Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.

This is free software, distributed under the terms of the GNU General Public License (GPL).

Frank B. Brokken (f.b.brokken@rug.nl).

2005-2022 libbobcat-dev_6.02.02