.TH "FBB::CryptBuf" "3bobcat" "2005\-2023" "libbobcat\-dev_6\&.04\&.00" "Base class for DecryptBuf and EncryptBuf" .PP .SH "NAME" FBB::CryptBuf \- std::streambuf derived base class for DecryptBuf and EncryptBuf .PP .SH "SYNOPSIS" \fB#include \fP .br Linking option: \fI\-lbobcat \-lcrypto\fP .PP .SH "DESCRIPTION" This class is deprecated and will be removed from Bobcat in a future release\&. It inherits from \fIFBB::EoiBuf\fP\&. Classes using \fICryptBuf\fP may use \fIEoiBuf\fP instead\&. \fICryptBuf\(cq\&s\fP member \fIEVP_CIPHER const *md()\fP can be implemented as follows: .nf #include EVP_CIPHER const *md(char const *cipherName) { return EVP_CIPHER_fetch(0, cipherName, 0); } .fi .PP .SH "NAMESPACE" \fBFBB\fP .br All constructors, members, operators and manipulators, mentioned in this man\-page, are defined in the namespace \fBFBB\fP\&. .PP .SH "INHERITS FROM" \fIEoiBuf\fP (and thus from: \fIstd::streambuf\fP) .PP .SH "PROTECTED CONSTRUCTOR" .PP Analogously to \fIstd::streambuf\fP only a protected constructor is available\&. .PP .IP o \fBCryptBuf(char const *type, size_t bufSize)\fP: .br The type is a null\-terminated byte string specifying the de/encryption method\&. E\&.g\&., \fIaes\-128\-cbc\fP\&. For an overview see the \fBencryptbuf\fP(3bobcat) man\-page\&. The \fIbufSize\fP parameter defines the initial size of the internally used buffer (defined by \fIEoiBuf\fP)\&. .PP Copy and move constructors (and assignment operators) are not available\&. .PP .SH "PROTECTED MEMBER FUNCTION" .PP All members of \fIstd:streambuf\fP and \fIEoiBuf\fP are available, as \fBFBB::CryptBuf\fP inherits from these classes\&. .PP .IP o \fBEVP_CIPHER const *md() const\fP: .br A pointer to the cipher information is returned\&. .PP .SH "FILES" \fIbobcat/cryptbuf\fP \- defines the class interface .PP .SH "SEE ALSO" \fBbobcat\fP(7), \fBeoibuf\fP(3bobcat), \fBeoi\fP(3bobcat) .PP .SH "BUGS" This class is deprecated and will be removed from Bobcat in a future release\&. .PP .SH "BOBCAT PROJECT FILES" .PP .IP o \fIhttps://fbb\-git\&.gitlab\&.io/bobcat/\fP: gitlab project page; .IP o \fIbobcat_6\&.04\&.00\-x\&.dsc\fP: detached signature; .IP o \fIbobcat_6\&.04\&.00\-x\&.tar\&.gz\fP: source archive; .IP o \fIbobcat_6\&.04\&.00\-x_i386\&.changes\fP: change log; .IP o \fIlibbobcat1_6\&.04\&.00\-x_*\&.deb\fP: debian package containing the libraries; .IP o \fIlibbobcat1\-dev_6\&.04\&.00\-x_*\&.deb\fP: debian package containing the libraries, headers and manual pages; .PP .SH "BOBCAT" Bobcat is an acronym of `Brokken\(cq\&s Own Base Classes And Templates\(cq\&\&. .PP .SH "COPYRIGHT" This is free software, distributed under the terms of the GNU General Public License (GPL)\&. .PP .SH "AUTHOR" Frank B\&. Brokken (\fBf\&.b\&.brokken@rug\&.nl\fP)\&. .PP